r301796 - The -coverage-file flag was removed in r280306, and this piece was missed; NFC.

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon May 1 06:05:06 PDT 2017


Author: aaronballman
Date: Mon May  1 08:05:04 2017
New Revision: 301796

URL: http://llvm.org/viewvc/llvm-project?rev=301796&view=rev
Log:
The -coverage-file flag was removed in r280306, and this piece was missed; NFC.

Modified:
    cfe/trunk/lib/Driver/Job.cpp

Modified: cfe/trunk/lib/Driver/Job.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Job.cpp?rev=301796&r1=301795&r2=301796&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Job.cpp (original)
+++ cfe/trunk/lib/Driver/Job.cpp Mon May  1 08:05:04 2017
@@ -49,7 +49,7 @@ static bool skipArgs(const char *Flag, b
   // 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);




More information about the cfe-commits mailing list