[clang] [Clang][RFC] Intrododuce a builtin to determine the structure binding size (PR #131515)

via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 17 11:26:29 PDT 2025


================
@@ -2135,9 +2135,14 @@ void ASTStmtReader::VisitUnresolvedLookupExpr(UnresolvedLookupExpr *E) {
 
 void ASTStmtReader::VisitTypeTraitExpr(TypeTraitExpr *E) {
   VisitExpr(E);
+  E->TypeTraitExprBits.IsBooleanTypeTrait = Record.readInt();
   E->TypeTraitExprBits.NumArgs = Record.readInt();
   E->TypeTraitExprBits.Kind = Record.readInt();
   E->TypeTraitExprBits.Value = Record.readInt();
----------------
cor3ntin wrote:

Is there any reason not to?

https://github.com/llvm/llvm-project/pull/131515


More information about the cfe-commits mailing list