Skip to content

Commit 0bcec71

Browse files
hokeinAlexisPerry
authored andcommitted
[clang][Sema] Move the initializer lifetime checking code from SemaInit.cpp to a new place, NFC (llvm#96758)
This is a refactoring change for better code isolation and reuse, the first step to extend it for assignments.
1 parent 11f97a7 commit 0bcec71

File tree

4 files changed

+1291
-1230
lines changed

4 files changed

+1291
-1230
lines changed

clang/lib/Sema/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ clang_tablegen(OpenCLBuiltins.inc -gen-clang-opencl-builtins
1515

1616
add_clang_library(clangSema
1717
AnalysisBasedWarnings.cpp
18+
CheckExprLifetime.cpp
1819
CodeCompleteConsumer.cpp
1920
DeclSpec.cpp
2021
DelayedDiagnostic.cpp

0 commit comments

Comments
 (0)