]> granicus.if.org Git - clang/commit
Unify diagnostics for type defintitions in bad contexts
authorReid Kleckner <rnk@google.com>
Fri, 11 Dec 2015 21:39:12 +0000 (21:39 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 11 Dec 2015 21:39:12 +0000 (21:39 +0000)
commite43aacb1ea03bef88c640b5029fb9b76cce63afd
tree3117bc38ff9ccb1b4d7adbfe8e79d9679e96af9e
parent7271e6a3578dfaa990ae26affd3efeac43cdee87
Unify diagnostics for type defintitions in bad contexts

The message for a type definition in an "if" condition was different
from the other three for no particular reason.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255372 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaType.cpp
test/SemaCXX/condition.cpp