This is an archive of the discontinued LLVM Phabricator instance.

No nested namespaces in Clang-Tidy checkers
AbandonedPublic

Authored by pi1024e on Jun 25 2020, 2:29 PM.

Details

Summary

A lot of the code, including ironically the nested namespace checker itself, was using "namespace clang { tidy { modernize...", so I put those together for readability as "namespace clang::tidy::modernize"

Diff Detail

Event Timeline

pi1024e created this revision.Jun 25 2020, 2:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 25 2020, 2:29 PM

Isn't that C++17?
LLVM is at C++14.

MaskRay requested changes to this revision.EditedJun 25 2020, 6:33 PM

As the warnings suggest, nested name definitions can't be used because llvm-project is still using C++14.

llvm.org as a reviewer doesn't work. You can use git log and find active contributors for your patches.

Last time you closed a revision manually for a commit I pushed on your behalf - it is not necessary, Phabricator will close a revision automatically if a commit description contains Differential Revision:

This revision now requires changes to proceed.Jun 25 2020, 6:33 PM
pi1024e abandoned this revision.Jul 26 2021, 6:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 26 2021, 6:46 PM