Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions llvm/utils/gn/secondary/clang/lib/Analysis/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ static_library("Analysis") {
"//clang/include/clang/AST:StmtDataCollectors",
"//clang/lib/AST",
"//clang/lib/ASTMatchers",
"//clang/lib/Analysis/LifetimeSafety",
"//clang/lib/Basic",
"//clang/lib/Lex",
"//llvm/lib/Support",
Expand All @@ -27,8 +28,6 @@ static_library("Analysis") {
"FixitUtil.cpp",
"IntervalPartition.cpp",
"IssueHash.cpp",
"LifetimeAnnotations.cpp",
"LifetimeSafety.cpp",
"LiveVariables.cpp",
"MacroExpansionContext.cpp",
"ObjCNoReturn.cpp",
Expand Down
20 changes: 20 additions & 0 deletions llvm/utils/gn/secondary/clang/lib/Analysis/LifetimeSafety/BUILD.gn
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
static_library("LifetimeSafety") {
output_name = "clangLifetimeSafety"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clangAnalysisLifetimeSafety to match cmake.

configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
"//clang/lib/AST",
"//clang/lib/Basic",
"//llvm/lib/Support",
]
sources = [
"Checker.cpp",
"Facts.cpp",
"FactsGenerator.cpp",
"LifetimeAnnotations.cpp",
"LifetimeSafety.cpp",
"LiveOrigins.cpp",
"LoanPropagation.cpp",
"Loans.cpp",
"Origins.cpp",
]
}
Loading