[PATCH] D77586: Allow parameter names to be elided in a function definition in C
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 7 11:56:11 PDT 2020
aaron.ballman closed this revision.
aaron.ballman marked an inline comment as done.
aaron.ballman added a comment.
I've committed in 86b5eabfeab164dcb680f6690e7718e3d21ceeb5 <https://reviews.llvm.org/rG86b5eabfeab164dcb680f6690e7718e3d21ceeb5>
================
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">,
----------------
rsmith wrote:
> Why the extra "m"? This was spelled correctly before.
I fat-fingered that, good catch! I've corrected the issue in the commit.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77586/new/
https://reviews.llvm.org/D77586
More information about the cfe-commits
mailing list