[all-commits] [llvm/llvm-project] 7369bf: [clang][cli] Look up program action argument in a ...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Tue Feb 9 06:29:58 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7369bfb8abb6f62eebd045b8b243972863bf3190
      https://github.com/llvm/llvm-project/commit/7369bfb8abb6f62eebd045b8b243972863bf3190
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M clang/lib/Frontend/CompilerInvocation.cpp

  Log Message:
  -----------
  [clang][cli] Look up program action argument in a table

This patch extracts the mapping between command line option and frontend::ActionKind into a table. The table can be reused when parsing and also generating command line options.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D96269




More information about the All-commits mailing list