commit | 2efecf15a9d8e9d8af6bf3d4e628f7f567f5c2d7 | [log] [tgz] |
---|---|---|
author | Edwin Vane <revane@google.com> | Wed Apr 10 07:40:35 2024 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Apr 10 05:18:03 2024 -0700 |
tree | 71fcf28fe9ecb22667ff18d1e4f916eb80708c0a | |
parent | f29b4c2888ad5fd4f682112729dbb6c8cba2e602 [diff] |
[clang-tidy] Allow renaming macro arguments (#87792) Although the identifier-naming.cpp lit test expected macro arguments not to be renamed, the code seemed to already allow it. The code was simply not being exercised because a SourceManager argument wasn't being provided. With this change, renaming of macro arguments that expand to renamable decls is permitted. GitOrigin-RevId: 8d206f51497fdf1ceebd6430b2f7d31ef735d0dc