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 a4e18e0 commit 9a2f4bbCopy full SHA for 9a2f4bb
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