aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authoriains <iain@sandoe.co.uk>2022-02-15 09:55:22 +0000
committerIain Sandoe <iain@sandoe.co.uk>2022-02-15 11:19:09 +0000
commit2370977bdd0254d9d5424713513aeee233c647e4 (patch)
tree4671db0f1591a3b2907ba4a9a80303e3349f95c6 /clang/lib/Frontend/CompilerInvocation.cpp
parent78c27a3cee424d1989ec7ce188b7142511482f77 (diff)
downloadllvm-2370977bdd0254d9d5424713513aeee233c647e4.zip
llvm-2370977bdd0254d9d5424713513aeee233c647e4.tar.gz
llvm-2370977bdd0254d9d5424713513aeee233c647e4.tar.bz2
[clang] Remove a duplicate action kind table entry.
We have two entries for OPT_emit_codegen_only in the frontend action kind table, delete one. Differential Revision: https://reviews.llvm.org/D119826
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 1b7448f..1014147 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -2406,7 +2406,6 @@ static const auto &getFrontendActionTable() {
{frontend::EmitLLVM, OPT_emit_llvm},
{frontend::EmitLLVMOnly, OPT_emit_llvm_only},
{frontend::EmitCodeGenOnly, OPT_emit_codegen_only},
- {frontend::EmitCodeGenOnly, OPT_emit_codegen_only},
{frontend::EmitObj, OPT_emit_obj},
{frontend::ExtractAPI, OPT_extract_api},