aboutsummaryrefslogtreecommitdiff
path: root/include/clang
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang')
-rw-r--r--include/clang/Basic/DiagnosticKinds.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticKinds.def b/include/clang/Basic/DiagnosticKinds.def
index 136f6021bb..e07245659e 100644
--- a/include/clang/Basic/DiagnosticKinds.def
+++ b/include/clang/Basic/DiagnosticKinds.def
@@ -472,6 +472,10 @@ DIAG(warn_method_not_found, WARNING,
"method '%0%1' not found (return type defaults to 'id')")
DIAG(warn_method_not_found_in_protocol, WARNING,
"method '%0%1' not found in protocol (return type defaults to 'id')")
+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')")
//===----------------------------------------------------------------------===//
// Semantic Analysis