Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSema.cpp70 TUScope = S; in ActOnTranslationUnitScope()
112 TUScope = nullptr;
139 PushOnScopeChains(Context.buildImplicitTypedef(T, Name), TUScope); in addImplicitTypedef()
155 if (!TUScope) in Initialize()
164 PushOnScopeChains(Context.getInt128Decl(), TUScope); in Initialize()
168 PushOnScopeChains(Context.getUInt128Decl(), TUScope); in Initialize()
178 PushOnScopeChains(Context.getObjCSelDecl(), TUScope); in Initialize()
184 PushOnScopeChains(Context.getObjCIdDecl(), TUScope); in Initialize()
189 PushOnScopeChains(Context.getObjCClassDecl(), TUScope); in Initialize()
194 PushOnScopeChains(Context.getObjCProtocolDecl(), TUScope); in Initialize()
[all …]
DSemaDeclObjC.cpp475 NamedDecl *PrevDecl = LookupSingleName(TUScope, SuperName, SuperLoc, in ActOnSuperClassOfClassInterface()
483 LookupOrdinaryName, TUScope, in ActOnSuperClassOfClassInterface()
912 NamedDecl *PrevDecl = LookupSingleName(TUScope, ClassName, ClassLoc, in ActOnStartClassInterface()
994 ProcessDeclAttributeList(TUScope, IDecl, AttrList); in ActOnStartClassInterface()
995 PushOnScopeChains(IDecl, TUScope); in ActOnStartClassInterface()
1035 NamedDecl* IDecl = LookupSingleName(TUScope, SuperName, SuperLoc, in ActOnTypedefedProtocols()
1056 NamedDecl *ADecl = LookupSingleName(TUScope, AliasName, AliasLocation, in ActOnCompatibilityAlias()
1064 NamedDecl *CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation, in ActOnCompatibilityAlias()
1072 CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation, in ActOnCompatibilityAlias()
1090 PushOnScopeChains(AliasDecl, TUScope); in ActOnCompatibilityAlias()
[all …]
DSemaExprObjC.cpp101 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc, in BuildObjCStringLiteral()
116 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc, in BuildObjCStringLiteral()
222 NamedDecl *IF = S.LookupSingleName(S.TUScope, II, Loc, in LookupObjCInterfaceDeclForLiteral()
3369 return LookupName(R, TUScope, false); in isKnownName()
3642 if (S.LookupName(R, S.TUScope)) { in CheckObjCBridgeNSCast()
3707 if (S.LookupName(R, S.TUScope)) { in CheckObjCBridgeCFCast()
3865 if (!LookupName(R, TUScope)) { in checkObjCBridgeRelatedComponents()
DSemaDecl.cpp1305 if (IdResolver.tryAddTopLevelDecl(D, Name) && TUScope) in pushExternalDeclIntoScope()
1306 TUScope->AddDecl(D); in pushExternalDeclIntoScope()
1692 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName); in getObjCInterfaceDecl()
1698 DeclarationNameInfo(Id, IdLoc), LookupOrdinaryName, TUScope, nullptr, in getObjCInterfaceDecl()
1849 PushOnScopeChains(New, TUScope); in LazilyCreateBuiltin()
11805 FunctionDecl *FD = cast<FunctionDecl>(ActOnDeclarator(TUScope, D)); in ImplicitlyDefineFunction()
15182 NamedDecl *PrevDecl = LookupSingleName(TUScope, Name, NameLoc, in ActOnPragmaRedefineExtname()
15205 Decl *PrevDecl = LookupSingleName(TUScope, Name, NameLoc, LookupOrdinaryName); in ActOnPragmaWeakID()
15221 Decl *PrevDecl = LookupSingleName(TUScope, AliasName, AliasNameLoc, in ActOnPragmaWeakAlias()
15228 DeclApplyPragmaWeak(TUScope, ND, W); in ActOnPragmaWeakAlias()
DSemaExpr.cpp598 S.LookupSingleName(S.TUScope, in DiagnoseDirectIsaAccess()
613 S.LookupSingleName(S.TUScope, in DiagnoseDirectIsaAccess()
672 NamedDecl *ObjectGetClass = LookupSingleName(TUScope, in DefaultLvalueConversion()
977 ExprResult TrapFn = ActOnIdExpression(TUScope, SS, TemplateKWLoc, in DefaultVariadicArgumentPromotion()
982 ExprResult Call = ActOnCallExpr(TUScope, TrapFn.get(), in DefaultVariadicArgumentPromotion()
988 ExprResult Comma = ActOnBinOp(TUScope, E->getLocStart(), tok::comma, in DefaultVariadicArgumentPromotion()
10955 NamedDecl *ObjectSetClass = LookupSingleName(TUScope, in CreateBuiltinBinOp()
DSemaLookup.cpp702 BuiltinID, S.TUScope, in LookupBuiltin()
2791 Decl *D = LookupSingleName(TUScope, II, IdLoc, in LookupProtocol()
DSemaCodeComplete.cpp6044 = LookupSingleName(TUScope, ClassName, ClassNameLoc, LookupOrdinaryName); in CodeCompleteObjCSuperclass()
6093 = LookupSingleName(TUScope, ClassName, ClassNameLoc, LookupOrdinaryName); in CodeCompleteObjCInterfaceCategory()
6124 = LookupSingleName(TUScope, ClassName, ClassNameLoc, LookupOrdinaryName); in CodeCompleteObjCImplementationCategory()
DSemaDeclCXX.cpp9832 S.LookupName(R, S.TUScope, true); in buildMemcpyForAssignmentOp()
14019 ProcessDeclAttributes(TUScope, NewPD, D); in HandleMSProperty()
DSemaChecking.cpp2950 LookupName(Res, TUScope, /*AllowBuiltinCreation=*/true); in SemaBuiltinAtomicOverloaded()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFAcceleratorTable.cpp696 ListScope TUScope(W, "Local Type Unit offsets"); in dumpLocalTUs() local
705 ListScope TUScope(W, "Foreign Type Unit signatures"); in dumpForeignTUs() local
/external/clang/lib/Serialization/
DASTReader.cpp8675 if (SemaObj->IdResolver.tryAddTopLevelDecl(D, Name) && SemaObj->TUScope) { in pushExternalDeclIntoScope()
8676 SemaObj->TUScope->AddDecl(D); in pushExternalDeclIntoScope()
8677 } else if (SemaObj->TUScope) { in pushExternalDeclIntoScope()
8683 SemaObj->TUScope->AddDecl(D); in pushExternalDeclIntoScope()
/external/clang/include/clang/Sema/
DSema.h712 Scope *TUScope; variable