mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 02:00:03 +08:00
Modules: Remove an extra early return, NFC
Remove an early return from an `else` block that's immediately followed by an equivalent early return after the `else` block. Differential Revision: https://reviews.llvm.org/D101671
This commit is contained in:
@@ -1890,8 +1890,6 @@ CompilerInstance::loadModule(SourceLocation ImportLoc,
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user