Skip to content

Commit 6b18b58

Browse files
committed
[clang][sema] Move the initializer lifetime checking code from
SemaInit.cpp to a new place. NFC This is a refactoring change for better code isolation and reuse, a first step to extend it for assignments.
1 parent 2b5d1fb commit 6b18b58

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)