llvm/llvm-project
在 GitHub 查看clang-tidy: fully qualify names from a given namespace (e.g. clean up `using namespace std;`)
Open
#64,441 建立於 2023年8月4日
check-requestclang-tidygood first issue
倉庫指標
- Star
- (26,378 star)
- PR 合併指標
- (平均合併 1天 2小時) (30 天內合併 1,000 個 PR)
描述
I'd like a clang-tidy check that transforms unqualified names to their fully qualified forms, such that high-level declarations of using namespace foo; could be safely removed.
The leading use case is code that was written with using namespace std; in a common header, and hence lots of declarations that reference standard library types and functions without qualification.