]> granicus.if.org Git - clang/commitdiff
The -coverage-file flag was removed in r280306, and this piece was missed; NFC.
authorAaron Ballman <aaron@aaronballman.com>
Mon, 1 May 2017 13:05:04 +0000 (13:05 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 1 May 2017 13:05:04 +0000 (13:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@301796 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Job.cpp

index 7a4d055159ecafa92e9938fdda400dfc3f415ba1..8b85680f10b14f1d4846c78d1122a54081b553c6 100644 (file)
@@ -49,7 +49,7 @@ static bool skipArgs(const char *Flag, bool HaveCrashVFS, int &SkipNum,
   // arguments.  Therefore, we need to skip the flag and the next argument.
   bool ShouldSkip = llvm::StringSwitch<bool>(Flag)
     .Cases("-MF", "-MT", "-MQ", "-serialize-diagnostic-file", true)
-    .Cases("-o", "-coverage-file", "-dependency-file", true)
+    .Cases("-o", "-dependency-file", true)
     .Cases("-fdebug-compilation-dir", "-diagnostic-log-file", true)
     .Cases("-dwarf-debug-flags", "-ivfsoverlay", true)
     .Default(false);