projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a033dbb
)
[StatCacheFileSystem] Attempt to fix build
author
Fred Riss
<friss@apple.com>
Wed, 18 Jan 2023 22:46:55 +0000
(14:46 -0800)
committer
Fred Riss
<friss@apple.com>
Wed, 18 Jan 2023 22:46:55 +0000
(14:46 -0800)
Some bots are not happy with the way Error is returned here. Let's see if
std::moving it fixes this.
llvm/lib/Support/StatCacheFileSystem.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/StatCacheFileSystem.cpp
b/llvm/lib/Support/StatCacheFileSystem.cpp
index
96fd32b
..
4633a0d
100644
(file)
--- a/
llvm/lib/Support/StatCacheFileSystem.cpp
+++ b/
llvm/lib/Support/StatCacheFileSystem.cpp
@@
-156,7
+156,7
@@
StatCacheFileSystem::create(std::unique_ptr<MemoryBuffer> CacheBuffer,
uint64_t ValidityToken;
if (auto E = validateCacheFile(*CacheBuffer, BaseDir, IsCaseSensitive,
VersionMatch, ValidityToken))
- return
E
;
+ return
std::move(E)
;
if (!VersionMatch) {
return createStringError(inconvertibleErrorCode(),
CacheBuffer->getBufferIdentifier() +