[clang] [clang][Sema] Add diagnostic note for reference of function-like macros requiring without parentheses (PR #123495)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 10 09:48:02 PST 2025
================
@@ -128,6 +128,7 @@ Improvements to Clang's diagnostics
which are supposed to only exist once per program, but may get duplicated when
built into a shared library.
- Fixed a bug where Clang's Analysis did not correctly model the destructor behavior of ``union`` members (#GH119415).
+- Clang now provides a diagnostic note for ``function-like macros`` that are missing the required parentheses.
----------------
AaronBallman wrote:
```suggestion
- Clang now provides a diagnostic note for function-like macros that are
missing the required parentheses (#GH123038).
```
https://github.com/llvm/llvm-project/pull/123495
More information about the cfe-commits
mailing list