Skip to content

Commit 33e001e

Browse files
StarOne01Sirraide
andcommitted
Change the note for reference of function-like macros requiring without parentheses
Co-authored-by: Sirraide <[email protected]>
1 parent c274178 commit 33e001e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5962,8 +5962,7 @@ def err_fold_expression_limit_exceeded: Error<
59625962
"limit of %1">, DefaultFatal, NoSFINAE;
59635963

59645964
def note_function_like_macro_requires_parens
5965-
: Note<"'%0' exists, but as a function-like macro; perhaps, did you forget "
5966-
"the parentheses?">;
5965+
: Note<"'%0' is defined here as a function-like macro; did you mean to write '%0(...)'">;
59675966
def err_unexpected_typedef : Error<
59685967
"unexpected type name %0: expected expression">;
59695968
def err_unexpected_namespace : Error<

0 commit comments

Comments
 (0)