[MachO] Add a couple of missing braces.
Differential Revision: https://reviews.llvm.org/D21979 llvm-svn: 276213
This commit is contained in:
parent
0e0e2d5d26
commit
fbcf69587e
|
@ -739,9 +739,10 @@ bool parse(llvm::ArrayRef<const char *> args, MachOLinkingContext &ctx,
|
|||
}
|
||||
break;
|
||||
case MachOLinkingContext::OS::iOS_simulator:
|
||||
if (pie->getOption().getID() == OPT_no_pie)
|
||||
if (pie->getOption().getID() == OPT_no_pie) {
|
||||
diagnostics << "iOS simulator programs must be built PIE\n";
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
case MachOLinkingContext::OS::unknown:
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue