summaryrefslogtreecommitdiff
path: root/include/clang/Basic/DiagnosticLexKinds.td
diff options
context:
space:
mode:
authorAnastasia Stulova <anastasia.stulova@arm.com>2019-03-26 11:22:37 +0000
committerAnastasia Stulova <anastasia.stulova@arm.com>2019-03-26 11:22:37 +0000
commitf671b140e870f928f1313421b65acff37b8b92ca (patch)
treec2100bf0d7e411f04d6a1bf1e238326db51cb64e /include/clang/Basic/DiagnosticLexKinds.td
parentf469a1cb81189ebb874b4a3317a41bd3af743fde (diff)
downloadclang-f671b140e870f928f1313421b65acff37b8b92ca.tar.gz
[OpenCL] Allow variadic macros as Clang feature.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356987 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticLexKinds.td')
-rw-r--r--include/clang/Basic/DiagnosticLexKinds.td4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticLexKinds.td b/include/clang/Basic/DiagnosticLexKinds.td
index 48d9551d68..bebd4551bc 100644
--- a/include/clang/Basic/DiagnosticLexKinds.td
+++ b/include/clang/Basic/DiagnosticLexKinds.td
@@ -395,8 +395,8 @@ def warn_cxx98_compat_empty_fnmacro_arg : Warning<
def note_macro_here : Note<"macro %0 defined here">;
def note_macro_expansion_here : Note<"expansion of macro %0 requested here">;
-def err_pp_opencl_variadic_macros :
- Error<"variadic macros not supported in OpenCL">;
+def ext_pp_opencl_variadic_macros : Extension<
+ "variadic macros are a Clang extension in OpenCL">;
def err_pp_invalid_directive : Error<"invalid preprocessing directive">;
def err_pp_directive_required : Error<