summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDecl.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-11-03 20:28:19 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-11-03 20:28:19 +0000
commitf50f7b2c6553c871bb7e2c9b278beadf973a9135 (patch)
treea7e3e9b20e9e2aac0a743ce646c8da54d65cd09f /clang/lib/CodeGen/CGDecl.cpp
parented4cc4432f6d275dc84150e7a2d8d064532d9de8 (diff)
downloadbcm5719-llvm-f50f7b2c6553c871bb7e2c9b278beadf973a9135.tar.gz
bcm5719-llvm-f50f7b2c6553c871bb7e2c9b278beadf973a9135.zip
[libclang] Fix crash when a #pragma diagnostic is included in the preamble.
A PCH file keeps track of #pragma diagnostics state; when loading the preamble, they conflicted with the #pragma diagnostic state already present in the DiagnosticsEngine object due to parsing the preamble. Fix this by clearing the state of the DiagnosticsEngine object. Fixes rdar://10363572 && http://llvm.org/PR11254. llvm-svn: 143644
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud