Home
last modified time | relevance | path

Searched refs:getAsSingle (Results 1 – 15 of 15) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp426 return Found.getAsSingle<NamespaceDecl>(); in isNonTypeNestedNameSpecifier()
597 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier()
606 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier()
673 OuterDecl = FoundOuter.getAsSingle<NamedDecl>(); in BuildCXXNestedNameSpecifier()
809 if (TypeDecl *TD = Found.getAsSingle<TypeDecl>()) in BuildCXXNestedNameSpecifier()
815 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier()
H A DSemaCoroutine.cpp113 auto *Promise = R.getAsSingle<TypeDecl>(); in lookupPromiseType()
160 ClassTemplateDecl *CoroHandle = Result.getAsSingle<ClassTemplateDecl>(); in lookupCoroutineHandleType()
321 auto *BuiltInDecl = R.getAsSingle<FunctionDecl>(); in buildBuiltinCall()
891 auto *VD = Result.getAsSingle<VarDecl>(); in buildStdNoThrowDeclRef()
1555 Result.getAsSingle<ClassTemplateDecl>())) { in lookupCoroutineTraits()
H A DSemaDeclCXX.cpp1064 auto *TD = R.getAsSingle<TypeDecl>(); in getTupleLikeElementType()
3887 TypeDecl *TyD = R.getAsSingle<TypeDecl>(); in BuildMemInitializer()
9022 Result.getAsSingle<NamespaceDecl>())) in lookupStdExperimentalNamespace()
9398 NamespaceDecl *NS = R.getAsSingle<NamespaceDecl>(); in ActOnUsingDirective()
10116 if (!R.getAsSingle<TypeDecl>()) { in BuildUsingDeclaration()
10136 if (R.getAsSingle<NamespaceDecl>()) { in BuildUsingDeclaration()
10144 if (auto *ED = R.getAsSingle<EnumConstantDecl>()) { in BuildUsingDeclaration()
10332 if (R.getAsSingle<TypeDecl>()) { in CheckUsingDeclQualifier()
10349 } else if (R.getAsSingle<VarDecl>()) { in CheckUsingDeclQualifier()
10362 } else if (R.getAsSingle<EnumConstantDecl>()) { in CheckUsingDeclQualifier()
[all …]
H A DSemaTemplate.cpp280 TemplateDecl *TD = R.getAsSingle<TemplateDecl>(); in isDeductionGuideName()
467 } else if (!FoundOuter.getAsSingle<ClassTemplateDecl>() || in LookupTemplateName()
4131 if (auto *TD = R.getAsSingle<TemplateDecl>()) { in BuildTemplateIdExpr()
4146 if (R.getAsSingle<VarTemplateDecl>() && !AnyDependentArguments()) { in BuildTemplateIdExpr()
4148 R.getAsSingle<VarTemplateDecl>(), in BuildTemplateIdExpr()
4196 if (ClassTemplateDecl *Temp = R.getAsSingle<ClassTemplateDecl>()) { in BuildQualifiedTemplateIdExpr()
4371 if (Result.getAsSingle<TypeDecl>() || in CheckTemplateTypeArgument()
9135 VarDecl *Prev = Previous.getAsSingle<VarDecl>(); in ActOnExplicitInstantiation()
9136 VarTemplateDecl *PrevTemplate = Previous.getAsSingle<VarTemplateDecl>(); in ActOnExplicitInstantiation()
H A DSemaAttr.cpp441 VarDecl *VD = Lookup.getAsSingle<VarDecl>(); in ActOnPragmaUnused()
H A DSemaExprCXX.cpp257 if (TypeDecl *Type = Found.getAsSingle<TypeDecl>()) { in getDestructorName()
279 if (ClassTemplateDecl *Template = Found.getAsSingle<ClassTemplateDecl>()) { in getDestructorName()
547 CXXTypeInfoDecl = R.getAsSingle<RecordDecl>(); in ActOnCXXTypeid()
552 CXXTypeInfoDecl = R.getAsSingle<RecordDecl>(); in ActOnCXXTypeid()
672 MSVCGuidDecl = R.getAsSingle<RecordDecl>(); in ActOnCXXUuidof()
H A DSemaLambda.cpp1088 Var = R.getAsSingle<VarDecl>(); in ActOnStartOfLambdaDefinition()
H A DSemaDecl.cpp611 if (const TagDecl *TD = R.getAsSingle<TagDecl>()) { in isTagName()
786 if (TagDecl *Tag = R.getAsSingle<TagDecl>()) { in isTagTypeWithMissingTag()
980 if (ObjCIvarDecl *Ivar = Result.getAsSingle<ObjCIvarDecl>()) { in ClassifyName()
1136 TypeDecl *Type = Result.getAsSingle<TypeDecl>(); in ClassifyName()
1926 if (const TagDecl *TD = Result.getAsSingle<TagDecl>()) in LookupPredefedObjCSuperType()
2154 TypeDecl *Old = OldDecls.getAsSingle<TypeDecl>(); in MergeTypedefNameDecl()
15239 PrevDecl = Previous.getAsSingle<NamedDecl>(); in HandleField()
16427 NamedDecl *PrevDecl = R.getAsSingle<NamedDecl>(); in ActOnEnumConstant()
H A DSemaExpr.cpp2238 if (ObjCIvarDecl *Ivar = R.getAsSingle<ObjCIvarDecl>()) { in ActOnIdExpression()
2303 assert(R.getAsSingle<VarTemplateDecl>() && in ActOnIdExpression()
2344 if (const TypeDecl *TD = R.getAsSingle<TypeDecl>()) { in BuildQualifiedDeclarationNameExpr()
2790 !R.getAsSingle<FunctionTemplateDecl>() && in BuildDeclarationNameExpr()
13398 FieldDecl *MemberDecl = R.getAsSingle<FieldDecl>(); in BuildBuiltinOffsetOf()
13401 if ((IndirectMemberDecl = R.getAsSingle<IndirectFieldDecl>())) in BuildBuiltinOffsetOf()
H A DSemaLookup.cpp2821 return R.getAsSingle<NamedDecl>(); in LookupSingleName()
H A DSemaTemplateInstantiateDecl.cpp1212 PrevClassTemplate = R.getAsSingle<ClassTemplateDecl>(); in VisitClassTemplateDecl()
H A DTreeTransform.h1067 Tag = Result.getAsSingle<TagDecl>(); in RebuildDependentNameType()
10559 NamedDecl *D = R.getAsSingle<NamedDecl>(); in TransformUnresolvedLookupExpr()
H A DSemaOpenMP.cpp1886 } else if (!(VD = Lookup.getAsSingle<VarDecl>())) { in ActOnOpenMPIdExpression()
13637 NamedDecl *ND = Lookup.getAsSingle<NamedDecl>(); in ActOnOpenMPDeclareTargetName()
H A DSemaOverload.cpp1070 Match = TemplateSpecResult.getAsSingle<FunctionDecl>(); in CheckOverload()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DLookup.h496 DeclClass *getAsSingle() const { in getAsSingle() function