summaryrefslogtreecommitdiff
path: root/include/clang/Basic/DiagnosticParseKinds.td
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-01-06 12:54:41 +0000
committerAlp Toker <alp@nuanti.com>2014-01-06 12:54:41 +0000
commite669b01ab1c03039c6b142813d5b26a0356b0f52 (patch)
tree69d7bc025fff5b0dc7152f433f16f9c33dc3be82 /include/clang/Basic/DiagnosticParseKinds.td
parent600d282cf74f13f56389122e1ece07ed24b6c153 (diff)
downloadclang-e669b01ab1c03039c6b142813d5b26a0356b0f52.tar.gz
clang-e669b01ab1c03039c6b142813d5b26a0356b0f52.tar.bz2
clang-e669b01ab1c03039c6b142813d5b26a0356b0f52.tar.xz
Simplify diagnostic tag type using the token kind formatter
As far as the parser is concerned the tag type is always a keyword. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198606 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticParseKinds.td')
-rw-r--r--include/clang/Basic/DiagnosticParseKinds.td3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticParseKinds.td b/include/clang/Basic/DiagnosticParseKinds.td
index 7e9272945c..4ebc29e002 100644
--- a/include/clang/Basic/DiagnosticParseKinds.td
+++ b/include/clang/Basic/DiagnosticParseKinds.td
@@ -627,8 +627,7 @@ def err_typename_refers_to_non_type_template : Error<
def err_expected_type_name_after_typename : Error<
"expected an identifier or template-id after '::'">;
def err_explicit_spec_non_template : Error<
- "explicit %select{specialization|instantiation}0 of non-template "
- "%select{class|struct|union|interface}1 %2">;
+ "explicit %select{specialization|instantiation}0 of non-template %1 %2">;
def err_default_template_template_parameter_not_template : Error<
"default template argument for a template template parameter must be a class "