summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2017-05-03 00:28:49 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2017-05-03 00:28:49 +0000
commite37391c4fe6d169b7c265a69d0291760dc159b4d (patch)
tree292054d4430504f590252f1a3b0bd2b6013db5f6 /clang/lib/Frontend/CompilerInvocation.cpp
parente95901caa41d4836b86241fd0a8db94dde0ca557 (diff)
downloadbcm5719-llvm-e37391c4fe6d169b7c265a69d0291760dc159b4d.tar.gz
bcm5719-llvm-e37391c4fe6d169b7c265a69d0291760dc159b4d.zip
[modules] Round-trip -Werror flag through explicit module build.
The intent for an explicit module build is that the diagnostics produced within the module are those that were configured when the module was built, not those that are enabled within a user of the module. This includes diagnostics that don't actually show up until the module is used (for instance, diagnostics produced during template instantiation and weird cases like -Wpadded). We serialized and restored the diagnostic state for individual warning groups, but previously did not track the state for flags like -Werror and -Weverything, which are implemented as separate bits rather than as part of the diagnostics mapping information. llvm-svn: 301992
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud