[all-commits] [llvm/llvm-project] 1e3dd5: [llvm] Use std::bool_constant (NFC) (#158520)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Sun Sep 14 20:32:17 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1e3dd5ef29464b86005705bebec721ac5933bd85
https://github.com/llvm/llvm-project/commit/1e3dd5ef29464b86005705bebec721ac5933bd85
Author: Kazu Hirata <kazu at google.com>
Date: 2025-09-14 (Sun, 14 Sep 2025)
Changed paths:
M llvm/include/llvm/Support/YAMLTraits.h
M llvm/lib/IR/Metadata.cpp
M llvm/unittests/ADT/StringRefTest.cpp
Log Message:
-----------
[llvm] Use std::bool_constant (NFC) (#158520)
This patch replaces, std::integral_constant<bool, ...> with
std::bool_constant for brevity. Note that std::bool_constant was
introduced as part of C++17.
There are cases where we could replace EXPECT_EQ(false, ...) with
EXPECT_FALSE(...), but I'm not doing that in this patch to avoid doing
multiple things in one patch.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list