[all-commits] [llvm/llvm-project] 083e03: [clang][cli] Unify boolean marshalling

Jan Svoboda via All-commits all-commits at lists.llvm.org
Tue Dec 8 04:47:55 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 083e035c47f6c73084ecf5ab7f41cddca19ce332
      https://github.com/llvm/llvm-project/commit/083e035c47f6c73084ecf5ab7f41cddca19ce332
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Frontend/CompilerInvocation.cpp
    M llvm/include/llvm/Option/OptParser.td
    M llvm/utils/TableGen/OptParserEmitter.cpp

  Log Message:
  -----------
  [clang][cli] Unify boolean marshalling

Use lambdas with captures to replace the redundant infrastructure for marshalling of two boolean flags that control the same keypath.

Reviewed By: dexonsmith

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




More information about the All-commits mailing list