This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] avoid colon in namespace cause false positve
ClosedPublic

Authored by HerrCai0907 on Apr 9 2023, 2:10 PM.

Details

Summary

Refactor the Namespaces with NamespaceDecl[][].
First level stores non nested namepsace.
Second level stores nested namespace.

Diff Detail

Event Timeline

HerrCai0907 created this revision.Apr 9 2023, 2:10 PM
Herald added a project: Restricted Project. · View Herald Transcript
HerrCai0907 requested review of this revision.Apr 9 2023, 2:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 9 2023, 2:10 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
PiotrZSL added inline comments.Apr 9 2023, 10:31 PM
clang-tools-extra/clang-tidy/modernize/ConcatNestedNamespacesCheck.cpp
175

debug log...

PiotrZSL accepted this revision.Apr 10 2023, 1:31 AM

Except above llvm:errs, looks good to me.

This revision is now accepted and ready to land.Apr 10 2023, 1:31 AM

remove debug log

This revision was landed with ongoing or failed builds.Apr 10 2023, 4:43 AM
This revision was automatically updated to reflect the committed changes.