do a dance with predefines, and finally enable reading of macros from
PCH. This works now, except for limitations not being able to do things with identifiers. The basic example in the testcase works though. llvm-svn: 68832
Showing
- clang/include/clang/Lex/Preprocessor.h 1 addition, 1 deletionclang/include/clang/Lex/Preprocessor.h
- clang/lib/Frontend/PCHReader.cpp 6 additions, 4 deletionsclang/lib/Frontend/PCHReader.cpp
- clang/lib/Lex/Preprocessor.cpp 1 addition, 1 deletionclang/lib/Lex/Preprocessor.cpp
- clang/test/PCH/variables.c 3 additions, 0 deletionsclang/test/PCH/variables.c
- clang/test/PCH/variables.h 1 addition, 0 deletionsclang/test/PCH/variables.h
- clang/tools/clang-cc/clang-cc.cpp 10 additions, 6 deletionsclang/tools/clang-cc/clang-cc.cpp
Loading
Please register or sign in to comment