/external/clang/lib/Sema/ |
SemaCodeComplete.cpp | 267 bool CheckHiddenResult(Result &R, DeclContext *CurContext, 274 /// \param CurContext the result to add (if it is unique). 277 void MaybeAddResult(Result R, DeclContext *CurContext = 0); 284 /// \param CurContext the context in which this result will be named. 290 void AddResult(Result R, DeclContext *CurContext, NamedDecl *Hiding, 421 /// (\p CurContext) to the target context (\p TargetContext). 425 /// \param CurContext the context where an entity is being named, which is 435 DeclContext *CurContext, 440 CommonAncestor && !CommonAncestor->Encloses(CurContext); 547 bool ResultBuilder::CheckHiddenResult(Result &R, DeclContext *CurContext, [all...] |
SemaCXXScopeSpec.cpp | 29 DeclContext *CurContext) { 42 for (; !CurContext->isFileContext(); CurContext = CurContext->getParent()) 43 if (CurContext->Equals(Record)) 65 return ::getCurrentInstantiationOf(T, CurContext); 198 return ::getCurrentInstantiationOf(T, CurContext); [all...] |
SemaDeclObjC.cpp | 249 return ::CheckObjCMethodOverrides(*this, NewMethod, CurContext); 429 IDecl->setLexicalDeclContext(CurContext); 430 CurContext->addDecl(IDecl); 436 IDecl = ObjCInterfaceDecl::Create(Context, CurContext, AtInterfaceLoc, 570 ObjCCompatibleAliasDecl::Create(Context, CurContext, AtLoc, AliasName, CDecl); 631 CurContext->addDecl(PDecl); 635 PDecl = ObjCProtocolDecl::Create(Context, CurContext, 736 PDecl = ObjCProtocolDecl::Create(Context, CurContext, 751 ObjCForwardProtocolDecl::Create(Context, CurContext, AtProtocolLoc, 754 CurContext->addDecl(PDecl) [all...] |
Sema.cpp | 69 PushOnScopeChains(TypedefDecl::Create(Context, CurContext, 76 PushOnScopeChains(TypedefDecl::Create(Context, CurContext, 93 = TypedefDecl::Create(Context, CurContext, 104 ObjCInterfaceDecl::Create(Context, CurContext, SourceLocation(), 116 = TypedefDecl::Create(Context, CurContext, 129 = TypedefDecl::Create(Context, CurContext, 145 CurContext(0), PackContext(0), MSStructPragmaOn(false), VisContext(0), 215 FunctionDecl *fn = dyn_cast<FunctionDecl>(CurContext); 574 DeclContext *DC = CurContext; [all...] |
SemaDeclCXX.cpp | 618 CurDecl = dyn_cast_or_null<CXXRecordDecl>(CurContext); [all...] |
SemaDecl.cpp | 273 if (CurContext->isRecord()) { 276 CXXRecordDecl *RD = cast<CXXRecordDecl>(CurContext); 749 assert(getContainingDC(DC) == CurContext && 751 CurContext = DC; 756 assert(CurContext && "DeclContext imbalance!"); 758 CurContext = getContainingDC(CurContext); 759 assert(CurContext && "Popped translation unit!"); 787 assert(Ancestor->getEntity() == CurContext && "ancestor context mismatch"); 790 CurContext = DC [all...] |
SemaTemplate.cpp | [all...] |
SemaLookup.cpp | [all...] |
SemaExprObjC.cpp | 239 DeclContext *DC = CurContext; 449 DeclContext *DC = CurContext; [all...] |
SemaStmt.cpp | [all...] |
SemaObjCProperty.cpp | 734 ObjCPropertyImplDecl::Create(Context, CurContext, AtLoc, PropertyLoc, [all...] |
SemaExpr.cpp | 107 if (cast<Decl>(CurContext)->getAvailability() != AR_Unavailable) { [all...] |
SemaDeclAttr.cpp | [all...] |
SemaTemplateInstantiate.cpp | [all...] |
SemaAccess.cpp | [all...] |
SemaInit.cpp | [all...] |
SemaOverload.cpp | 600 (OldIsUsingDecl || NewIsUsingDecl) && CurContext->isRecord(); 747 return FD->isUnavailable() && !cast<Decl>(CurContext)->isUnavailable(); [all...] |
SemaExprMember.cpp | 195 if (CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(SemaRef.CurContext)) { [all...] |
SemaTemplateInstantiateDecl.cpp | [all...] |
SemaExprCXX.cpp | 638 DeclContext *DC = CurContext; [all...] |
SemaType.cpp | [all...] |
TreeTransform.h | [all...] |
/external/clang/lib/Parse/ |
ParseCXXInlineMethods.cpp | 91 ((Actions.CurContext->isDependentContext() ||
|
/external/clang/include/clang/Sema/ |
Sema.h | 205 /// CurContext - This is the current declaration context of parsing. 206 DeclContext *CurContext; 412 : S(S), SavedContext(S.CurContext), 416 S.CurContext = ContextToPush; 421 S.CurContext = SavedContext; [all...] |