aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2022-08-20 07:28:04 -0700
committerKazu Hirata <kazu@google.com>2022-08-20 07:28:04 -0700
commite15359debf39afc7dd41a37cbb71b4d6b7a2bc7b (patch)
treea80c866ed3957e2bfa24edd35d90baff9a673edf /clang/lib/Frontend
parent0e0e6382493f6eb02453617686a72d784eef421f (diff)
downloadllvm-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')
0 files changed, 0 insertions, 0 deletions