It introduces some false positives which are non-trivial to fix.
Ignore running the check in C++17.
Details
Details
- Reviewers
ilya-biryukov
Diff Detail
Diff Detail
- Repository
- rCTE Clang Tools Extra
- Build Status
Buildable 21768 Build 21768: arc lint + arc unit
Event Timeline
| clang-tidy/misc/UnusedUsingDeclsCheck.cpp | ||
|---|---|---|
| 35 | Isn't the check for getLangOpts().CPlusPlus2a redundant? Shouldn't it imply the C++17 flag? | |
| clang-tidy/misc/UnusedUsingDeclsCheck.cpp | ||
|---|---|---|
| 35 | Didn't notice it. Yeah, you are right. If CPlusCplus2a also indicates C++17. | |
| test/clang-tidy/misc-unused-using-decls-cxx17.cpp | ||
|---|---|---|
| 1 | why gnu++17 and not standard? | |
Isn't the check for getLangOpts().CPlusPlus2a redundant? Shouldn't it imply the C++17 flag?