[clang-tools-extra] [clang-tidy] Allow renaming macro arguments (PR #87792)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 8 11:48:40 PDT 2024


carlosgalvezp wrote:

> the user may not have the ability to change the definition of the macro to be able to appease the check

My understanding of this PR is that the user would only need to change what they pass into the macro, not the macro itself, or? E.g.

```cpp
-MY_MACRO(foo)
+MY_MACRO(g_foo)
```

https://github.com/llvm/llvm-project/pull/87792


More information about the cfe-commits mailing list