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 bc4fb61 commit 6709c91Copy full SHA for 6709c91
clang/tools/clang-scan-deps/ClangScanDeps.cpp
@@ -308,8 +308,7 @@ class ResourceDirectoryCache {
308
return "";
309
StringRef Output = OutputBuf.get()->getBuffer().rtrim('\n');
310
311
- Cache[ClangBinaryPath] = Output.str();
312
- return Cache[ClangBinaryPath];
+ return Cache[ClangBinaryPath] = Output.str();
313
}
314
315
private:
0 commit comments