aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2021-01-26 09:21:55 +0100
committerJan Svoboda <jan_svoboda@apple.com>2021-01-26 09:30:36 +0100
commit9338f3a586bcebc6843ff7fe745f311d7ddf4908 (patch)
tree19ff9db62398c438536fcafdfd0ea1d948518777 /clang/lib/Frontend/CompilerInvocation.cpp
parent956d8e02e8a55fb5fd289c7af37dbfc73535e7a7 (diff)
downloadllvm-9338f3a586bcebc6843ff7fe745f311d7ddf4908.zip
llvm-9338f3a586bcebc6843ff7fe745f311d7ddf4908.tar.gz
llvm-9338f3a586bcebc6843ff7fe745f311d7ddf4908.tar.bz2
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions