[PATCH] D75220: [clang-tidy] RenamerClangTidy now correctly renames `using namespace` decls

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 18 07:02:56 PDT 2020


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

LGTM aside from a commenting nit.



================
Comment at: clang-tools-extra/clang-tidy/utils/RenamerClangTidyCheck.cpp:276
+
+    // fix using namespace decls
+    if (const auto *UsingNS = dyn_cast<UsingDirectiveDecl>(Decl)) {
----------------
Comments should be complete sentences with capitalization and punctuation (and you can remove the empty newline above).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75220/new/

https://reviews.llvm.org/D75220





More information about the cfe-commits mailing list