Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp426 return Found.getAsSingle<NamespaceDecl>(); in isNonTypeNestedNameSpecifier()
599 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier()
606 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier()
672 OuterDecl = FoundOuter.getAsSingle<NamedDecl>(); in BuildCXXNestedNameSpecifier()
807 if (TypeDecl *TD = Found.getAsSingle<TypeDecl>()) in BuildCXXNestedNameSpecifier()
813 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier()
DSemaCoroutine.cpp42 ClassTemplateDecl *CoroTraits = Result.getAsSingle<ClassTemplateDecl>(); in lookupPromiseType()
78 auto *Promise = R.getAsSingle<TypeDecl>(); in lookupPromiseType()
DSemaAttr.cpp343 VarDecl *VD = Lookup.getAsSingle<VarDecl>(); in ActOnPragmaUnused()
DSemaDeclCXX.cpp2917 TypeDecl *TyD = R.getAsSingle<TypeDecl>(); in BuildMemInitializer()
7595 ClassTemplateDecl *Template = Result.getAsSingle<ClassTemplateDecl>(); in LookupStdInitializerList()
7746 NamespaceDecl *NS = R.getAsSingle<NamespaceDecl>(); in ActOnUsingDirective()
8412 if (!R.getAsSingle<TypeDecl>()) { in BuildUsingDeclaration()
8423 if (IsInstantiation && R.getAsSingle<TypeDecl>()) { in BuildUsingDeclaration()
8432 if (R.getAsSingle<NamespaceDecl>()) { in BuildUsingDeclaration()
8440 if (auto *ED = R.getAsSingle<EnumConstantDecl>()) { in BuildUsingDeclaration()
8592 if (R.getAsSingle<TypeDecl>()) { in CheckUsingDeclQualifier()
8610 } else if (R.getAsSingle<VarDecl>()) { in CheckUsingDeclQualifier()
8623 } else if (R.getAsSingle<EnumConstantDecl>()) { in CheckUsingDeclQualifier()
[all …]
DSemaTemplate.cpp377 } else if (!FoundOuter.getAsSingle<ClassTemplateDecl>() || in LookupTemplateName()
2954 if (R.getAsSingle<VarTemplateDecl>() && in BuildTemplateIdExpr()
2958 R.getAsSingle<VarTemplateDecl>(), in BuildTemplateIdExpr()
3004 if (ClassTemplateDecl *Temp = R.getAsSingle<ClassTemplateDecl>()) { in BuildQualifiedTemplateIdExpr()
3161 if (Result.getAsSingle<TypeDecl>() || in CheckTemplateTypeArgument()
7817 VarDecl *Prev = Previous.getAsSingle<VarDecl>(); in ActOnExplicitInstantiation()
7818 VarTemplateDecl *PrevTemplate = Previous.getAsSingle<VarTemplateDecl>(); in ActOnExplicitInstantiation()
DSemaExprCXX.cpp203 if (TypeDecl *Type = Found.getAsSingle<TypeDecl>()) { in getDestructorName()
225 if (ClassTemplateDecl *Template = Found.getAsSingle<ClassTemplateDecl>()) { in getDestructorName()
476 CXXTypeInfoDecl = R.getAsSingle<RecordDecl>(); in ActOnCXXTypeid()
481 CXXTypeInfoDecl = R.getAsSingle<RecordDecl>(); in ActOnCXXTypeid()
601 MSVCGuidDecl = R.getAsSingle<RecordDecl>(); in ActOnCXXUuidof()
DSemaLambda.cpp1046 Var = R.getAsSingle<VarDecl>(); in ActOnStartOfLambdaDefinition()
DSemaDecl.cpp556 if (const TagDecl *TD = R.getAsSingle<TagDecl>()) { in isTagName()
716 if (TagDecl *Tag = R.getAsSingle<TagDecl>()) { in isTagTypeWithMissingTag()
903 if (ObjCIvarDecl *Ivar = Result.getAsSingle<ObjCIvarDecl>()) { in ClassifyName()
1058 TypeDecl *Type = Result.getAsSingle<TypeDecl>(); in ClassifyName()
1758 if (const TagDecl *TD = Result.getAsSingle<TagDecl>()) in LookupPredefedObjCSuperType()
1985 TypeDecl *Old = OldDecls.getAsSingle<TypeDecl>(); in MergeTypedefNameDecl()
13394 PrevDecl = Previous.getAsSingle<NamedDecl>(); in HandleField()
DSemaExpr.cpp2267 if (ObjCIvarDecl *Ivar = R.getAsSingle<ObjCIvarDecl>()) { in ActOnIdExpression()
2332 assert(R.getAsSingle<VarTemplateDecl>() && in ActOnIdExpression()
2373 if (const TypeDecl *TD = R.getAsSingle<TypeDecl>()) { in BuildQualifiedDeclarationNameExpr()
2805 if (!NeedsADL && R.isSingleResult() && !R.getAsSingle<FunctionTemplateDecl>()) in BuildDeclarationNameExpr()
11808 FieldDecl *MemberDecl = R.getAsSingle<FieldDecl>(); in BuildBuiltinOffsetOf()
11811 if ((IndirectMemberDecl = R.getAsSingle<IndirectFieldDecl>())) in BuildBuiltinOffsetOf()
DSemaLookup.cpp2784 return R.getAsSingle<NamedDecl>(); in LookupSingleName()
DSemaTemplateInstantiateDecl.cpp1097 PrevClassTemplate = R.getAsSingle<ClassTemplateDecl>(); in VisitClassTemplateDecl()
DSemaOpenMP.cpp1178 if (!(VD = Lookup.getAsSingle<VarDecl>())) { in ActOnOpenMPIdExpression()
11517 NamedDecl *ND = Lookup.getAsSingle<NamedDecl>(); in ActOnOpenMPDeclareTargetName()
DTreeTransform.h988 Tag = Result.getAsSingle<TagDecl>(); in RebuildDependentNameType()
9726 NamedDecl *D = R.getAsSingle<NamedDecl>(); in TransformUnresolvedLookupExpr()
/external/llvm-project/clang/lib/Sema/
DSemaCXXScopeSpec.cpp425 return Found.getAsSingle<NamespaceDecl>(); in isNonTypeNestedNameSpecifier()
601 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier()
610 if (NamedDecl *ND = R.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier()
677 OuterDecl = FoundOuter.getAsSingle<NamedDecl>(); in BuildCXXNestedNameSpecifier()
813 if (TypeDecl *TD = Found.getAsSingle<TypeDecl>()) in BuildCXXNestedNameSpecifier()
819 if (NamedDecl *ND = Found.getAsSingle<NamedDecl>()) in BuildCXXNestedNameSpecifier()
DSemaCoroutine.cpp114 auto *Promise = R.getAsSingle<TypeDecl>(); in lookupPromiseType()
161 ClassTemplateDecl *CoroHandle = Result.getAsSingle<ClassTemplateDecl>(); in lookupCoroutineHandleType()
300 auto *BuiltInDecl = R.getAsSingle<FunctionDecl>(); in buildBuiltinCall()
1044 auto *VD = Result.getAsSingle<VarDecl>(); in buildStdNoThrowDeclRef()
1711 Result.getAsSingle<ClassTemplateDecl>())) { in lookupCoroutineTraits()
DSemaTemplate.cpp336 TemplateDecl *TD = R.getAsSingle<TemplateDecl>(); in isDeductionGuideName()
4711 if (auto *TD = R.getAsSingle<TemplateDecl>()) { in BuildTemplateIdExpr()
4719 if (R.getAsSingle<VarTemplateDecl>()) { in BuildTemplateIdExpr()
4721 R.getAsSingle<VarTemplateDecl>(), in BuildTemplateIdExpr()
4728 if (R.getAsSingle<ConceptDecl>()) { in BuildTemplateIdExpr()
4731 R.getAsSingle<ConceptDecl>(), TemplateArgs); in BuildTemplateIdExpr()
4778 if (ClassTemplateDecl *Temp = R.getAsSingle<ClassTemplateDecl>()) { in BuildQualifiedTemplateIdExpr()
4977 if (Result.getAsSingle<TypeDecl>() || in CheckTemplateTypeArgument()
10028 VarDecl *Prev = Previous.getAsSingle<VarDecl>(); in ActOnExplicitInstantiation()
10029 VarTemplateDecl *PrevTemplate = Previous.getAsSingle<VarTemplateDecl>(); in ActOnExplicitInstantiation()
DSemaDeclCXX.cpp1012 ClassTemplateDecl *TraitTD = Result.getAsSingle<ClassTemplateDecl>(); in lookupStdTypeTraitMember()
1116 auto *TD = R.getAsSingle<TypeDecl>(); in getTupleLikeElementType()
4204 TypeDecl *TyD = R.getAsSingle<TypeDecl>(); in BuildMemInitializer()
11034 Result.getAsSingle<NamespaceDecl>())) in lookupStdExperimentalNamespace()
11268 ClassTemplateDecl *Template = Result.getAsSingle<ClassTemplateDecl>(); in LookupStdInitializerList()
11420 NamespaceDecl *NS = R.getAsSingle<NamespaceDecl>(); in ActOnUsingDirective()
12142 if (!R.getAsSingle<TypeDecl>()) { in BuildUsingDeclaration()
12153 if (IsInstantiation && R.getAsSingle<TypeDecl>()) { in BuildUsingDeclaration()
12162 if (R.getAsSingle<NamespaceDecl>()) { in BuildUsingDeclaration()
12170 if (auto *ED = R.getAsSingle<EnumConstantDecl>()) { in BuildUsingDeclaration()
[all …]
DSemaAttr.cpp593 VarDecl *VD = Lookup.getAsSingle<VarDecl>(); in ActOnPragmaUnused()
DSemaLambda.cpp1163 Var = R.getAsSingle<VarDecl>(); in ActOnStartOfLambdaDefinition()
DSemaLookup.cpp919 if (const TagDecl *TD = Result.getAsSingle<TagDecl>()) in LookupPredefedObjCSuperType()
2986 return R.getAsSingle<NamedDecl>(); in LookupSingleName()
DSemaDecl.cpp617 if (const TagDecl *TD = R.getAsSingle<TagDecl>()) { in isTagName()
796 if (TagDecl *Tag = R.getAsSingle<TagDecl>()) { in isTagTypeWithMissingTag()
1004 if (ObjCIvarDecl *Ivar = Result.getAsSingle<ObjCIvarDecl>()) { in ClassifyName()
1179 TypeDecl *Type = Result.getAsSingle<TypeDecl>(); in ClassifyName()
2282 TypeDecl *Old = OldDecls.getAsSingle<TypeDecl>(); in MergeTypedefNameDecl()
16576 PrevDecl = Previous.getAsSingle<NamedDecl>(); in HandleField()
17763 NamedDecl *PrevDecl = R.getAsSingle<NamedDecl>(); in ActOnEnumConstant()
DSemaExprCXX.cpp237 if (TypeDecl *Type = Found.getAsSingle<TypeDecl>()) { in getDestructorName()
634 CXXTypeInfoDecl = R.getAsSingle<RecordDecl>(); in ActOnCXXTypeid()
639 CXXTypeInfoDecl = R.getAsSingle<RecordDecl>(); in ActOnCXXTypeid()
DSemaExpr.cpp2593 if (ObjCIvarDecl *Ivar = R.getAsSingle<ObjCIvarDecl>()) { in ActOnIdExpression()
2658 assert(R.getAsSingle<VarTemplateDecl>() && in ActOnIdExpression()
2706 if (const TypeDecl *TD = R.getAsSingle<TypeDecl>()) { in BuildQualifiedDeclarationNameExpr()
3162 !R.getAsSingle<FunctionTemplateDecl>() && in BuildDeclarationNameExpr()
15035 FieldDecl *MemberDecl = R.getAsSingle<FieldDecl>(); in BuildBuiltinOffsetOf()
15038 if ((IndirectMemberDecl = R.getAsSingle<IndirectFieldDecl>())) in BuildBuiltinOffsetOf()
/external/clang/include/clang/Sema/
DLookup.h491 DeclClass *getAsSingle() const { in getAsSingle() function
/external/llvm-project/clang/include/clang/Sema/
DLookup.h507 DeclClass *getAsSingle() const { in getAsSingle() function

12