aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Parser/token-sequence.cpp
diff options
context:
space:
mode:
authorTozer <stephen.tozer@sony.com>2021-09-10 13:02:59 +0100
committerTozer <stephen.tozer@sony.com>2021-09-17 18:44:09 +0100
commit9c036627483850135c41493f77aa7f42224a8523 (patch)
treeca3d361247e0bcf829860003646f885b5285b1d9 /flang/lib/Parser/token-sequence.cpp
parent2b0b1d531974295c0d7c5ebb6f8c78c42d22a260 (diff)
downloadllvm-9c036627483850135c41493f77aa7f42224a8523.zip
llvm-9c036627483850135c41493f77aa7f42224a8523.tar.gz
llvm-9c036627483850135c41493f77aa7f42224a8523.tar.bz2
[Dexter] Mutually exclusive argument group for --builder and --binary
Dexter currently accepts two possible arguments to determine the binary used for testing; either --builder <builder> (and optionally compiler/linker flags) to build the binary, or --binary <binary> to use the provided binary directly. If both are passed, then --binary overrides --builder; if neither are passed, then an error is raised. This patch instead puts these arguments into a required mutually exclusive argument group, so that an error is automatically raised by argparse if both or neither are given. As an additional change, the --cflags and --ldflags will now raise a warning if they are passed without the --builder flag, as they are meaningless if Dexter is using a pre-built binary. Reviewed By: Orlando Differential Revision: https://reviews.llvm.org/D109833
Diffstat (limited to 'flang/lib/Parser/token-sequence.cpp')
0 files changed, 0 insertions, 0 deletions