Home
last modified time | relevance | path

Searched refs:LookupSingleName (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Interpreter/
H A DInterpreterTest.cpp245 static NamedDecl *LookupSingleName(Interpreter &Interp, const char *Name) { function
284 TypeDecl *TD = cast<TypeDecl>(LookupSingleName(*Interp, "A"));
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclObjC.cpp552 NamedDecl *PrevDecl = LookupSingleName(TUScope, SuperName, SuperLoc, in ActOnSuperClassOfClassInterface()
986 LookupSingleName(TUScope, ClassName, ClassLoc, LookupOrdinaryName, in ActOnStartClassInterface()
1116 NamedDecl* IDecl = LookupSingleName(TUScope, SuperName, SuperLoc, in ActOnTypedefedProtocols()
1144 LookupSingleName(TUScope, AliasName, AliasLocation, LookupOrdinaryName, in ActOnCompatibilityAlias()
1153 LookupSingleName(TUScope, ClassName, ClassLocation, LookupOrdinaryName, in ActOnCompatibilityAlias()
1161 CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation, in ActOnCompatibilityAlias()
1545 NamedDecl *decl = LookupSingleName(S, identifiers[i], identifierLocs[i], in actOnObjCTypeArgsOrProtocolQualifiers()
1975 = LookupSingleName(TUScope, ClassName, ClassLoc, LookupOrdinaryName, in ActOnStartClassImplementation()
2008 PrevDecl = LookupSingleName(TUScope, SuperClassname, SuperClassLoc, in ActOnStartClassImplementation()
3061 = LookupSingleName(TUScope, IdentList[i], IdentLocs[i], in ActOnForwardClassDeclaration()
[all …]
H A DSemaExprObjC.cpp102 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc, in BuildObjCStringLiteral()
117 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc, in BuildObjCStringLiteral()
223 NamedDecl *IF = S.LookupSingleName(S.TUScope, II, Loc, in LookupObjCInterfaceDeclForLiteral()
2801 S.LookupSingleName(S.TUScope, II, Protocol->getBeginLoc(), in isMethodDeclaredInRootProtocol()
H A DSemaLookup.cpp3278 NamedDecl *Sema::LookupSingleName(Scope *S, DeclarationName Name, in LookupSingleName() function in Sema
3291 Decl *D = LookupSingleName(TUScope, II, IdLoc, in LookupProtocol()
4416 Res = LookupSingleName(CurScope, II, Loc, LookupLabel, NotForRedeclaration); in LookupOrCreateLabel()
H A DSemaAttr.cpp807 NamedDecl *ND = LookupSingleName(TUScope, DN, Loc, LookupOrdinaryName); in ActOnPragmaMSAllocText()
H A DSema.cpp1181 Decl *PrevDecl = LookupSingleName(TUScope, WeakIDs.first, SourceLocation(), in ActOnEndOfTranslationUnit()
H A DSemaDecl.cpp2231 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName); in getObjCInterfaceDecl()
16103 NamedDecl *Lookup = SemaRef.LookupSingleName( in createFriendTagNNSFixIt()
17807 NamedDecl *PrevDecl = LookupSingleName(S, II, Loc, LookupMemberName, in ActOnIvar()
18665 NamedDecl *PrevDecl = LookupSingleName(S, II, IILoc, LookupOrdinaryName, in shouldSkipAnonEnumBody()
19189 NamedDecl *PrevDecl = LookupSingleName(TUScope, Name, NameLoc, in ActOnPragmaRedefineExtname()
19214 Decl *PrevDecl = LookupSingleName(TUScope, Name, NameLoc, LookupOrdinaryName); in ActOnPragmaWeakID()
19228 Decl *PrevDecl = LookupSingleName(TUScope, AliasName, AliasNameLoc, in ActOnPragmaWeakAlias()
H A DSemaCodeComplete.cpp7904 NamedDecl *ND = LookupSingleName(S, Super, SuperLoc, LookupOrdinaryName); in CodeCompleteObjCSuperMessage()
8421 LookupSingleName(TUScope, ClassName, ClassNameLoc, LookupOrdinaryName); in CodeCompleteObjCSuperclass()
8468 LookupSingleName(TUScope, ClassName, ClassNameLoc, LookupOrdinaryName); in CodeCompleteObjCInterfaceCategory()
8499 LookupSingleName(TUScope, ClassName, ClassNameLoc, LookupOrdinaryName); in CodeCompleteObjCImplementationCategory()
H A DSemaExpr.cpp593 S.LookupSingleName(S.TUScope, in DiagnoseDirectIsaAccess()
609 S.LookupSingleName(S.TUScope, in DiagnoseDirectIsaAccess()
673 NamedDecl *ObjectGetClass = LookupSingleName(TUScope, in DefaultLvalueConversion()
15058 NamedDecl *ObjectSetClass = LookupSingleName(TUScope, in CreateBuiltinBinOp()
H A DSemaTemplate.cpp969 NamedDecl *PrevDecl = SemaRef.LookupSingleName( in maybeDiagnoseTemplateParameterShadow()
H A DSemaOpenMP.cpp16337 S.LookupSingleName(S.TUScope, AllocatorName, Loc, Sema::LookupAnyName)); in findOMPAllocatorHandleT()
23326 PredefinedAllocators.insert(LookupSingleName( in ActOnOpenMPUsesAllocatorClause()
H A DSemaDeclCXX.cpp16510 if (NamedDecl *PrevDecl = LookupSingleName(S, II, D.getIdentifierLoc(), in ActOnExceptionDeclarator()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h4326 NamedDecl *LookupSingleName(Scope *S, DeclarationName Name,