[PATCH] D59492: [OpenCL] Allow variadic macros as Clang feature

Matt Arsenault via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 20 11:31:37 PDT 2019


arsenm added inline comments.


================
Comment at: include/clang/Basic/DiagnosticLexKinds.td:397
+def ext_pp_opencl_variadic_macros : Extension<
+  "variadic macros not supported in OpenCL">;
 
----------------
Maybe rephrase the message now to say it's an extension? The other similar warnings seem to mention "GNU extension" or "Microsoft extensions" or <standard version> extension.

None of them seem to mention "clang" extensions however.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59492/new/

https://reviews.llvm.org/D59492





More information about the cfe-commits mailing list