r251813 - Clang format a few prior patches (NFC)
Teresa Johnson via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 2 10:03:12 PST 2015
Author: tejohnson
Date: Mon Nov 2 12:03:12 2015
New Revision: 251813
URL: http://llvm.org/viewvc/llvm-project?rev=251813&view=rev
Log:
Clang format a few prior patches (NFC)
I had clang formatted my earlier patches using the wrong style.
Reformatted with the LLVM style.
Modified:
cfe/trunk/lib/Driver/Driver.cpp
cfe/trunk/lib/Driver/Tools.cpp
Modified: cfe/trunk/lib/Driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=251813&r1=251812&r2=251813&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Mon Nov 2 12:03:12 2015
@@ -378,7 +378,8 @@ void Driver::setLTOMode(const llvm::opt:
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)
Modified: cfe/trunk/lib/Driver/Tools.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=251813&r1=251812&r2=251813&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Tools.cpp (original)
+++ cfe/trunk/lib/Driver/Tools.cpp Mon Nov 2 12:03:12 2015
@@ -1672,7 +1672,8 @@ static void AddGoldPlugin(const ToolChai
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
More information about the cfe-commits
mailing list