[PATCH] D147194: [clang-tidy] fix concat-nest-namespace fix hint remove the macro

Congcong Cai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 29 19:09:57 PDT 2023


HerrCai0907 created this revision.
Herald added subscribers: PiotrZSL, carlosgalvezp, xazax.hun.
Herald added a reviewer: njames93.
Herald added a project: All.
HerrCai0907 requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.

remove each namespace except the last non-nest namespace,
replace the last non-nest namespace with the new name.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D147194

Files:
  clang-tools-extra/clang-tidy/modernize/ConcatNestedNamespacesCheck.cpp
  clang-tools-extra/clang-tidy/modernize/ConcatNestedNamespacesCheck.h
  clang-tools-extra/test/clang-tidy/checkers/modernize/Inputs/concat-nested-namespaces/modernize-concat-nested-namespaces.h
  clang-tools-extra/test/clang-tidy/checkers/modernize/concat-nested-namespaces.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147194.509531.patch
Type: text/x-patch
Size: 8678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230330/bd2bc841/attachment.bin>


More information about the cfe-commits mailing list