]> granicus.if.org Git - clang/commit
Provide a slightly specialized diagnostic for tautological comparisons
authorJohn McCall <rjmccall@apple.com>
Wed, 6 Oct 2010 00:25:24 +0000 (00:25 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 6 Oct 2010 00:25:24 +0000 (00:25 +0000)
commit372e103dab4239ec52b65b9eda69fd43c0b348d4
treef662e9cdf7632c21921d44817a4c1dab74534618
parent3ff83dd534ccc828203670ce3f5125a4eb4199f8
Provide a slightly specialized diagnostic for tautological comparisons
of an enum value.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115725 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaChecking.cpp
test/Sema/compare.c