/external/clang/lib/Sema/ |
D | SemaCXXScopeSpec.cpp | 426 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()
|
D | SemaCoroutine.cpp | 42 ClassTemplateDecl *CoroTraits = Result.getAsSingle<ClassTemplateDecl>(); in lookupPromiseType() 78 auto *Promise = R.getAsSingle<TypeDecl>(); in lookupPromiseType()
|
D | SemaAttr.cpp | 343 VarDecl *VD = Lookup.getAsSingle<VarDecl>(); in ActOnPragmaUnused()
|
D | SemaDeclCXX.cpp | 2917 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 …]
|
D | SemaTemplate.cpp | 377 } 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()
|
D | SemaExprCXX.cpp | 203 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()
|
D | SemaLambda.cpp | 1046 Var = R.getAsSingle<VarDecl>(); in ActOnStartOfLambdaDefinition()
|
D | SemaDecl.cpp | 556 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()
|
D | SemaExpr.cpp | 2267 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()
|
D | SemaLookup.cpp | 2784 return R.getAsSingle<NamedDecl>(); in LookupSingleName()
|
D | SemaTemplateInstantiateDecl.cpp | 1097 PrevClassTemplate = R.getAsSingle<ClassTemplateDecl>(); in VisitClassTemplateDecl()
|
D | SemaOpenMP.cpp | 1178 if (!(VD = Lookup.getAsSingle<VarDecl>())) { in ActOnOpenMPIdExpression() 11517 NamedDecl *ND = Lookup.getAsSingle<NamedDecl>(); in ActOnOpenMPDeclareTargetName()
|
D | TreeTransform.h | 988 Tag = Result.getAsSingle<TagDecl>(); in RebuildDependentNameType() 9726 NamedDecl *D = R.getAsSingle<NamedDecl>(); in TransformUnresolvedLookupExpr()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaCXXScopeSpec.cpp | 425 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()
|
D | SemaCoroutine.cpp | 114 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()
|
D | SemaTemplate.cpp | 336 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()
|
D | SemaDeclCXX.cpp | 1012 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 …]
|
D | SemaAttr.cpp | 593 VarDecl *VD = Lookup.getAsSingle<VarDecl>(); in ActOnPragmaUnused()
|
D | SemaLambda.cpp | 1163 Var = R.getAsSingle<VarDecl>(); in ActOnStartOfLambdaDefinition()
|
D | SemaLookup.cpp | 919 if (const TagDecl *TD = Result.getAsSingle<TagDecl>()) in LookupPredefedObjCSuperType() 2986 return R.getAsSingle<NamedDecl>(); in LookupSingleName()
|
D | SemaDecl.cpp | 617 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()
|
D | SemaExprCXX.cpp | 237 if (TypeDecl *Type = Found.getAsSingle<TypeDecl>()) { in getDestructorName() 634 CXXTypeInfoDecl = R.getAsSingle<RecordDecl>(); in ActOnCXXTypeid() 639 CXXTypeInfoDecl = R.getAsSingle<RecordDecl>(); in ActOnCXXTypeid()
|
D | SemaExpr.cpp | 2593 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/ |
D | Lookup.h | 491 DeclClass *getAsSingle() const { in getAsSingle() function
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Lookup.h | 507 DeclClass *getAsSingle() const { in getAsSingle() function
|