We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9175d7 commit aef2d00Copy full SHA for aef2d00
neg-tests/RemoveConstReturnByValueTest.cpp
@@ -17,6 +17,7 @@ TEST(RemoveConstReturnByValueTest_Neg, AutoRef) {
17
auto& temp = GetStr();
18
// Fixable by removing the referene
19
//auto temp = GetStr();
20
+ (void)temp;
21
}
22
23
// #2 The returned variable was a Base class, and also used inside a ternary operator
0 commit comments