Details
Details
Diff Detail
Diff Detail
Event Timeline
clang-tidy/performance/NoexceptMoveConstructorCheck.cpp | ||
---|---|---|
57 | Does getParamDecl()->getEndLoc() not give the correct answer? | |
test/clang-tidy/performance-noexcept-move-constructor-fix.cpp | ||
7 | This style of test is a bit loose as it will pass even if the fix-it replaces the entire constructor with the noexcept token. |
clang-tidy/performance/NoexceptMoveConstructorCheck.cpp | ||
---|---|---|
57 | Unfortunately not. In that case C_1(C_1&& a) :C_1(5) {} turns into C_1(C_1&& a noexcept) :C_1(5) {}. instead of C_1(C_1&& a) noexcept :C_1(5) {} |
Does getParamDecl()->getEndLoc() not give the correct answer?