================
@@ -1922,6 +1924,7 @@ static std::optional<TypeTrait>
StdNameToTypeTrait(StringRef Name) {
return llvm::StringSwitch<std::optional<TypeTrait>>(Name)
.Case("is_trivially_relocatable",
TypeTrait::UTT_IsCppTriviallyRelocatable)
+ .Case("is_trivially_copyable", TypeTrait::UTT_IsTriviallyCopyable)
----------------
erichkeane wrote:
Yes, I'd suggest going back to the original, unless you want to do all the work
for updating the TYPE_TRAIT_N/TYPE_TRAIT_1 (which I'm not requiring here at
all!). Just something to think about for a future direction.
https://github.com/llvm/llvm-project/pull/142341
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits