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 02656bd commit 7eacdd2Copy full SHA for 7eacdd2
clang-tools-extra/clang-tidy/performance/UnnecessaryCopyInitialization.cpp
@@ -328,7 +328,7 @@ void UnnecessaryCopyInitialization::check(
328
if (OldVar == nullptr) {
329
// `auto NewVar = functionCall();`
330
handleCopyFromMethodReturn(Context, ObjectArg);
331
- } else if (FD == nullptr){
+ } else if (FD == nullptr) {
332
// `auto NewVar = OldVar;`
333
handleCopyFromLocalVar(Context, *OldVar);
334
} else {
0 commit comments