]> granicus.if.org Git - clang/commit
In ~Preprocessor(), also cleanup the MacroInfo objects left-over from stray "#pragma...
authorTed Kremenek <kremenek@apple.com>
Tue, 19 Oct 2010 17:40:53 +0000 (17:40 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 19 Oct 2010 17:40:53 +0000 (17:40 +0000)
commite6a7dabdefd328729bdcf15a434108b4c0bc64fb
treeb0cd48959e98438689fdc9f651c06a3dc3c43257
parentb275e3d4069fcc189b33e75a0611a6abd1efd28f
In ~Preprocessor(), also cleanup the MacroInfo objects left-over from stray "#pragma push_macro" uses.  This
fixes a potential memory leak.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116826 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/Preprocessor.cpp
test/Preprocessor/pragma-pushpop-macro.c