[PATCH] D124819: [bazel] Add test targets for dataflow framework
Eric Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 3 07:09:43 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rGaaddfbf9d6a9: [bazel] Add test targets for dataflow framework (authored by li.zhe.hua).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124819/new/
https://reviews.llvm.org/D124819
Files:
utils/bazel/llvm-project-overlay/clang/BUILD.bazel
utils/bazel/llvm-project-overlay/clang/unittests/BUILD.bazel
Index: utils/bazel/llvm-project-overlay/clang/unittests/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/clang/unittests/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/clang/unittests/BUILD.bazel
@@ -116,6 +116,31 @@
],
)
+cc_test(
+ name = "analysis_flow_sensitive_tests",
+ srcs = glob(
+ [
+ "Analysis/FlowSensitive/*.cpp",
+ "Analysis/FlowSensitive/*.h",
+ ],
+ allow_empty = False,
+ ),
+ deps = [
+ "//clang:analysis",
+ "//clang:ast",
+ "//clang:ast_matchers",
+ "//clang:basic",
+ "//clang:lex",
+ "//clang:serialization",
+ "//clang:tooling",
+ "//llvm:Support",
+ "//llvm:TestingSupport",
+ "//llvm:gmock",
+ "//llvm:gtest",
+ "//llvm:gtest_main",
+ ],
+)
+
cc_test(
name = "basic_tests",
size = "small",
Index: utils/bazel/llvm-project-overlay/clang/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/clang/BUILD.bazel
@@ -781,6 +781,8 @@
cc_library(
name = "analysis",
srcs = glob([
+ "lib/Analysis/FlowSensitive/Models/*.cpp",
+ "lib/Analysis/FlowSensitive/*.cpp",
"lib/Analysis/*.cpp",
"lib/Analysis/*.h",
]),
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124819.426698.patch
Type: text/x-patch
Size: 1424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220503/0c97aff0/attachment.bin>
More information about the llvm-commits
mailing list