llvm-project/llvm/unittests/Option
Jan Svoboda 9338f3a586 [clang][cli] Accept strings instead of options in ImpliedByAnyOf
To be able to refer to constant keypaths (e.g. `defvar cplusplus = LangOpts<"CPlusPlus">`) inside `ImpliedByAnyOf`, let's accept strings instead of `Option` instances.

This somewhat weakens the guarantees that we're referring to an existing (option) record, but we can still use the option.KeyPath syntax to simulate this.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D95344
2021-01-26 09:30:36 +01:00
..
CMakeLists.txt Port some floating point options to new option marshalling infrastructure 2020-11-09 18:00:10 -05:00
OptionMarshallingTest.cpp [clang][cli] Specify KeyPath prefixes via TableGen classes 2021-01-15 08:42:59 +01:00
OptionParsingTest.cpp
Opts.td [clang][cli] Accept strings instead of options in ImpliedByAnyOf 2021-01-26 09:30:36 +01:00