[llvm] e32d061 - [gn build] (manually) port af98b0af6705
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 10 04:15:10 PST 2022
Author: Nico Weber
Date: 2022-03-10T07:14:47-05:00
New Revision: e32d061abe0f8e2fba0e1b7aa44c1b52ecc13acc
URL: https://github.com/llvm/llvm-project/commit/e32d061abe0f8e2fba0e1b7aa44c1b52ecc13acc
DIFF: https://github.com/llvm/llvm-project/commit/e32d061abe0f8e2fba0e1b7aa44c1b52ecc13acc.diff
LOG: [gn build] (manually) port af98b0af6705
Added:
llvm/utils/gn/secondary/clang/lib/Analysis/FlowSensitive/Models/BUILD.gn
Modified:
llvm/utils/gn/secondary/clang/unittests/Analysis/FlowSensitive/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang/lib/Analysis/FlowSensitive/Models/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Analysis/FlowSensitive/Models/BUILD.gn
new file mode 100644
index 0000000000000..71bc2b3cc4d70
--- /dev/null
+++ b/llvm/utils/gn/secondary/clang/lib/Analysis/FlowSensitive/Models/BUILD.gn
@@ -0,0 +1,12 @@
+static_library("Models") {
+ output_name = "clangAnalysisFlowSensitiveModels"
+ configs += [ "//llvm/utils/gn/build:clang_code" ]
+ deps = [
+ "//clang/lib/AST",
+ "//clang/lib/ASTMatchers",
+ "//clang/lib/Analysis",
+ "//clang/lib/Analysis/FlowSensitive",
+ "//clang/lib/Basic",
+ ]
+ sources = [ "UncheckedOptionalAccessModel.cpp" ]
+}
diff --git a/llvm/utils/gn/secondary/clang/unittests/Analysis/FlowSensitive/BUILD.gn b/llvm/utils/gn/secondary/clang/unittests/Analysis/FlowSensitive/BUILD.gn
index d57e7f69f5f20..7ca47791968c7 100644
--- a/llvm/utils/gn/secondary/clang/unittests/Analysis/FlowSensitive/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/unittests/Analysis/FlowSensitive/BUILD.gn
@@ -7,6 +7,7 @@ unittest("ClangAnalysisFlowSensitiveTests") {
"//clang/lib/ASTMatchers",
"//clang/lib/Analysis",
"//clang/lib/Analysis/FlowSensitive",
+ "//clang/lib/Analysis/FlowSensitive/Models",
"//clang/lib/Basic",
"//clang/lib/Frontend",
"//clang/lib/Lex",
@@ -28,5 +29,6 @@ unittest("ClangAnalysisFlowSensitiveTests") {
"TestingSupportTest.cpp",
"TransferTest.cpp",
"TypeErasedDataflowAnalysisTest.cpp",
+ "UncheckedOptionalAccessModelTest.cpp",
]
}
More information about the llvm-commits
mailing list