summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r--clang/lib/Driver/Tools.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index e81e936e64e..e672d6c3115 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -2441,14 +2441,11 @@ static std::string getMSCompatibilityVersion(const char *VersionStr) {
}
// Claim options we don't want to warn if they are unused. We do this for
-// options that
-// build systems might add but are unused when assembling or only running the
-// preprocessor
-// for example.
+// options that build systems might add but are unused when assembling or only
+// running the preprocessor for example.
static void claimNoWarnArgs(const ArgList &Args) {
// Don't warn about unused -f(no-)?lto. This can happen when we're
- // preprocessing,
- // precompiling or assembling.
+ // preprocessing, precompiling or assembling.
Args.ClaimAllArgs(options::OPT_flto);
Args.ClaimAllArgs(options::OPT_fno_lto);
}
OpenPOWER on IntegriCloud