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 1ede4fd8154..b6958540be9 100644
--- a/clang/include/clang/Basic/DiagnosticKinds.def
+++ b/clang/include/clang/Basic/DiagnosticKinds.def
@@ -449,6 +449,8 @@ DIAG(err_ocuvector_component_exceeds_length, ERROR,
"vector component access exceeds type '%0'")
DIAG(err_ocuvector_component_name_illegal, ERROR,
"illegal vector component name '%0'")
+DIAG(err_ocuvector_component_access, ERROR,
+ "vector component access limited to variables")
// Function Parameter Semantic Analysis.
DIAG(err_param_with_void_type, ERROR,
OpenPOWER on IntegriCloud