Also add a test to verify clang-tidy only apply the first alternative
fix.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 30719 Build 30718: arc lint + arc unit
Event Timeline
clang-tools-extra/test/clang-tidy/alternative-fixes.cpp | ||
---|---|---|
2–8 | Why can't we use the check_clang_tidy script? |
clang-tools-extra/test/clang-tidy/alternative-fixes.cpp | ||
---|---|---|
2–8 | Yes, we do. This was blindly copied from other diagnostic tests. |
Comment Actions
There's one more nit. Otherwise good to go.
Thanks!
clang/include/clang/Tooling/Core/Diagnostic.h | ||
---|---|---|
97 | This should be Doxygen's \returns keyword. |
Why can't we use the check_clang_tidy script?