reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaInit.cpp
 7899     CurInit = Args[0];
 7900     if (!CurInit.get()) return ExprError();
 7916       CurInit.get() && isa<InitListExpr>(CurInit.get()));
 7916       CurInit.get() && isa<InitListExpr>(CurInit.get()));
 7934     if (CurInit.isInvalid())
 7937     QualType SourceType = CurInit.get() ? CurInit.get()->getType() : QualType();
 7937     QualType SourceType = CurInit.get() ? CurInit.get()->getType() : QualType();
 7943       S.CheckAddressOfMemberAccess(CurInit.get(), Step->Function.FoundDecl);
 7946       CurInit = S.FixOverloadedFunctionReference(CurInit,
 7946       CurInit = S.FixOverloadedFunctionReference(CurInit,
 7962               SourceType, Step->Type, CurInit.get()->getBeginLoc(),
 7963               CurInit.get()->getSourceRange(), &BasePath, IgnoreBaseAccess))
 7972       CurInit =
 7974                                    CurInit.get(), &BasePath, VK);
 7982       if (S.CheckExceptionSpecCompatibility(CurInit.get(), DestType))
 7988       if (CurInit.get()->getType()->isFunctionProtoType()) {
 7989         if (auto *DRE = dyn_cast<DeclRefExpr>(CurInit.get()->IgnoreParens())) {
 7998       CheckForNullPointerDereference(S, CurInit.get());
 8003       assert(CurInit.get()->isRValue() && "not a temporary");
 8006       if (S.CheckExceptionSpecCompatibility(CurInit.get(), DestType))
 8011           Step->Type, CurInit.get(), Entity.getType()->isLValueReferenceType());
 8012       CurInit = MTE;
 8032         CurInit = S.MaybeBindToTemporary(CurInit.get());
 8032         CurInit = S.MaybeBindToTemporary(CurInit.get());
 8033       CurInit = CopyObject(S, Step->Type, Entity, CurInit,
 8033       CurInit = CopyObject(S, Step->Type, Entity, CurInit,
 8038       CurInit = CopyObject(S, Step->Type, Entity, CurInit,
 8038       CurInit = CopyObject(S, Step->Type, Entity, CurInit,
 8053         SourceLocation Loc = CurInit.get()->getBeginLoc();
 8057         Expr *Arg = CurInit.get();
 8064         CurInit = S.BuildCXXConstructExpr(Loc, Step->Type,
 8073         if (CurInit.isInvalid())
 8086         S.CheckMemberOperatorAccess(Kind.getLocation(), CurInit.get(), nullptr,
 8091         CurInit = S.BuildCXXMemberCallExpr(CurInit.get(), FoundFn, Conversion,
 8091         CurInit = S.BuildCXXMemberCallExpr(CurInit.get(), FoundFn, Conversion,
 8093         if (CurInit.isInvalid())
 8100       if (CreatedObject && checkAbstractType(CurInit.get()->getType()))
 8103       CurInit = ImplicitCastExpr::Create(S.Context, CurInit.get()->getType(),
 8103       CurInit = ImplicitCastExpr::Create(S.Context, CurInit.get()->getType(),
 8104                                          CastKind, CurInit.get(), nullptr,
 8105                                          CurInit.get()->getValueKind());
 8110         CurInit = S.MaybeBindToTemporary(CurInit.getAs<Expr>());
 8110         CurInit = S.MaybeBindToTemporary(CurInit.getAs<Expr>());
 8116         QualType T = CurInit.get()->getType();
 8120           S.CheckDestructorAccess(CurInit.get()->getBeginLoc(), Destructor,
 8122           S.MarkFunctionReferenced(CurInit.get()->getBeginLoc(), Destructor);
 8123           if (S.DiagnoseUseOfDecl(Destructor, CurInit.get()->getBeginLoc()))
 8139       CurInit = S.PerformQualificationConversion(CurInit.get(), Step->Type, VK);
 8139       CurInit = S.PerformQualificationConversion(CurInit.get(), Step->Type, VK);
 8144       assert(CurInit.get()->isRValue() && "cannot convert glvalue to atomic");
 8145       CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type,
 8145       CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type,
 8153               CurInit.get()->getType()->getAs<PointerType>()) {
 8157             S.Diag(CurInit.get()->getExprLoc(),
 8159                 << CurInit.get()->getSourceRange();
 8170         S.PerformImplicitConversion(CurInit.get(), Step->Type, *Step->ICS,
 8175       S.DiscardMisalignedMemberAddress(Step->Type.getTypePtr(), CurInit.get());
 8177       CurInit = CurInitExprRes;
 8182                                     CurInit.get());
 8191       InitListExpr *InitList = cast<InitListExpr>(CurInit.get());
 8219       CurInit.get();
 8220       CurInit = shouldBindAsTemporary(InitEntity)
 8244       CurInit = PerformConstructorInitialization(S, UseTemporary ? TempEntity :
 8256       CurInit = cast<InitListExpr>(CurInit.get())->getInit(0);
 8256       CurInit = cast<InitListExpr>(CurInit.get())->getInit(0);
 8260       Expr *E = CurInit.get();
 8267       CurInit = ILE;
 8287       Expr *Source = CurInit.get();
 8291       CurInit = PerformConstructorInitialization(
 8319         CurInit = new (S.Context) CXXScalarValueInitExpr(
 8323         CurInit = new (S.Context) ImplicitValueInitExpr(Step->Type);
 8329       QualType SourceType = CurInit.get()->getType();
 8332       ExprResult InitialCurInit = CurInit;
 8333       ExprResult Result = CurInit;
 8339       CurInit = Result;
 8342       ExprResult CurInitExprRes = CurInit;
 8350       CurInit = CurInitExprRes;
 8367       CheckStringInit(CurInit.get(), ResultType ? *ResultType : Ty,
 8373       CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type,
 8373       CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type,
 8375                           CurInit.get()->getValueKind());
 8379       Expr *Cur = CurInit.get();
 8385       CurInit = S.CreateBuiltinArraySubscriptExpr(
 8395       CurInit = new (S.Context) ArrayInitLoopExpr(Step->Type, Common,
 8396                                                   CurInit.get());
 8404         << Step->Type << CurInit.get()->getType()
 8405         << CurInit.get()->getSourceRange();
 8406       updateGNUCompoundLiteralRValue(CurInit.get());
 8415                  = S.Context.getAsConstantArrayType(CurInit.get()->getType())) {
 8430         << CurInit.get()->getSourceRange();
 8435       checkIndirectCopyRestoreSource(S, CurInit.get());
 8436       CurInit = new (S.Context) ObjCIndirectCopyRestoreExpr(
 8437           CurInit.get(), Step->Type,
 8442       CurInit =
 8444                                    CurInit.get(), nullptr, VK_RValue);
 8448       S.Diag(CurInit.get()->getExprLoc(),
 8450         << CurInit.get()->getSourceRange();
 8454           CurInit.get()->getType(), CurInit.get(),
 8454           CurInit.get()->getType(), CurInit.get(),
 8458       CurInit = new (S.Context) CXXStdInitializerListExpr(Step->Type, MTE);
 8463         CurInit = S.MaybeBindToTemporary(CurInit.get());
 8463         CurInit = S.MaybeBindToTemporary(CurInit.get());
 8485       Expr *Init = CurInit.get()->IgnoreParens();
 8498             CurInit = ImplicitCastExpr::Create(S.Context, Step->Type,
 8556       CurInit = S.ImpCastExprToType(Init, S.Context.OCLSamplerTy,
 8565       CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type,
 8565       CurInit = S.ImpCastExprToType(CurInit.get(), Step->Type,
 8567                                     CurInit.get()->getValueKind());
 8575   if (auto *Init = CurInit.get())
 8583                                   CurInit.get());
 8586   if (const Expr *E = CurInit.get()) {
 8591   return CurInit;