llvm/llvm-project

clang-tidy: fully qualify names from a given namespace (e.g. clean up `using namespace std;`)

Open

#64,441 opened on 2023年8月4日

GitHub で見る
 (13 comments) (0 reactions) (1 assignee)C++ (10,782 forks)batch import
check-requestclang-tidygood first issue

Repository metrics

Stars
 (26,378 stars)
PR merge metrics
 (平均マージ 1d 2h) (30d で 1,000 merged PRs)

説明

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.

コントリビューターガイド