mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-15 06:29:05 +00:00
Use a continue to reduce indentation and clang-format. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223067 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -806,7 +806,10 @@ void ModuleLinker::computeTypeMapping() {
|
||||
continue;
|
||||
|
||||
// Check to see if the destination module has a struct with the prefix name.
|
||||
if (StructType *DST = DstM->getTypeByName(ST->getName().substr(0, DotPos)))
|
||||
StructType *DST = DstM->getTypeByName(ST->getName().substr(0, DotPos));
|
||||
if (!DST)
|
||||
continue;
|
||||
|
||||
// Don't use it if this actually came from the source module. They're in
|
||||
// the same LLVMContext after all. Also don't use it unless the type is
|
||||
// actually used in the destination module. This can happen in situations
|
||||
|
Reference in New Issue
Block a user