Refactor recording the preprocessor conditional directive regions out of
PreprocessingRecord and into its own class, PPConditionalDirectiveRecord. Decoupling allows a client to use the functionality of PPConditionalDirectiveRecord without needing a PreprocessingRecord. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169229 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Edit/Commit.h 3 additions, 3 deletionsinclude/clang/Edit/Commit.h
- include/clang/Edit/EditedSource.h 6 additions, 4 deletionsinclude/clang/Edit/EditedSource.h
- include/clang/Lex/PPConditionalDirectiveRecord.h 100 additions, 0 deletionsinclude/clang/Lex/PPConditionalDirectiveRecord.h
- include/clang/Lex/PreprocessingRecord.h 1 addition, 64 deletionsinclude/clang/Lex/PreprocessingRecord.h
- include/clang/Lex/Preprocessor.h 1 addition, 1 deletioninclude/clang/Lex/Preprocessor.h
- include/clang/Lex/PreprocessorOptions.h 0 additions, 5 deletionsinclude/clang/Lex/PreprocessorOptions.h
- lib/ARCMigrate/ObjCMT.cpp 11 additions, 8 deletionslib/ARCMigrate/ObjCMT.cpp
- lib/Edit/Commit.cpp 2 additions, 2 deletionslib/Edit/Commit.cpp
- lib/Frontend/CompilerInstance.cpp 1 addition, 1 deletionlib/Frontend/CompilerInstance.cpp
- lib/Lex/PPConditionalDirectiveRecord.cpp 118 additions, 0 deletionslib/Lex/PPConditionalDirectiveRecord.cpp
- lib/Lex/PreprocessingRecord.cpp 2 additions, 99 deletionslib/Lex/PreprocessingRecord.cpp
- lib/Lex/Preprocessor.cpp 2 additions, 3 deletionslib/Lex/Preprocessor.cpp
- lib/Serialization/ASTReader.cpp 2 additions, 2 deletionslib/Serialization/ASTReader.cpp
- unittests/Lex/PPConditionalDirectiveRecordTest.cpp 23 additions, 22 deletionsunittests/Lex/PPConditionalDirectiveRecordTest.cpp
Loading
Please register or sign in to comment