summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-12-05 22:52:07 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-12-05 22:52:07 +0000
commit8840fa855077e6be0897260d355c29e52bcbf27d (patch)
treee3981dfc35119aa8aed12d92bd830e63092cd091 /lib/CodeGen/CGExpr.cpp
parentc3ed6328a2332dd84a476a2a1ba2fcafd741ed76 (diff)
downloadclang-8840fa855077e6be0897260d355c29e52bcbf27d.tar.gz
clang-8840fa855077e6be0897260d355c29e52bcbf27d.tar.bz2
clang-8840fa855077e6be0897260d355c29e52bcbf27d.tar.xz
Allow the warning 'case value not in enumerated type' to be silenced with
the following pattern. If 'case' expression refers to a static const variable of the correct enum type, then we count this as a sufficient declaration of intent by the user, so we silence the warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196546 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions