diff options
author | John McCall <rjmccall@apple.com> | 2010-05-18 03:19:21 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-05-18 03:19:21 +0000 |
commit | 0fb97083cc0f8a82e404e22991ae80d2216e71d5 (patch) | |
tree | 9c5ffcd437723ebc05280aaa50ab7b6f50b4278e /lib/CodeGen/CodeGenTypes.h | |
parent | 6362b893731ccf4480a96527db9e55e04b801503 (diff) |
If a switch condition is constant, don't warn about missing enum cases.
If a switch condition is constant, warn if there's no case for it.
Constant switch conditions do come up in reasonable template code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104010 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenTypes.h')
0 files changed, 0 insertions, 0 deletions