]> granicus.if.org Git - clang/commit
Don't destroy MacroInfos if we find the macro definition is invalid; it'll get
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 3 Aug 2014 23:41:04 +0000 (23:41 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 3 Aug 2014 23:41:04 +0000 (23:41 +0000)
commit997e4c4958c8b4cc9cc5f56ffeb9d2fd3bd96724
tree7439f619b65e31a2f221248708e4e59dc147e621
parentd5699807d5eb810f88559ef49fe6333ad584f9cb
Don't destroy MacroInfos if we find the macro definition is invalid; it'll get
destroyed on shutdown regardless. Fixes a double-delete.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@214675 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/Preprocessor.h
lib/Lex/PPDirectives.cpp
test/Lexer/string-literal-errors.cpp