[all-commits] [llvm/llvm-project] 521e17: [clang][cli] Store InputKind in FrontendOptions

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


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

  Changed paths:
    M clang/include/clang/Frontend/FrontendOptions.h
    M clang/lib/Frontend/CompilerInvocation.cpp

  Log Message:
  -----------
  [clang][cli] Store InputKind in FrontendOptions

This patch stores the `InputKind` (parsed mainly from `-x`) to `FrontendOptions`. This is necessary for command line generation.

Reviewed By: dexonsmith

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




More information about the All-commits mailing list