================ @@ -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:
Ah, no, I was suggesting adding a new field to the `TYPE_TRAIT_1`/`TYPE_TRAIT_N`/etc variants. It does end up being a little bit of extra work, which is why I was mentioning it more as a followup/future direction here instead. https://github.com/llvm/llvm-project/pull/142341 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits