If/else looks nicer when both branches have (or don't have) braces. NFC

llvm-svn: 239834
This commit is contained in:
Douglas Katzman 2015-06-16 18:01:24 +00:00
parent 40baa0aad4
commit 678d0cb146
1 changed files with 2 additions and 1 deletions

View File

@ -1569,8 +1569,9 @@ void Driver::BuildJobsForAction(Compilation &C,
if (Input.getOption().matches(options::OPT_INPUT)) {
const char *Name = Input.getValue();
Result = InputInfo(Name, A->getType(), Name);
} else
} else {
Result = InputInfo(&Input, A->getType(), "");
}
return;
}