summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-11-15 18:57:32 +0000
committerChad Rosier <mcrosier@apple.com>2011-11-15 18:57:32 +0000
commite35f9ddb4cd5f33b0484c4371290e27b8a0ea485 (patch)
treeac32305aa0d7fa7503ef5f43f635e6a5e63405cc /clang/lib/Frontend/CompilerInvocation.cpp
parentcc675f410ee44ad6d498c0c9d47f6d040def6f75 (diff)
downloadbcm5719-llvm-e35f9ddb4cd5f33b0484c4371290e27b8a0ea485.tar.gz
bcm5719-llvm-e35f9ddb4cd5f33b0484c4371290e27b8a0ea485.zip
Fix a regression from 143657. The second pass of the warning options should only be emitting
warnings/errors for unknown warning options. getDiagnosticsInGroup returns false if the diagnostics is found and true otherwise. Thus, if we're reporting and we have a valid diagnostic, we were actually setting the flag and causing mayhem. rdar://10444207 llvm-svn: 144670
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud