Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/unittests/Sema/
H A DSemaLookupTest.cpp33 S.LookupName(R_cpp, S.TUScope, /*AllowBuiltinCreation=*/false, in ExecuteAction()
43 S.LookupName(R_nocpp, S.TUScope, /*AllowBuiltinCreation=*/false, in ExecuteAction()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclObjC.cpp1068 AddPragmaAttributes(TUScope, IDecl); in ActOnStartClassInterface()
1074 PushOnScopeChains(IDecl, TUScope); in ActOnStartClassInterface()
1239 PushOnScopeChains(PDecl, TUScope); in ActOnStartProtocolInterface()
1256 PushOnScopeChains(PDecl, TUScope); in ActOnStartProtocolInterface()
1261 AddPragmaAttributes(TUScope, PDecl); in ActOnStartProtocolInterface()
1789 PushOnScopeChains(PDecl, TUScope); in ActOnForwardProtocolDeclaration()
1793 AddPragmaAttributes(TUScope, PDecl); in ActOnForwardProtocolDeclaration()
1881 AddPragmaAttributes(TUScope, CDecl); in ActOnStartCategoryInterface()
1934 AddPragmaAttributes(TUScope, CDecl); in ActOnStartCategoryImplementation()
2052 PushOnScopeChains(IDecl, TUScope); in ActOnStartClassImplementation()
[all …]
H A DSema.cpp125 TUScope = S; in ActOnTranslationUnitScope()
222 TUScope = nullptr; in Sema()
279 if (!TUScope) in Initialize()
290 PushOnScopeChains(Context.getInt128Decl(), TUScope); in Initialize()
294 PushOnScopeChains(Context.getUInt128Decl(), TUScope); in Initialize()
304 PushOnScopeChains(Context.getObjCSelDecl(), TUScope); in Initialize()
310 PushOnScopeChains(Context.getObjCIdDecl(), TUScope); in Initialize()
315 PushOnScopeChains(Context.getObjCClassDecl(), TUScope); in Initialize()
333 TUScope); in Initialize()
1171 TUScope = nullptr; in ActOnEndOfTranslationUnit()
[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()
3747 return LookupName(R, TUScope, false); in isKnownName()
4021 if (S.LookupName(R, S.TUScope)) { in CheckObjCBridgeNSCast()
4085 if (S.LookupName(R, S.TUScope)) { in CheckObjCBridgeCFCast()
4246 if (!LookupName(R, TUScope)) { in checkObjCBridgeRelatedComponents()
H A DSemaLookup.cpp693 S.LookupName(Result, S.TUScope); in getOpenCLEnumType()
706 S.LookupName(Result, S.TUScope); in getOpenCLTypedefType()
949 LazilyCreateBuiltin(II, BuiltinID, TUScope, in LookupBuiltin()
3291 Decl *D = LookupSingleName(TUScope, II, IdLoc, in LookupProtocol()
H A DSemaAttr.cpp807 NamedDecl *ND = LookupSingleName(TUScope, DN, Loc, LookupOrdinaryName); in ActOnPragmaMSAllocText()
H A DSemaDecl.cpp2231 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName); in getObjCInterfaceDecl()
2239 TUScope, nullptr, CCC, CTK_ErrorRecovery)) { in getObjCInterfaceDecl()
2397 PushOnScopeChains(New, TUScope); in LazilyCreateBuiltin()
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()
19235 DeclApplyPragmaWeak(TUScope, ND, W); in ActOnPragmaWeakAlias()
H A DSemaExpr.cpp593 S.LookupSingleName(S.TUScope, in DiagnoseDirectIsaAccess()
609 S.LookupSingleName(S.TUScope, in DiagnoseDirectIsaAccess()
673 NamedDecl *ObjectGetClass = LookupSingleName(TUScope, in DefaultLvalueConversion()
1052 ExprResult TrapFn = ActOnIdExpression(TUScope, SS, TemplateKWLoc, Name, in DefaultVariadicArgumentPromotion()
1058 ExprResult Call = BuildCallExpr(TUScope, TrapFn.get(), E->getBeginLoc(), in DefaultVariadicArgumentPromotion()
1064 ActOnBinOp(TUScope, E->getBeginLoc(), tok::comma, Call.get(), E); in DefaultVariadicArgumentPromotion()
6853 LookupName(R, TUScope, /*AllowBuiltinCreation=*/true); in BuildBuiltinCallExpr()
15058 NamedDecl *ObjectSetClass = LookupSingleName(TUScope, in CreateBuiltinBinOp()
H A DSemaCodeComplete.cpp8421 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 DSemaDeclCXX.cpp14061 S.LookupName(R, S.TUScope, true); in buildMemcpyForAssignmentOp()
18346 ProcessDeclAttributes(TUScope, NewPD, D); in HandleMSProperty()
H A DSemaOpenMP.cpp16337 S.LookupSingleName(S.TUScope, AllocatorName, Loc, Sema::LookupAnyName)); in findOMPAllocatorHandleT()
23327 TUScope, AllocatorName, StartLoc, Sema::LookupAnyName)); in ActOnOpenMPUsesAllocatorClause()
H A DSemaChecking.cpp6851 LookupName(Res, TUScope, /*AllowBuiltinCreation=*/true); in SemaBuiltinAtomicOverloaded()
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DCxxModuleHandler.cpp66 result.push_back(sema.TUScope); in makeScopes()
/llvm-project-15.0.7/clang/unittests/Interpreter/
H A DInterpreterTest.cpp250 SemaRef.LookupName(R, SemaRef.TUScope);
/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.cpp709 ListScope TUScope(W, "Local Type Unit offsets"); in dumpLocalTUs() local
719 ListScope TUScope(W, "Foreign Type Unit signatures"); in dumpForeignTUs() local
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReader.cpp11417 if (SemaObj->IdResolver.tryAddTopLevelDecl(D, Name) && SemaObj->TUScope) { in pushExternalDeclIntoScope()
11418 SemaObj->TUScope->AddDecl(D); in pushExternalDeclIntoScope()
11419 } else if (SemaObj->TUScope) { in pushExternalDeclIntoScope()
11425 SemaObj->TUScope->AddDecl(D); in pushExternalDeclIntoScope()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h1124 Scope *TUScope; variable