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)
commit436745143a96b53f389aa54e5d714c6bb9f156a3
treeafbae3f7687f46a2d79a32d6da7990c3a9a03316
parent6ee53bc0850c80287a6c5905af0ffd2101513021
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.

llvm-svn: 255372
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/Sema/SemaType.cpp
clang/test/SemaCXX/condition.cpp