From: Chris Lattner Date: Tue, 29 Jan 2008 07:59:42 +0000 (+0000) Subject: add diagnostic X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=73bd901764906cc0a9a2aef5f55eeae207bb5743;p=clang add diagnostic git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46504 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticKinds.def b/include/clang/Basic/DiagnosticKinds.def index 81f9b97544..ad628af24f 100644 --- a/include/clang/Basic/DiagnosticKinds.def +++ b/include/clang/Basic/DiagnosticKinds.def @@ -234,6 +234,8 @@ DIAG(err_paste_at_start, ERROR, "\"##\" cannot appear at start of macro expansion") DIAG(err_paste_at_end, ERROR, "\"##\" cannot appear at end of macro expansion") +DIAG(ext_paste_comma, EXTENSION, + "Use of comma pasting extension is non-portable") DIAG(err_unterm_macro_invoc, ERROR, "unterminated function-like macro invocation") DIAG(err_too_many_args_in_macro_invoc, ERROR,