aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/ExprConstant.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2009-02-20 01:34:21 +0000
committerEli Friedman <eli.friedman@gmail.com>2009-02-20 01:34:21 +0000
commitda153239bb6e69722fdd82914e729bb39f5821c5 (patch)
treed9fdcb4a413111b5f505c94bb9c7f6e1d4076bc2 /lib/AST/ExprConstant.cpp
parent5e187a16f7d15f1d020798fb7e5242e28a8209ed (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