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

References

tools/clang/lib/Sema/SemaInit.cpp
 7750     Diagnose(S, Entity, Kind, Args);
 7755     if (Decl *D = Entity.getDecl())
 7762     QualType DestType = Entity.getType();
 7773     if (ResultType && !Entity.getType()->isDependentType() &&
 7775       QualType DeclType = Entity.getType();
 7789           if (auto *DD = dyn_cast_or_null<DeclaratorDecl>(Entity.getDecl())) {
 7825   if (S.getLangOpts().CPlusPlus11 && Entity.getType()->isReferenceType() &&
 7827       !Entity.isParameterKind()) {
 7837   QualType ETy = Entity.getType();
 7844       Entity.getKind() == InitializedEntity::EK_Variable && Args.size() > 0) {
 7847         << SourceRange(Entity.getDecl()->getBeginLoc(), Args[0]->getEndLoc());
 7851   QualType DestType = Entity.getType().getNonReferenceType();
 7856     *ResultType = Entity.getDecl() ? Entity.getDecl()->getType() :
 7856     *ResultType = Entity.getDecl() ? Entity.getDecl()->getType() :
 7857                                      Entity.getType();
 7922     if (Entity.getKind() == InitializedEntity::EK_Base ||
 7923         Entity.getKind() == InitializedEntity::EK_Delegating)
 8011           Step->Type, CurInit.get(), Entity.getType()->isLValueReferenceType());
 8031       if (!shouldBindAsTemporary(Entity))
 8033       CurInit = CopyObject(S, Step->Type, Entity, CurInit,
 8038       CurInit = CopyObject(S, Step->Type, Entity, CurInit,
 8077                                  Entity);
 8107       if (shouldBindAsTemporary(Entity))
 8111       else if (CreatedObject && shouldDestroyEntity(Entity)) {
 8171                                     getAssignmentAction(Entity), CCK);
 8181         DiagnoseNarrowingInInitList(S, *Step->ICS, SourceType, Entity.getType(),
 8195       bool IsTemporary = !S.Context.hasSameType(Entity.getType(), Ty);
 8197       InitializedEntity InitEntity = IsTemporary ? TempEntity : Entity;
 8237                                         Entity.getType().getNonReferenceType());
 8238       bool UseTemporary = Entity.getType()->isReferenceType();
 8245                                                                    Entity,
 8283                                         Entity.getType().getNonReferenceType());
 8284       bool UseTemporary = Entity.getType()->isReferenceType();
 8292           S, UseTemporary ? TempEntity : Entity, Kind,
 8314         TypeSourceInfo *TSInfo = Entity.getTypeSourceInfo();
 8320             Entity.getType().getNonLValueExprType(S.Context), TSInfo,
 8336             Entity.getKind() == InitializedEntity::EK_Parameter_CF_Audited);
 8344           Entity.isParameterKind() &&
 8356                                      getAssignmentAction(Entity, true),
 8358         PrintInitLocationNote(S, Entity);
 8361         PrintInitLocationNote(S, Entity);
 8462       if (shouldBindAsTemporary(Entity))
 8488       if (Entity.isParameterKind()) {
 8576     S.checkInitializerLifetime(Entity, Init);
 8579   if (Entity.getKind() == InitializedEntity::EK_Member &&
 8580       cast<FieldDecl>(Entity.getDecl())->isBitField())
 8582                                   cast<FieldDecl>(Entity.getDecl()),
 8588                             Entity.getKind() == InitializedEntity::EK_Result);