Searched refs:SourceDecl (Results 1 – 13 of 13) sorted by relevance
32 const auto *SourceDecl = SourceType->getPointeeCXXRecordDecl(); in check() local33 if (!SourceDecl) // The cast is from object to reference in check()34 SourceDecl = SourceType->getAsCXXRecordDecl(); in check()35 if (!SourceDecl) in check()38 if (SourceDecl->isPolymorphic()) in check()
53 const auto *SourceDecl = SourceType->getPointeeCXXRecordDecl(); in check() local54 if (!SourceDecl) // The cast is from object to reference. in check()55 SourceDecl = SourceType->getAsCXXRecordDecl(); in check()56 if (!SourceDecl) in check()59 if (SourceDecl->isPolymorphic()) { in check()
215 asImpl().writeDeclRef(esi.SourceDecl); in writeExceptionSpecInfo()218 asImpl().writeDeclRef(esi.SourceDecl); in writeExceptionSpecInfo()
230 esi.SourceDecl = asImpl().readFunctionDeclRef(); in readExceptionSpecInfo()233 esi.SourceDecl = asImpl().readFunctionDeclRef(); in readExceptionSpecInfo()
4025 FunctionDecl *SourceDecl = nullptr;4226 Result.SourceDecl = getExceptionSpecDecl();4229 Result.SourceDecl = getExceptionSpecDecl();
531 for (const Decl *SourceDecl : SourceDC.get()->decls()) { in FindExternalLexicalDecls() local532 if (IsKindWeWant(SourceDecl->getKind())) { in FindExternalLexicalDecls()533 auto ImportedDeclOrErr = Forward.Import(SourceDecl); in FindExternalLexicalDecls()
3271 slot[0] = epi.ExceptionSpec.SourceDecl; in FunctionProtoType()3279 slot[0] = epi.ExceptionSpec.SourceDecl; in FunctionProtoType()3420 ID.AddPointer(epi.ExceptionSpec.SourceDecl->getCanonicalDecl()); in Profile()
1693 OS << " noexcept-unevaluated " << EPI.ExceptionSpec.SourceDecl; in VisitFunctionDecl()
1328 ToEPI.ExceptionSpec.SourceDecl = in VisitFunctionProtoType()1329 importChecked(Err, FromEPI.ExceptionSpec.SourceDecl); in VisitFunctionProtoType()3460 if (FromEPI.ExceptionSpec.SourceDecl || in VisitFunctionDecl()
218 FunctionDecl *SourceDecl = FPT->getExceptionSpecDecl(); in ResolveExceptionSpec() local220 SourceDecl->getType()->castAs<FunctionProtoType>(); in ResolveExceptionSpec()228 EvaluateImplicitExceptionSpec(Loc, SourceDecl); in ResolveExceptionSpec()230 InstantiateExceptionSpec(Loc, SourceDecl); in ResolveExceptionSpec()233 SourceDecl->getType()->castAs<FunctionProtoType>(); in ResolveExceptionSpec()
7369 EPI.ExceptionSpec.SourceDecl = MD; in getImplicitMethodEPI()7577 EPI.ExceptionSpec.SourceDecl = MD; in CheckExplicitlyDefaultedSpecialMember()8750 EPI.ExceptionSpec.SourceDecl = FD; in CheckExplicitlyDefaultedComparison()13573 EPI.ExceptionSpec.SourceDecl = DerivedCtor; in findInheritingConstructor()13886 EPI.ExceptionSpec.SourceDecl = Destructor; in AdjustDestructorExceptionSpec()
4681 EPI.ExceptionSpec.SourceDecl = New; in InitFunctionInstantiation()
6306 EXPECT_EQ(FromEPI.ExceptionSpec.SourceDecl, FromCtor); in TEST_P()6318 EXPECT_EQ(ToEPI.ExceptionSpec.SourceDecl, ToCtor); in TEST_P()