From: Teresa Johnson Date: Mon, 2 Nov 2015 18:03:12 +0000 (+0000) Subject: Clang format a few prior patches (NFC) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a8bffc6b1629ae4bf706c4d549325cc8d5c8796;p=clang Clang format a few prior patches (NFC) I had clang formatted my earlier patches using the wrong style. Reformatted with the LLVM style. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@251813 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp index 603273fdde..425c9151c4 100644 --- a/lib/Driver/Driver.cpp +++ b/lib/Driver/Driver.cpp @@ -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(LTOName) .Case("full", LTOK_Full) diff --git a/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp index e72e4bdcb2..34dfa4f4ec 100644 --- a/lib/Driver/Tools.cpp +++ b/lib/Driver/Tools.cpp @@ -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