[all-commits] [llvm/llvm-project] 2f3055: [clang][cli] Add support for options with two flag...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Mon Nov 16 01:24:19 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2f3055c543f8f5e8cd975350fae5f4b0ac4871c3
https://github.com/llvm/llvm-project/commit/2f3055c543f8f5e8cd975350fae5f4b0ac4871c3
Author: Jan Svoboda <git at jansvoboda.dev>
Date: 2020-11-16 (Mon, 16 Nov 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] Add support for options with two flags for controlling the same field.
This enables automatically parsing and generating CC1 arguments for options where two flags control the same field, e.g. -fexperimental-new-pass-manager and -fno-experimental new pass manager.
Reviewed By: Bigcheese, dexonsmith
Original patch by Daniel Grumberg.
Differential Revision: https://reviews.llvm.org/D83071
More information about the All-commits
mailing list