[PATCH] D119826: [clang] Remove a duplicate action kind table entry.

Iain Sandoe via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 15 03:07:27 PST 2022


iains created this revision.
iains added a reviewer: jansvoboda11.
iains published this revision for review.
iains added a comment.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

probably trivial - but, in case there's some subtlety I missed...


We have two entries for OPT_emit_codegen_only in the frontend action kind
table, delete one.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D119826

Files:
  clang/lib/Frontend/CompilerInvocation.cpp


Index: clang/lib/Frontend/CompilerInvocation.cpp
===================================================================
--- clang/lib/Frontend/CompilerInvocation.cpp
+++ clang/lib/Frontend/CompilerInvocation.cpp
@@ -2406,7 +2406,6 @@
       {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},
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119826.408792.patch
Type: text/x-patch
Size: 538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220215/85225471/attachment.bin>


More information about the cfe-commits mailing list