[PATCH] D82059: [clang-tidy] RenamerClangTidy group redecls into 1 warning.
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 18 07:02:42 PDT 2020
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM!
================
Comment at: clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp:383
+ {
+ const auto *Canonical = cast<NamedDecl>(Decl->getCanonicalDecl());
----------------
No need to introduce a new local scope here (there's no RAII for it to matter).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82059/new/
https://reviews.llvm.org/D82059
More information about the cfe-commits
mailing list