Home
last modified time | relevance | path

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

/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/clang/include/clang/Sema/
DLookup.h491 DeclClass *getAsSingle() const { in getAsSingle() function