diff options
author | Alp Toker <alp@nuanti.com> | 2013-12-30 01:59:29 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2013-12-30 01:59:29 +0000 |
commit | fb6edef8552edd84bd04df0dca5a543cd5e88943 (patch) | |
tree | 934c86a7cdfb34007a36d9a93977ca73c0afc2a1 /include/clang/Basic/DiagnosticLexKinds.td | |
parent | 4eabbac65ae4437c501ab29bb36ae5215e3689c8 (diff) |
Cleanup: Switch the preprocessor to err_pp_expected_after
This is approaching consistency but the PP and Parse categories they still have
slightly different wording:
def err_pp_expected_after : Error<"missing %1 after %0">;
def err_expected_after : Error<"expected %1 after %0">;
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198189 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticLexKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticLexKinds.td | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticLexKinds.td b/include/clang/Basic/DiagnosticLexKinds.td index 136ac705c2..0edf376c52 100644 --- a/include/clang/Basic/DiagnosticLexKinds.td +++ b/include/clang/Basic/DiagnosticLexKinds.td @@ -380,8 +380,7 @@ def err_pp_expected_eol : Error< "expected end of line in preprocessor expression">; def err_pp_defined_requires_identifier : Error< "operator 'defined' requires an identifier">; -def err_pp_missing_lparen : Error<"missing '(' after '%0'">; -def err_pp_missing_rparen : Error<"missing ')' after '%0'">; +def err_pp_expected_after : Error<"missing %1 after %0">; def err_pp_colon_without_question : Error<"':' without preceding '?'">; def err_pp_division_by_zero : Error< "division by zero in preprocessor expression">; |