================
@@ -2016,6 +2016,23 @@ static std::optional<TypeTrait>
StdNameToTypeTrait(StringRef Name) {
using ExtractedTypeTraitInfo =
std::optional<std::pair<TypeTrait, llvm::SmallVector<QualType, 1>>>;
+// Synthesize args for std::is_trivially_copy_constructible<T>, which wraps
+// __is_trivially_constructible but is not in the StdName table because it
+// fixes its own argument list.
----------------
zyn0217 wrote:
Why don't you try refactoring StdNameToTypeTrait to adapt it?
I think you should map it to __is_trivially_constructible and go forward that
handling, no?
https://github.com/llvm/llvm-project/pull/225487
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits