Skip to content

Commit c5bd68c

Browse files
authored
[gn] Fix after c37c82d (#163227)
1 parent fe00ab4 commit c5bd68c

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

llvm/utils/gn/secondary/clang/lib/Analysis/BUILD.gn

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ static_library("Analysis") {
55
"//clang/include/clang/AST:StmtDataCollectors",
66
"//clang/lib/AST",
77
"//clang/lib/ASTMatchers",
8+
"//clang/lib/Analysis/LifetimeSafety",
89
"//clang/lib/Basic",
910
"//clang/lib/Lex",
1011
"//llvm/lib/Support",
@@ -27,8 +28,6 @@ static_library("Analysis") {
2728
"FixitUtil.cpp",
2829
"IntervalPartition.cpp",
2930
"IssueHash.cpp",
30-
"LifetimeAnnotations.cpp",
31-
"LifetimeSafety.cpp",
3231
"LiveVariables.cpp",
3332
"MacroExpansionContext.cpp",
3433
"ObjCNoReturn.cpp",
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
static_library("LifetimeSafety") {
2+
output_name = "clangAnalysisLifetimeSafety"
3+
configs += [ "//llvm/utils/gn/build:clang_code" ]
4+
deps = [
5+
"//clang/lib/AST",
6+
"//clang/lib/Basic",
7+
"//llvm/lib/Support",
8+
]
9+
sources = [
10+
"Checker.cpp",
11+
"Facts.cpp",
12+
"FactsGenerator.cpp",
13+
"LifetimeAnnotations.cpp",
14+
"LifetimeSafety.cpp",
15+
"LiveOrigins.cpp",
16+
"LoanPropagation.cpp",
17+
"Loans.cpp",
18+
"Origins.cpp",
19+
]
20+
}

0 commit comments

Comments
 (0)