aboutsummaryrefslogtreecommitdiff
path: root/utils/bazel/llvm-project-overlay/clang-tools-extra/clang-query/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'utils/bazel/llvm-project-overlay/clang-tools-extra/clang-query/BUILD.bazel')
-rw-r--r--utils/bazel/llvm-project-overlay/clang-tools-extra/clang-query/BUILD.bazel28
1 files changed, 28 insertions, 0 deletions
diff --git a/utils/bazel/llvm-project-overlay/clang-tools-extra/clang-query/BUILD.bazel b/utils/bazel/llvm-project-overlay/clang-tools-extra/clang-query/BUILD.bazel
new file mode 100644
index 0000000..05fcbf7
--- /dev/null
+++ b/utils/bazel/llvm-project-overlay/clang-tools-extra/clang-query/BUILD.bazel
@@ -0,0 +1,28 @@
+# This file is licensed under the Apache License v2.0 with LLVM Exceptions.
+# See https://llvm.org/LICENSE.txt for license information.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+
+load("@rules_cc//cc:defs.bzl", "cc_library")
+
+package(
+ default_visibility = ["//visibility:public"],
+ features = ["layering_check"],
+)
+
+licenses(["notice"])
+
+cc_library(
+ name = "lib",
+ srcs = glob(["*.cpp"]),
+ hdrs = glob(["*.h"]),
+ deps = [
+ "//clang:ast",
+ "//clang:ast_matchers",
+ "//clang:ast_matchers_dynamic",
+ "//clang:basic",
+ "//clang:frontend",
+ "//clang:serialization",
+ "//llvm:LineEditor",
+ "//llvm:Support",
+ ],
+)