diff options
author | Teresa Johnson <tejohnson@google.com> | 2015-11-02 18:03:12 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2015-11-02 18:03:12 +0000 |
commit | 6ef80dc1e15e1dfdcf03469bd67674697b58ade3 (patch) | |
tree | 46d73cbfcc154d8376adbef28d88dd2befc86f49 | |
parent | f72278f051552eb4dc90a870fece327d77801fe4 (diff) | |
download | bcm5719-llvm-6ef80dc1e15e1dfdcf03469bd67674697b58ade3.tar.gz bcm5719-llvm-6ef80dc1e15e1dfdcf03469bd67674697b58ade3.zip |
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
-rw-r--r-- | clang/lib/Driver/Driver.cpp | 3 | ||||
-rw-r--r-- | clang/lib/Driver/Tools.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp index 603273fdde2..425c9151c4f 100644 --- a/clang/lib/Driver/Driver.cpp +++ b/clang/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<LTOKind>(LTOName) .Case("full", LTOK_Full) diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index e72e4bdcb22..34dfa4f4ecf 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/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 |