Lines Matching refs:cast_or_null
433 TypeAliasDecl *AliasInst = cast_or_null<TypeAliasDecl>( in VisitTypeAliasTemplateDecl()
1112 cast_or_null<VarDecl>(VisitVarDecl(Pattern, in VisitVarTemplateDecl()
1185 Instantiated = cast_or_null<FunctionDecl>(VisitCXXMethodDecl(DMethod, in VisitFunctionTemplateDecl()
1188 Instantiated = cast_or_null<FunctionDecl>(VisitFunctionDecl( in VisitFunctionTemplateDecl()
1697 Inh = cast_or_null<CXXConstructorDecl>( in VisitCXXMethodDecl()
2283 cast_or_null<NamedDecl>(SemaRef.FindInstantiatedDecl( in VisitUsingDecl()
2294 PrevDecl = cast_or_null<UsingShadowDecl>(SemaRef.FindInstantiatedDecl( in VisitUsingDecl()
2369 cast_or_null<CXXMethodDecl>(VisitCXXMethodDecl(OldFD, nullptr, true)); in VisitClassScopeFunctionSpecializationDecl()
2696 NamedDecl *D = cast_or_null<NamedDecl>(Visit(*PI)); in SubstTemplateParams()
3040 cast_or_null<ParmVarDecl>(VisitParmVarDecl(OldParam)); in SubstFunctionType()
3514 return cast_or_null<VarTemplateSpecializationDecl>( in BuildVarTemplateInstantiation()
3909 Var = cast_or_null<VarDecl>(SubstDecl(Def, Var->getDeclContext(), in InstantiateVariableDefinition()
3918 Var = cast_or_null<VarDecl>(Instantiator.VisitVarTemplateSpecializationDecl( in InstantiateVariableDefinition()
4074 FieldDecl *Member = cast_or_null<FieldDecl>(FindInstantiatedDecl( in InstantiateMemInitializers()
4088 cast_or_null<IndirectFieldDecl>(FindInstantiatedDecl( in InstantiateMemInitializers()
4324 return cast_or_null<DeclContext>(ID); in FindInstantiatedContext()