[PATCH] D77586: Allow parameter names to be elided in a function definition in C

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 7 11:23:17 PDT 2020


rsmith accepted this revision.
rsmith added inline comments.


================
Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:278
   "parameter name cannot have template arguments">;
-def err_parameter_name_omitted : Error<"parameter name omitted">;
+def ext_parameter_name_ommitted_c2x : ExtWarn<
+  "omitting the parameter name in a function definition is a C2x extension">,
----------------
Why the extra "m"? This was spelled correctly before.


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

https://reviews.llvm.org/D77586





More information about the cfe-commits mailing list