Home
last modified time | relevance | path

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

12

/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()
/external/llvm-project/clang/lib/Sema/
DSemaDeclObjC.cpp552 NamedDecl *PrevDecl = LookupSingleName(TUScope, SuperName, SuperLoc, in ActOnSuperClassOfClassInterface()
561 TUScope, nullptr, CCC, CTK_ErrorRecovery)) { in ActOnSuperClassOfClassInterface()
986 LookupSingleName(TUScope, ClassName, ClassLoc, LookupOrdinaryName, in ActOnStartClassInterface()
1067 ProcessDeclAttributeList(TUScope, IDecl, AttrList); in ActOnStartClassInterface()
1068 AddPragmaAttributes(TUScope, IDecl); in ActOnStartClassInterface()
1074 PushOnScopeChains(IDecl, TUScope); in ActOnStartClassInterface()
1115 NamedDecl* IDecl = LookupSingleName(TUScope, SuperName, SuperLoc, in ActOnTypedefedProtocols()
1143 LookupSingleName(TUScope, AliasName, AliasLocation, LookupOrdinaryName, in ActOnCompatibilityAlias()
1152 LookupSingleName(TUScope, ClassName, ClassLocation, LookupOrdinaryName, in ActOnCompatibilityAlias()
1160 CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation, in ActOnCompatibilityAlias()
[all …]
DSema.cpp90 TUScope = S; in ActOnTranslationUnitScope()
183 TUScope = nullptr;
219 PushOnScopeChains(Context.buildImplicitTypedef(T, Name), TUScope); in addImplicitTypedef()
235 if (!TUScope) in Initialize()
246 PushOnScopeChains(Context.getInt128Decl(), TUScope); in Initialize()
250 PushOnScopeChains(Context.getUInt128Decl(), TUScope); in Initialize()
260 PushOnScopeChains(Context.getObjCSelDecl(), TUScope); in Initialize()
266 PushOnScopeChains(Context.getObjCIdDecl(), TUScope); in Initialize()
271 PushOnScopeChains(Context.getObjCClassDecl(), TUScope); in Initialize()
276 PushOnScopeChains(Context.getObjCProtocolDecl(), TUScope); in Initialize()
[all …]
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()
2800 S.LookupSingleName(S.TUScope, II, Protocol->getBeginLoc(), in isMethodDeclaredInRootProtocol()
3746 return LookupName(R, TUScope, false); in isKnownName()
4018 if (S.LookupName(R, S.TUScope)) { in CheckObjCBridgeNSCast()
4084 if (S.LookupName(R, S.TUScope)) { in CheckObjCBridgeCFCast()
4245 if (!LookupName(R, TUScope)) { in checkObjCBridgeRelatedComponents()
DSemaCoroutine.cpp298 S.LookupName(R, S.TUScope, /*AllowBuiltinCreation=*/true); in buildBuiltinCall()
DSemaLookup.cpp898 LazilyCreateBuiltin(II, BuiltinID, TUScope, in LookupBuiltin()
2993 Decl *D = LookupSingleName(TUScope, II, IdLoc, in LookupProtocol()
DSemaDecl.cpp1983 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName); in getObjCInterfaceDecl()
1991 TUScope, nullptr, CCC, CTK_ErrorRecovery)) { in getObjCInterfaceDecl()
2147 PushOnScopeChains(New, TUScope); in LazilyCreateBuiltin()
18251 NamedDecl *PrevDecl = LookupSingleName(TUScope, Name, NameLoc, in ActOnPragmaRedefineExtname()
18276 Decl *PrevDecl = LookupSingleName(TUScope, Name, NameLoc, LookupOrdinaryName); in ActOnPragmaWeakID()
18292 Decl *PrevDecl = LookupSingleName(TUScope, AliasName, AliasNameLoc, in ActOnPragmaWeakAlias()
18299 DeclApplyPragmaWeak(TUScope, ND, W); in ActOnPragmaWeakAlias()
DSemaExpr.cpp590 S.LookupSingleName(S.TUScope, in DiagnoseDirectIsaAccess()
606 S.LookupSingleName(S.TUScope, in DiagnoseDirectIsaAccess()
669 NamedDecl *ObjectGetClass = LookupSingleName(TUScope, in DefaultLvalueConversion()
1001 ExprResult TrapFn = ActOnIdExpression(TUScope, SS, TemplateKWLoc, Name, in DefaultVariadicArgumentPromotion()
1007 ExprResult Call = BuildCallExpr(TUScope, TrapFn.get(), E->getBeginLoc(), in DefaultVariadicArgumentPromotion()
1013 ActOnBinOp(TUScope, E->getBeginLoc(), tok::comma, Call.get(), E); in DefaultVariadicArgumentPromotion()
14058 NamedDecl *ObjectSetClass = LookupSingleName(TUScope, in CreateBuiltinBinOp()
DSemaCodeComplete.cpp7769 LookupSingleName(TUScope, ClassName, ClassNameLoc, LookupOrdinaryName); in CodeCompleteObjCSuperclass()
7816 LookupSingleName(TUScope, ClassName, ClassNameLoc, LookupOrdinaryName); in CodeCompleteObjCInterfaceCategory()
7847 LookupSingleName(TUScope, ClassName, ClassNameLoc, LookupOrdinaryName); in CodeCompleteObjCImplementationCategory()
DSemaDeclCXX.cpp13609 S.LookupName(R, S.TUScope, true); in buildMemcpyForAssignmentOp()
17798 ProcessDeclAttributes(TUScope, NewPD, D); in HandleMSProperty()
DSemaOpenMP.cpp12888 S.LookupSingleName(S.TUScope, AllocatorName, Loc, Sema::LookupAnyName)); in findOMPAllocatorHandleT()
19294 TUScope, AllocatorName, StartLoc, Sema::LookupAnyName)); in ActOnOpenMPUsesAllocatorClause()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DCxxModuleHandler.cpp61 result.push_back(sema.TUScope); in makeScopes()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFAcceleratorTable.cpp695 ListScope TUScope(W, "Local Type Unit offsets"); in dumpLocalTUs() local
705 ListScope TUScope(W, "Foreign Type Unit signatures"); in dumpForeignTUs() local
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFAcceleratorTable.cpp710 ListScope TUScope(W, "Local Type Unit offsets"); in dumpLocalTUs() local
720 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/llvm-project/clang/lib/Serialization/
DASTReader.cpp11742 if (SemaObj->IdResolver.tryAddTopLevelDecl(D, Name) && SemaObj->TUScope) { in pushExternalDeclIntoScope()
11743 SemaObj->TUScope->AddDecl(D); in pushExternalDeclIntoScope()
11744 } else if (SemaObj->TUScope) { in pushExternalDeclIntoScope()
11750 SemaObj->TUScope->AddDecl(D); in pushExternalDeclIntoScope()
/external/clang/include/clang/Sema/
DSema.h712 Scope *TUScope; variable
/external/llvm-project/clang/include/clang/Sema/
DSema.h992 Scope *TUScope; variable

12