missing parenthesis for function-like macro invocation could have better diagnostic #123038
Labels
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
good first issue
https://github.com/llvm/llvm-project/contribute
Consider:
The compiler will error because we forgot to use parens for
FOO
:It would be nice if the compiler diagnostic included a note pointing out that
FOO
does exist, but as a function-like macro it requires parenthesis.The text was updated successfully, but these errors were encountered: