[all-commits] [llvm/llvm-project] 05127f: [clang][cli] Parse HeaderSearch options separately

Jan Svoboda via All-commits all-commits at lists.llvm.org
Wed Jan 27 05:51:10 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 05127fba4b66c91489e9f380f691a0bb42cd2782
      https://github.com/llvm/llvm-project/commit/05127fba4b66c91489e9f380f691a0bb42cd2782
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2021-01-27 (Wed, 27 Jan 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Frontend/CompilerInvocation.cpp

  Log Message:
  -----------
  [clang][cli] Parse HeaderSearch options separately

This patch moves parsing of header search options from `parseSimpleArgs` back to `ParseHeaderSearchArgs` where they originally were.

The round-trip algorithm in D94472 requires this separation to be able to run parsing and generating **only** for the options that need to be tested via round-tripping.

Reviewed By: dexonsmith

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




More information about the All-commits mailing list