summaryrefslogtreecommitdiffstats
path: root/clang/include/clang/Basic/DiagnosticKinds.def
diff options
context:
space:
mode:
Diffstat (limited to 'clang/include/clang/Basic/DiagnosticKinds.def')
-rw-r--r--clang/include/clang/Basic/DiagnosticKinds.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/include/clang/Basic/DiagnosticKinds.def b/clang/include/clang/Basic/DiagnosticKinds.def
index 70acbbcc74d..289f770ec69 100644
--- a/clang/include/clang/Basic/DiagnosticKinds.def
+++ b/clang/include/clang/Basic/DiagnosticKinds.def
@@ -476,6 +476,8 @@ DIAG(err_collection_expr_type, ERROR,
"collection expression is not of valid object type (its type is '%0')")
DIAG(err_selector_element_type, ERROR,
"selector element is not of valid object type (its type is '%0')")
+DIAG(err_toomany_element_decls, ERROR,
+ "Only one element declaration is allowed")
//===----------------------------------------------------------------------===//
// Semantic Analysis
OpenPOWER on IntegriCloud