[PATCH] D97361: [clang-tidy] Add readability-redundant-using check
Balázs Kéri via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 25 05:57:17 PST 2021
balazske added inline comments.
================
Comment at: clang-tools-extra/test/clang-tidy/checkers/readability-redundant-using.cpp:114
+// CHECK-FIXES: {{^}}
+} // namespace n11
----------------
Add more tests?
```
namespace outer {
namespace inner {
void func();
} // namespace inner
using inner::func();
} // namespace outer
using namespace outer;
using namespace inner;
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97361/new/
https://reviews.llvm.org/D97361
More information about the cfe-commits
mailing list