diff options
author | Chad Rosier <mcrosier@apple.com> | 2011-11-15 18:57:32 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2011-11-15 18:57:32 +0000 |
commit | e35f9ddb4cd5f33b0484c4371290e27b8a0ea485 (patch) | |
tree | ac32305aa0d7fa7503ef5f43f635e6a5e63405cc /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | cc675f410ee44ad6d498c0c9d47f6d040def6f75 (diff) | |
download | bcm5719-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