Home
last modified time | relevance | path

Searched refs:ExtendingDecl (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/
H A DDeclCXX.cpp2959 const ValueDecl *ExtendingDecl = getExtendingDecl(); in getStorageDuration() local
2960 if (!ExtendingDecl) in getStorageDuration()
2964 if (isa<FieldDecl>(ExtendingDecl)) in getStorageDuration()
2968 if (isa<BindingDecl>(ExtendingDecl)) in getStorageDuration()
2969 return ExtendingDecl->getDeclContext()->isFunctionOrMethod() ? SD_Automatic in getStorageDuration()
2971 return cast<VarDecl>(ExtendingDecl)->getStorageDuration(); in getStorageDuration()
H A DExprCXX.cpp1655 ES->ExtendingDecl = ExtendedBy; in setExtendingDecl()
H A DASTImporter.cpp7616 auto ExtendingDecl = importChecked(Err, D->getExtendingDecl()); in VisitLifetimeExtendedTemporaryDecl() local
7622 if (GetImportedOrCreateDecl(To, D, Temporary, ExtendingDecl, in VisitLifetimeExtendedTemporaryDecl()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclCXX.h3137 ValueDecl *ExtendingDecl = nullptr; variable
3147 ExprWithTemporary(Temp), ExtendingDecl(EDecl), in LifetimeExtendedTemporaryDecl()
3164 ValueDecl *getExtendingDecl() { return ExtendingDecl; } in getExtendingDecl()
3165 const ValueDecl *getExtendingDecl() const { return ExtendingDecl; } in getExtendingDecl()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaInit.cpp7703 if (auto *ExtendingDecl = in checkInitializerLifetime() local
7707 << ExtendingDecl << DiagRange; in checkInitializerLifetime()
7708 Diag(ExtendingDecl->getLocation(), in checkInitializerLifetime()
7718 << ExtendingDecl << IsSubobjectMember << RK << DiagRange; in checkInitializerLifetime()
7724 Diag(ExtendingDecl->getLocation(), in checkInitializerLifetime()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp2556 D->ExtendingDecl = readDeclAs<ValueDecl>(); in VisitLifetimeExtendedTemporaryDecl()