llvm-project/libcxx
Alex Richardson 3980e8956b [libcxx][lit] Simplify parsing of trailing executor arguments
Adding a positional argparse.ONE_OR_MORE arguments will correctly remove
the "--" separator after --env and parse only the command. This also has
the advantage that misspelled flags raise an argparse error rather than
silently being added to the command to be executed.

I discovered this while adding a new commandline option to ssh.py to allow
passing additional arguments to the scp/ssh commands since this is required
for our CHERI CI where we need to pass `-F <custom_config_file>` to each
ssh/scp command to set various arguments such as the localhost port, usage
of controlmaster, etc. to speed up connections to our emulated QEMU systems.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D84096
2020-07-21 09:03:45 +01:00
..
benchmarks [libc++] Fix building the benchmarks after introducing a target for cxx-headers 2020-07-14 11:50:12 -04:00
cmake [libc++] Use a proper CMake target to represent libc++ headers 2020-07-14 09:52:58 -04:00
docs Reland [libcxx]Put clang::trivial_abi on smart pointers 2020-07-20 11:54:34 -04:00
fuzzing [libc++] Tolerate NaN returning random distributions for now 2019-12-12 17:11:13 -05:00
include Reland [libcxx]Put clang::trivial_abi on smart pointers 2020-07-20 11:54:34 -04:00
lib Add optimization to basic_string::assign for compile-time known constant values. 2020-06-29 14:34:34 -04:00
src [libc++] Use a proper CMake target to represent libc++ headers 2020-07-14 09:52:58 -04:00
test Disable trivial weak_ptr test on ARM because it is not expected to work. 2020-07-20 17:02:49 -04:00
utils [libcxx][lit] Simplify parsing of trailing executor arguments 2020-07-21 09:03:45 +01:00
www [libc++] Implement P0551 2020-07-13 13:42:26 -04:00
.clang-format
.gitignore [libcxx] Fix .gitignore to not exclude test directories 2020-03-25 17:52:23 -07:00
CMakeLists.txt Enable -Wsuggest-override in the LLVM build 2020-07-20 12:32:47 -07:00
CREDITS.TXT [libcxx] Adds [concept.same] 2020-04-08 18:00:13 -04:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
NOTES.TXT Reland "Use custom command and target to install libc++ headers" 2018-06-12 03:10:02 +00:00
TODO.TXT [libc++][NFC] Remove outdated TODO item 2020-07-08 13:04:33 -04:00
appveyor-reqs-install.cmd Attempt to upgrade compiler used by appveyor builds 2019-04-03 20:40:01 +00:00
appveyor.yml disable appveyor config for MSVC 2015 2019-04-03 20:36:51 +00:00