Also add a test to verify clang-tidy only apply the first alternative
fix.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
clang-tools-extra/test/clang-tidy/alternative-fixes.cpp | ||
---|---|---|
1–7 ↗ | (On Diff #195692) | Why can't we use the check_clang_tidy script? |
clang-tools-extra/test/clang-tidy/alternative-fixes.cpp | ||
---|---|---|
1–7 ↗ | (On Diff #195692) | 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 ↗ | (On Diff #195720) | This should be Doxygen's \returns keyword. |