mirror of
https://github.com/intel/llvm.git
synced 2026-01-27 14:35:18 +08:00
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:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user