/external/clang/lib/Sema/ |
D | Sema.cpp | 69 TUScope = S; in ActOnTranslationUnitScope() 110 TUScope = nullptr; in Sema() 136 PushOnScopeChains(Context.buildImplicitTypedef(T, Name), TUScope); in addImplicitTypedef() 152 if (!TUScope) in Initialize() 161 PushOnScopeChains(Context.getInt128Decl(), TUScope); in Initialize() 165 PushOnScopeChains(Context.getUInt128Decl(), TUScope); in Initialize() 175 PushOnScopeChains(Context.getObjCSelDecl(), TUScope); in Initialize() 181 PushOnScopeChains(Context.getObjCIdDecl(), TUScope); in Initialize() 186 PushOnScopeChains(Context.getObjCClassDecl(), TUScope); in Initialize() 191 PushOnScopeChains(Context.getObjCProtocolDecl(), TUScope); in Initialize() [all …]
|
D | SemaDeclObjC.cpp | 476 NamedDecl *PrevDecl = LookupSingleName(TUScope, SuperName, SuperLoc, in ActOnSuperClassOfClassInterface() 484 LookupOrdinaryName, TUScope, in ActOnSuperClassOfClassInterface() 913 NamedDecl *PrevDecl = LookupSingleName(TUScope, ClassName, ClassLoc, in ActOnStartClassInterface() 995 ProcessDeclAttributeList(TUScope, IDecl, AttrList); in ActOnStartClassInterface() 996 PushOnScopeChains(IDecl, TUScope); in ActOnStartClassInterface() 1036 NamedDecl* IDecl = LookupSingleName(TUScope, SuperName, SuperLoc, in ActOnTypedefedProtocols() 1057 NamedDecl *ADecl = LookupSingleName(TUScope, AliasName, AliasLocation, in ActOnCompatibilityAlias() 1065 NamedDecl *CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation, in ActOnCompatibilityAlias() 1073 CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation, in ActOnCompatibilityAlias() 1091 PushOnScopeChains(AliasDecl, TUScope); in ActOnCompatibilityAlias() [all …]
|
D | SemaExprObjC.cpp | 104 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc, in BuildObjCStringLiteral() 119 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc, in BuildObjCStringLiteral() 225 NamedDecl *IF = S.LookupSingleName(S.TUScope, II, Loc, in LookupObjCInterfaceDeclForLiteral() 3340 return LookupName(R, TUScope, false); in isKnownName() 3611 if (S.LookupName(R, S.TUScope)) { in CheckObjCBridgeNSCast() 3676 if (S.LookupName(R, S.TUScope)) { in CheckObjCBridgeCFCast() 3836 if (!LookupName(R, TUScope)) { in checkObjCBridgeRelatedComponents()
|
D | SemaDecl.cpp | 1265 if (IdResolver.tryAddTopLevelDecl(D, Name) && TUScope) in pushExternalDeclIntoScope() 1266 TUScope->AddDecl(D); in pushExternalDeclIntoScope() 1640 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName); in getObjCInterfaceDecl() 1646 DeclarationNameInfo(Id, IdLoc), LookupOrdinaryName, TUScope, nullptr, in getObjCInterfaceDecl() 1794 PushOnScopeChains(New, TUScope); in LazilyCreateBuiltin() 11397 FunctionDecl *FD = cast<FunctionDecl>(ActOnDeclarator(TUScope, D)); in ImplicitlyDefineFunction() 14715 NamedDecl *PrevDecl = LookupSingleName(TUScope, Name, NameLoc, in ActOnPragmaRedefineExtname() 14738 Decl *PrevDecl = LookupSingleName(TUScope, Name, NameLoc, LookupOrdinaryName); in ActOnPragmaWeakID() 14754 Decl *PrevDecl = LookupSingleName(TUScope, AliasName, AliasNameLoc, in ActOnPragmaWeakAlias() 14761 DeclApplyPragmaWeak(TUScope, ND, W); in ActOnPragmaWeakAlias()
|
D | SemaLookup.cpp | 687 BuiltinID, S.TUScope, in LookupBuiltin() 2698 Decl *D = LookupSingleName(TUScope, II, IdLoc, in LookupProtocol()
|
D | SemaExpr.cpp | 586 S.LookupSingleName(S.TUScope, in DiagnoseDirectIsaAccess() 601 S.LookupSingleName(S.TUScope, in DiagnoseDirectIsaAccess() 660 NamedDecl *ObjectGetClass = LookupSingleName(TUScope, in DefaultLvalueConversion() 965 ExprResult TrapFn = ActOnIdExpression(TUScope, SS, TemplateKWLoc, in DefaultVariadicArgumentPromotion() 970 ExprResult Call = ActOnCallExpr(TUScope, TrapFn.get(), in DefaultVariadicArgumentPromotion() 976 ExprResult Comma = ActOnBinOp(TUScope, E->getLocStart(), tok::comma, in DefaultVariadicArgumentPromotion() 10428 NamedDecl *ObjectSetClass = LookupSingleName(TUScope, in CreateBuiltinBinOp()
|
D | SemaCodeComplete.cpp | 6024 = LookupSingleName(TUScope, ClassName, ClassNameLoc, LookupOrdinaryName); in CodeCompleteObjCSuperclass() 6073 = LookupSingleName(TUScope, ClassName, ClassNameLoc, LookupOrdinaryName); in CodeCompleteObjCInterfaceCategory() 6104 = LookupSingleName(TUScope, ClassName, ClassNameLoc, LookupOrdinaryName); in CodeCompleteObjCImplementationCategory()
|
D | SemaDeclCXX.cpp | 9706 S.LookupName(R, S.TUScope, true); in buildMemcpyForAssignmentOp() 13794 ProcessDeclAttributes(TUScope, NewPD, D); in HandleMSProperty()
|
D | SemaChecking.cpp | 2225 LookupName(Res, TUScope, /*AllowBuiltinCreation=*/true); in SemaBuiltinAtomicOverloaded()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 8619 if (SemaObj->IdResolver.tryAddTopLevelDecl(D, Name) && SemaObj->TUScope) { in pushExternalDeclIntoScope() 8620 SemaObj->TUScope->AddDecl(D); in pushExternalDeclIntoScope() 8621 } else if (SemaObj->TUScope) { in pushExternalDeclIntoScope() 8627 SemaObj->TUScope->AddDecl(D); in pushExternalDeclIntoScope()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 680 Scope *TUScope; variable
|