Don't destroy MacroInfos if we find the macro definition is invalid; it'll get
destroyed on shutdown regardless. Fixes a double-delete. llvm-svn: 214675
Showing
- clang/include/clang/Lex/Preprocessor.h 0 additions, 5 deletionsclang/include/clang/Lex/Preprocessor.h
- clang/lib/Lex/PPDirectives.cpp 0 additions, 12 deletionsclang/lib/Lex/PPDirectives.cpp
- clang/test/Lexer/string-literal-errors.cpp 2 additions, 0 deletionsclang/test/Lexer/string-literal-errors.cpp
Loading
Please register or sign in to comment