diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2014-05-11 01:04:02 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2014-05-11 01:04:02 +0000 |
| commit | e8e53116f8ce9b10a6f96e4f604bdfa473e2be1b (patch) | |
| tree | 768485320089586de713d38cadc5648a0cc817d5 /clang/lib/Driver/Tools.cpp | |
| parent | 7aeab6022f9d14fa94c812fab3d119b0bbdbf71e (diff) | |
| download | bcm5719-llvm-e8e53116f8ce9b10a6f96e4f604bdfa473e2be1b.tar.gz bcm5719-llvm-e8e53116f8ce9b10a6f96e4f604bdfa473e2be1b.zip | |
Wrap at 80 columns. No code change.
llvm-svn: 208485
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
| -rw-r--r-- | clang/lib/Driver/Tools.cpp | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index 2ab7ea3fded..ec870aff155 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -1646,7 +1646,8 @@ namespace { }; } // end anonymous namespace. -// exceptionSettings() exists to share the logic between -cc1 and linker invocations. +// exceptionSettings() exists to share the logic between -cc1 and linker +// invocations. static ExceptionSettings exceptionSettings(const ArgList &Args, const llvm::Triple &Triple) { ExceptionSettings ES; @@ -2118,7 +2119,8 @@ static const char *SplitDebugName(const ArgList &Args, return Args.MakeArgString(T); } else { // Use the compilation dir. - SmallString<128> T(Args.getLastArgValue(options::OPT_fdebug_compilation_dir)); + SmallString<128> T( + Args.getLastArgValue(options::OPT_fdebug_compilation_dir)); SmallString<128> F(llvm::sys::path::stem(Inputs[0].getBaseInput())); llvm::sys::path::replace_extension(F, "dwo"); T += F; @@ -2209,7 +2211,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, ArgStringList CmdArgs; bool IsWindowsGNU = getToolChain().getTriple().isWindowsGNUEnvironment(); - bool IsWindowsCygnus = getToolChain().getTriple().isWindowsCygwinEnvironment(); + bool IsWindowsCygnus = + getToolChain().getTriple().isWindowsCygwinEnvironment(); bool IsWindowsMSVC = getToolChain().getTriple().isWindowsMSVCEnvironment(); assert(Inputs.size() == 1 && "Unable to handle multiple inputs."); @@ -2231,7 +2234,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, unsigned Version; TT.getArchName().substr(Offset).getAsInteger(10, Version); if (Version < 7) - D.Diag(diag::err_target_unsupported_arch) << TT.getArchName() << TripleStr; + D.Diag(diag::err_target_unsupported_arch) << TT.getArchName() + << TripleStr; } // Push all default warning arguments that are specific to @@ -2346,8 +2350,9 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, if (types::isCXX(Inputs[0].getType())) CmdArgs.push_back("-analyzer-checker=cplusplus"); - // Enable the following experimental checkers for testing. - CmdArgs.push_back("-analyzer-checker=security.insecureAPI.UncheckedReturn"); + // Enable the following experimental checkers for testing. + CmdArgs.push_back( + "-analyzer-checker=security.insecureAPI.UncheckedReturn"); CmdArgs.push_back("-analyzer-checker=security.insecureAPI.getpw"); CmdArgs.push_back("-analyzer-checker=security.insecureAPI.gets"); CmdArgs.push_back("-analyzer-checker=security.insecureAPI.mktemp"); @@ -2675,7 +2680,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, options::OPT_fno_fast_math)) if (!A->getOption().matches(options::OPT_fno_fast_math)) CmdArgs.push_back("-ffast-math"); - if (Arg *A = Args.getLastArg(options::OPT_ffinite_math_only, options::OPT_fno_fast_math)) + if (Arg *A = Args.getLastArg(options::OPT_ffinite_math_only, + options::OPT_fno_fast_math)) if (A->getOption().matches(options::OPT_ffinite_math_only)) CmdArgs.push_back("-ffinite-math-only"); |

