aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2020-10-19 21:33:47 -0700
committerFangrui Song <i@maskray.me>2020-10-19 21:48:51 -0700
commit0ab222e7d730bb1f8b676e64b51615624e08614b (patch)
tree171b3945eaf318a0eb2bf726156f27d2a57e130f /clang/lib/Frontend/CompilerInvocation.cpp
parentf44fb130253aa5486380604101ce50a62a8d668b (diff)
downloadllvm-0ab222e7d730bb1f8b676e64b51615624e08614b.zip
llvm-0ab222e7d730bb1f8b676e64b51615624e08614b.tar.gz
llvm-0ab222e7d730bb1f8b676e64b51615624e08614b.tar.bz2
[gcov] Delete CC1 option -test-coverage
The name is unfortunate because it is similar to the driver option -ftest-coverage. It turns out aside from one occurrence in a test, this option is not used.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 7cbd5b3..80f2d43 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -1052,7 +1052,6 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK,
Opts.ControlFlowGuardNoChecks = Args.hasArg(OPT_cfguard_no_checks);
Opts.ControlFlowGuard = Args.hasArg(OPT_cfguard);
- Opts.DisableGCov = Args.hasArg(OPT_test_coverage);
Opts.EmitGcovArcs = Args.hasArg(OPT_femit_coverage_data);
Opts.EmitGcovNotes = Args.hasArg(OPT_femit_coverage_notes);
if (Opts.EmitGcovArcs || Opts.EmitGcovNotes) {