The check previously inspected only the immediate parent namespace.
static in a named namespace within an unnamed namespace is still redundant.
We will use Decl::isInAnonymousNamespace() method that traverses the
namespaces hierarchy recursively.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
If there is an open github issue on this, please put "Fixes #nnnn" in the commit description before pushing.
Comment Actions
Thanks! I didn't file a github issue. Just searched on github - no one else did it either.
I don't have commit access, so this review could be commited by someone else if that's okay.
If someone is willing to do it, kindly please do it on my behalf =) My name is Evgeny Shulgin, email izaronplatz@gmail.com