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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 9 07:41:04 PDT 2024


AaronBallman wrote:

> Using the suggested code and this one usage:
> 
> ```
> MY_MACRO(myglob);
> ```
> 
> No suggestion is made. My understanding is because the full range of the NamedDecl would contain `awesome_myglob` which isn't entirely within a macro arg.

Oh, awesome, thank you for trying that out! Then no complaints from me. :-)

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


More information about the cfe-commits mailing list