diff options
author | Kazu Hirata <kazu@google.com> | 2022-08-20 07:28:04 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-08-20 07:28:04 -0700 |
commit | e15359debf39afc7dd41a37cbb71b4d6b7a2bc7b (patch) | |
tree | a80c866ed3957e2bfa24edd35d90baff9a673edf /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0e0e6382493f6eb02453617686a72d784eef421f (diff) | |
download | llvm-e15359debf39afc7dd41a37cbb71b4d6b7a2bc7b.zip llvm-e15359debf39afc7dd41a37cbb71b4d6b7a2bc7b.tar.gz llvm-e15359debf39afc7dd41a37cbb71b4d6b7a2bc7b.tar.bz2 |
[ADT] Implement Any::has_value
This patch implements Any::has_value for consistency with std::any in
C++17.
My plan is to deprecate Any::hasValue after migrating all of its uses
to Any::has_value. Since I am about to do so, this patch simply
replaces hasValue with has_value in the unit test instead of adding
tests for has_value.
Differential Revision: https://reviews.llvm.org/D132278
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions