[all-commits] [llvm/llvm-project] 0e0e63: [ADT] Simplify llvm::reverse with constexpr if (NFC)
kazutakahirata via All-commits
all-commits at lists.llvm.org
Sat Aug 20 07:28:29 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0e0e6382493f6eb02453617686a72d784eef421f
https://github.com/llvm/llvm-project/commit/0e0e6382493f6eb02453617686a72d784eef421f
Author: Kazu Hirata <kazu at google.com>
Date: 2022-08-20 (Sat, 20 Aug 2022)
Changed paths:
M llvm/include/llvm/ADT/STLExtras.h
Log Message:
-----------
[ADT] Simplify llvm::reverse with constexpr if (NFC)
Differential Revision: https://reviews.llvm.org/D132279
Commit: e15359debf39afc7dd41a37cbb71b4d6b7a2bc7b
https://github.com/llvm/llvm-project/commit/e15359debf39afc7dd41a37cbb71b4d6b7a2bc7b
Author: Kazu Hirata <kazu at google.com>
Date: 2022-08-20 (Sat, 20 Aug 2022)
Changed paths:
M llvm/include/llvm/ADT/Any.h
M llvm/unittests/ADT/AnyTest.cpp
Log Message:
-----------
[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
Commit: 347c462e97bbb22ef9d95ef2f161e2eb82843f8e
https://github.com/llvm/llvm-project/commit/347c462e97bbb22ef9d95ef2f161e2eb82843f8e
Author: Kazu Hirata <kazu at google.com>
Date: 2022-08-20 (Sat, 20 Aug 2022)
Changed paths:
M lldb/include/lldb/Core/RichManglingContext.h
M lldb/source/Core/RichManglingContext.cpp
Log Message:
-----------
[lldb] Use Any::has_value instead of ANy::hasValue (NFC)
Compare: https://github.com/llvm/llvm-project/compare/2981a9490277...347c462e97bb
More information about the All-commits
mailing list