Clang format a few prior patches (NFC)

I had clang formatted my earlier patches using the wrong style.
Reformatted with the LLVM style.

llvm-svn: 251813
This commit is contained in:
Teresa Johnson
2015-11-02 18:03:12 +00:00
parent f72278f051
commit 6ef80dc1e1
2 changed files with 4 additions and 2 deletions

View File

@@ -378,7 +378,8 @@ void Driver::setLTOMode(const llvm::opt::ArgList &Args) {
StringRef LTOName("full");
const Arg *A = Args.getLastArg(options::OPT_flto_EQ);
if (A) LTOName = A->getValue();
if (A)
LTOName = A->getValue();
LTOMode = llvm::StringSwitch<LTOKind>(LTOName)
.Case("full", LTOK_Full)

View File

@@ -1672,7 +1672,8 @@ static void AddGoldPlugin(const ToolChain &ToolChain, const ArgList &Args,
if (!CPU.empty())
CmdArgs.push_back(Args.MakeArgString(Twine("-plugin-opt=mcpu=") + CPU));
if (IsThinLTO) CmdArgs.push_back("-plugin-opt=thinlto");
if (IsThinLTO)
CmdArgs.push_back("-plugin-opt=thinlto");
}
/// This is a helper function for validating the optional refinement step