Home
last modified time | relevance | path

Searched refs:TUScope (Results 1 – 11 of 11) sorted by relevance

/external/clang/lib/Sema/
DSema.cpp70 TUScope = S; in ActOnTranslationUnitScope()
109 TUScope = nullptr; in Sema()
136 PushOnScopeChains(Context.buildImplicitTypedef(T, Name), TUScope); in addImplicitTypedef()
162 PushOnScopeChains(Context.getInt128Decl(), TUScope); in Initialize()
166 PushOnScopeChains(Context.getUInt128Decl(), TUScope); in Initialize()
176 PushOnScopeChains(Context.getObjCSelDecl(), TUScope); in Initialize()
182 PushOnScopeChains(Context.getObjCIdDecl(), TUScope); in Initialize()
187 PushOnScopeChains(Context.getObjCClassDecl(), TUScope); in Initialize()
192 PushOnScopeChains(Context.getObjCProtocolDecl(), TUScope); in Initialize()
200 TUScope); in Initialize()
[all …]
DSemaDeclObjC.cpp461 NamedDecl *PrevDecl = LookupSingleName(TUScope, ClassName, ClassLoc, in ActOnStartClassInterface()
503 ProcessDeclAttributeList(TUScope, IDecl, AttrList); in ActOnStartClassInterface()
504 PushOnScopeChains(IDecl, TUScope); in ActOnStartClassInterface()
513 PrevDecl = LookupSingleName(TUScope, SuperName, SuperLoc, in ActOnStartClassInterface()
521 LookupOrdinaryName, TUScope, nullptr, in ActOnStartClassInterface()
611 NamedDecl* IDecl = LookupSingleName(TUScope, SuperName, SuperLoc, in ActOnTypedefedProtocols()
632 NamedDecl *ADecl = LookupSingleName(TUScope, AliasName, AliasLocation, in ActOnCompatibilityAlias()
640 NamedDecl *CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation, in ActOnCompatibilityAlias()
648 CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation, in ActOnCompatibilityAlias()
666 PushOnScopeChains(AliasDecl, TUScope); in ActOnCompatibilityAlias()
[all …]
DSemaExprObjC.cpp104 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc, in BuildObjCStringLiteral()
119 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc, in BuildObjCStringLiteral()
202 NamedDecl *IF = S.LookupSingleName(S.TUScope, NSNumberId, in getNSNumberFactoryMethod()
468 NamedDecl *Decl = LookupSingleName(TUScope, NSStringId, in BuildObjCBoxedExpr()
637 NamedDecl *IF = LookupSingleName(TUScope, in BuildObjCArrayLiteral()
753 NamedDecl *IF = LookupSingleName(TUScope, in BuildObjCDictionaryLiteral()
3089 return LookupName(R, TUScope, false); in isKnownName()
3360 if (S.LookupName(R, S.TUScope)) { in CheckObjCBridgeNSCast()
3425 if (S.LookupName(R, S.TUScope)) { in CheckObjCBridgeCFCast()
3585 if (!LookupName(R, TUScope)) { in checkObjCBridgeRelatedComponents()
DSemaDecl.cpp1248 if (IdResolver.tryAddTopLevelDecl(D, Name) && TUScope) in pushExternalDeclIntoScope()
1249 TUScope->AddDecl(D); in pushExternalDeclIntoScope()
1623 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName); in getObjCInterfaceDecl()
1629 DeclarationNameInfo(Id, IdLoc), LookupOrdinaryName, TUScope, nullptr, in getObjCInterfaceDecl()
1779 PushOnScopeChains(New, TUScope); in LazilyCreateBuiltin()
10891 FunctionDecl *FD = cast<FunctionDecl>(ActOnDeclarator(TUScope, D)); in ImplicitlyDefineFunction()
14076 Decl *PrevDecl = LookupSingleName(TUScope, Name, NameLoc, in ActOnPragmaRedefineExtname()
14091 Decl *PrevDecl = LookupSingleName(TUScope, Name, NameLoc, LookupOrdinaryName); in ActOnPragmaWeakID()
14107 Decl *PrevDecl = LookupSingleName(TUScope, AliasName, AliasNameLoc, in ActOnPragmaWeakAlias()
14114 DeclApplyPragmaWeak(TUScope, ND, W); in ActOnPragmaWeakAlias()
DSemaChecking.cpp2011 LookupName(Res, TUScope, /*AllowBuiltinCreation=*/true); in SemaBuiltinAtomicOverloaded()
8322 NamedDecl *IF = S.LookupSingleName(S.TUScope, NSMutableArrayId, in GetNSMutableArrayArgumentIndex()
8371 NamedDecl *IF = S.LookupSingleName(S.TUScope, NSMutableDictionaryId, in GetNSMutableDictionaryArgumentIndex()
8417 NamedDecl *IF = S.LookupSingleName(S.TUScope, NSMutableSetId, in GetNSSetArgumentIndex()
8432 NamedDecl *IF = S.LookupSingleName(S.TUScope, NSCountedSetId, in GetNSSetArgumentIndex()
8447 NamedDecl *IF = S.LookupSingleName(S.TUScope, NSOrderedSetId, in GetNSSetArgumentIndex()
DSemaLookup.cpp544 BuiltinID, S.TUScope, in LookupBuiltin()
2381 Decl *D = LookupSingleName(TUScope, II, IdLoc, in LookupProtocol()
DSemaExpr.cpp563 S.LookupSingleName(S.TUScope, in DiagnoseDirectIsaAccess()
578 S.LookupSingleName(S.TUScope, in DiagnoseDirectIsaAccess()
637 NamedDecl *ObjectGetClass = LookupSingleName(TUScope, in DefaultLvalueConversion()
937 ExprResult TrapFn = ActOnIdExpression(TUScope, SS, TemplateKWLoc, in DefaultVariadicArgumentPromotion()
942 ExprResult Call = ActOnCallExpr(TUScope, TrapFn.get(), in DefaultVariadicArgumentPromotion()
948 ExprResult Comma = ActOnBinOp(TUScope, E->getLocStart(), tok::comma, in DefaultVariadicArgumentPromotion()
10136 NamedDecl *ObjectSetClass = LookupSingleName(TUScope, in CreateBuiltinBinOp()
DSemaCodeComplete.cpp5946 = LookupSingleName(TUScope, ClassName, ClassNameLoc, LookupOrdinaryName); in CodeCompleteObjCSuperclass()
5995 = LookupSingleName(TUScope, ClassName, ClassNameLoc, LookupOrdinaryName); in CodeCompleteObjCInterfaceCategory()
6026 = LookupSingleName(TUScope, ClassName, ClassNameLoc, LookupOrdinaryName); in CodeCompleteObjCImplementationCategory()
DSemaDeclCXX.cpp9669 S.LookupName(R, S.TUScope, true); in buildMemcpyForAssignmentOp()
13730 ProcessDeclAttributes(TUScope, NewPD, D); in HandleMSProperty()
/external/clang/lib/Serialization/
DASTReader.cpp8678 if (SemaObj->IdResolver.tryAddTopLevelDecl(D, Name) && SemaObj->TUScope) { in pushExternalDeclIntoScope()
8679 SemaObj->TUScope->AddDecl(D); in pushExternalDeclIntoScope()
8680 } else if (SemaObj->TUScope) { in pushExternalDeclIntoScope()
8686 SemaObj->TUScope->AddDecl(D); in pushExternalDeclIntoScope()
/external/clang/include/clang/Sema/
DSema.h619 Scope *TUScope; variable