diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-02-20 01:34:21 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-02-20 01:34:21 +0000 |
commit | da153239bb6e69722fdd82914e729bb39f5821c5 (patch) | |
tree | d9fdcb4a413111b5f505c94bb9c7f6e1d4076bc2 /lib/AST/ExprConstant.cpp | |
parent | 5e187a16f7d15f1d020798fb7e5242e28a8209ed (diff) |
Suppress constant initializer checking when the declaration isn't valid.
This prevents emitting diagnostics which are almost certainly useless.
(Note that the test is checking that we emit only one diagnostic.)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65101 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ExprConstant.cpp')
0 files changed, 0 insertions, 0 deletions