[PATCH] D101671: Modules: Remove an extra early return, NFC
Duncan P. N. Exon Smith via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 3 10:50:33 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG64a390c1bc75: Modules: Remove an extra early return, NFC (authored by dexonsmith).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101671/new/
https://reviews.llvm.org/D101671
Files:
clang/lib/Frontend/CompilerInstance.cpp
Index: clang/lib/Frontend/CompilerInstance.cpp
===================================================================
--- clang/lib/Frontend/CompilerInstance.cpp
+++ clang/lib/Frontend/CompilerInstance.cpp
@@ -1890,8 +1890,6 @@
return Result;
Module = Result;
MM.cacheModuleLoad(*Path[0].first, Module);
- if (!Module)
- return Module;
}
// If we never found the module, fail. Otherwise, verify the module and link
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101671.342464.patch
Type: text/x-patch
Size: 446 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210503/9ece3f76/attachment.bin>
More information about the cfe-commits
mailing list