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.def7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/include/clang/Basic/DiagnosticKinds.def b/clang/include/clang/Basic/DiagnosticKinds.def
index e9dbad94b67..09b24ad8184 100644
--- a/clang/include/clang/Basic/DiagnosticKinds.def
+++ b/clang/include/clang/Basic/DiagnosticKinds.def
@@ -200,6 +200,13 @@ DIAG(err_pp_duplicate_name_in_arg_list, ERROR,
"duplicate macro parameter name %0")
DIAG(err_pp_stringize_not_parameter, ERROR,
"'#' is not followed by a macro parameter")
+DIAG(err_pp_line_requires_integer, ERROR,
+ "#line directive requires a positive integer argument")
+DIAG(err_pp_line_invalid_filename, ERROR,
+ "invalid filename for #line directive")
+DIAG(ext_pp_line_too_big, EXTENSION,
+ "C requires #line number to be less than %0, allowed as extension")
+
DIAG(err_pp_malformed_ident, ERROR,
"invalid #ident directive")
DIAG(err_pp_unterminated_conditional, ERROR,
OpenPOWER on IntegriCloud