[clang-tools-extra] [clang-tidy][NFC] Don't qualify names unless strictly necessary (PR #185169)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 11 05:12:40 PDT 2026
================
@@ -15,17 +15,17 @@ namespace custom {
// will changed dynamically when switching to different source file.
static void registerCustomChecks(const ClangTidyOptions &Options,
ClangTidyCheckFactories &Factories) {
- static llvm::SmallSet<llvm::SmallString<32>, 8> CustomCheckNames{};
+ static llvm::SmallSet<SmallString<32>, 8> CustomCheckNames{};
----------------
vbvictor wrote:
Yes, DenseMap + SmallSet (or maybe all other containers in LLVM) could be made "widely known".
I bet when people added them, they just didn't updated the list. Or there could have concrete rationale why they are kept with `llvm::` prefix
https://github.com/llvm/llvm-project/pull/185169
More information about the cfe-commits
mailing list