set up the machinery for a MacroArgs cache hanging off Preprocessor.
We creating and free thousands of MacroArgs objects (and the related std::vectors hanging off them) for the testcase in PR5610 even though there are only ~20 live at a time. This doesn't actually use the cache yet. llvm-svn: 91391
Showing
- clang/include/clang/Lex/Preprocessor.h 8 additions, 2 deletionsclang/include/clang/Lex/Preprocessor.h
- clang/lib/Lex/MacroArgs.cpp 13 additions, 0 deletionsclang/lib/Lex/MacroArgs.cpp
- clang/lib/Lex/MacroArgs.h 10 additions, 1 deletionclang/lib/Lex/MacroArgs.h
- clang/lib/Lex/Preprocessor.cpp 6 additions, 1 deletionclang/lib/Lex/Preprocessor.cpp
Loading
Please register or sign in to comment