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 | 496cc8eae2c69b8fd36a2b3e815dd0e8207ec493 (patch) | |
tree | f05dac46a2caed10667292ff4d6e5824f10d6b1f /lib/CodeGen/CodeGenFunction.h | |
parent | 2d9eb21325a0854e86de7344f54a8e6cef2a97ad (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144670 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions