@@ -663,13 +663,14 @@ std::string SYCLUniqueStableNameExpr::ComputeName(ASTContext &Context,
663663}
664664
665665PredefinedExpr::PredefinedExpr (SourceLocation L, QualType FNTy, IdentKind IK,
666- StringLiteral *SL)
666+ bool IsTransparent, StringLiteral *SL)
667667 : Expr(PredefinedExprClass, FNTy, VK_LValue, OK_Ordinary) {
668668 PredefinedExprBits.Kind = IK;
669669 assert ((getIdentKind () == IK) &&
670670 " IdentKind do not fit in PredefinedExprBitfields!" );
671671 bool HasFunctionName = SL != nullptr ;
672672 PredefinedExprBits.HasFunctionName = HasFunctionName;
673+ PredefinedExprBits.IsTransparent = IsTransparent;
673674 PredefinedExprBits.Loc = L;
674675 if (HasFunctionName)
675676 setFunctionName (SL);
@@ -683,11 +684,11 @@ PredefinedExpr::PredefinedExpr(EmptyShell Empty, bool HasFunctionName)
683684
684685PredefinedExpr *PredefinedExpr::Create (const ASTContext &Ctx, SourceLocation L,
685686 QualType FNTy, IdentKind IK,
686- StringLiteral *SL) {
687+ bool IsTransparent, StringLiteral *SL) {
687688 bool HasFunctionName = SL != nullptr ;
688689 void *Mem = Ctx.Allocate (totalSizeToAlloc<Stmt *>(HasFunctionName),
689690 alignof (PredefinedExpr));
690- return new (Mem) PredefinedExpr (L, FNTy, IK, SL);
691+ return new (Mem) PredefinedExpr (L, FNTy, IK, IsTransparent, SL);
691692}
692693
693694PredefinedExpr *PredefinedExpr::CreateEmpty (const ASTContext &Ctx,
0 commit comments