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.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/include/clang/Basic/DiagnosticKinds.def b/clang/include/clang/Basic/DiagnosticKinds.def
index 23825365656..658c61b9861 100644
--- a/clang/include/clang/Basic/DiagnosticKinds.def
+++ b/clang/include/clang/Basic/DiagnosticKinds.def
@@ -264,6 +264,12 @@ DIAG(err_expected_ident_lparen, ERROR,
"expected identifier or '('")
DIAG(err_expected_rparen, ERROR,
"expected ')'")
+DIAG(err_expected_semi_knr_fn_body, ERROR,
+ "expected ';' at end of K&R-style function argument declaration list")
+DIAG(err_expected_fn_body, ERROR,
+ "expected function body after function declarator")
+DIAG(err_expected_after_declarator, ERROR,
+ "expected '=', ',', ';', 'asm', or '__attribute__' after declarator")
/// err_matching - this is used as a continuation of a previous error, e.g. to
/// specify the '(' when we expected a ')'. This should probably be some
OpenPOWER on IntegriCloud