Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clang-tidy] Fix nested namespaces in `readability-static-definition-…
…in-anonymous-namespace` check 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. Differential Revision: https://reviews.llvm.org/D118010
- Loading branch information
1 parent
ecb5023
commit 836950c
Showing
3 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters