Searched defs:CurContext (Results 1 - 7 of 7) sorted by relevance

/external/clang/include/clang/Sema/
H A DTypoCorrection.h317 DeclContext *CurContext; member in class:clang::FunctionCallFilterCCC
H A DSema.h252 /// CurContext - This is the current declaration context of parsing.
253 DeclContext *CurContext; member in class:clang::Sema
556 : S(S), SavedContext(S.CurContext),
561 S.CurContext = ContextToPush;
568 S.CurContext = SavedContext;
8392 return OriginalLexicalContext ? OriginalLexicalContext : CurContext;
/external/clang/lib/Sema/
H A DSemaCXXScopeSpec.cpp30 DeclContext *CurContext) {
38 Record->isCurrentInstantiation(CurContext))
60 return ::getCurrentInstantiationOf(T, CurContext);
176 return ::getCurrentInstantiationOf(T, CurContext);
704 DeclContext *DC = LookupCtx ? LookupCtx : CurContext;
943 return CurContext->getRedeclContext()->isFileContext();
29 getCurrentInstantiationOf(QualType T, DeclContext *CurContext) argument
H A DSemaCodeComplete.cpp282 bool CheckHiddenResult(Result &R, DeclContext *CurContext,
291 /// \param CurContext the context in which this result will be named.
292 void MaybeAddResult(Result R, DeclContext *CurContext = nullptr);
299 /// \param CurContext the context in which this result will be named.
305 void AddResult(Result R, DeclContext *CurContext, NamedDecl *Hiding,
437 /// (\p CurContext) to the target context (\p TargetContext).
441 /// \param CurContext the context where an entity is being named, which is
451 const DeclContext *CurContext,
456 CommonAncestor && !CommonAncestor->Encloses(CurContext);
554 bool ResultBuilder::CheckHiddenResult(Result &R, DeclContext *CurContext, argument
450 getRequiredQualification(ASTContext &Context, const DeclContext *CurContext, const DeclContext *TargetContext) argument
813 MaybeAddResult(Result R, DeclContext *CurContext) argument
931 AddResult(Result R, DeclContext *CurContext, NamedDecl *Hiding, bool InBaseClass = false) argument
1253 DeclContext *CurContext; member in class:__anon18021::CodeCompletionDeclConsumer
1256 CodeCompletionDeclConsumer(ResultBuilder &Results, DeclContext *CurContext) argument
3097 DeclContext *CurContext = S.CurContext; local
3456 AddObjCProperties(ObjCContainerDecl *Container, bool AllowCategories, bool AllowNullaryMethods, DeclContext *CurContext, AddedPropertiesSet &AddedProperties, ResultBuilder &Results) argument
3471 CurContext); local
3489 CurContext); local
4353 CurContext, nullptr, false); local
4797 AddObjCMethods(ObjCContainerDecl *Container, bool WantInstanceMethods, ObjCMethodKind WantKind, ArrayRef<IdentifierInfo *> SelIdents, DeclContext *CurContext, VisitedSelectorSet &Selectors, bool AllowSameLength, ResultBuilder &Results, bool InOriginalClass = true) argument
5692 AddProtocolResults(DeclContext *Ctx, DeclContext *CurContext, bool OnlyForwardDeclarations, ResultBuilder &Results) argument
5702 CurContext, nullptr, false); local
5757 AddInterfaceResults(DeclContext *Ctx, DeclContext *CurContext, bool OnlyForwardDeclarations, bool OnlyUnimplemented, ResultBuilder &Results) argument
5769 CurContext, nullptr, false); local
5864 CurContext, nullptr, false); local
5901 CurContext, nullptr, false); local
6001 CurContext, nullptr, false); local
[all...]
H A DSemaLookup.cpp3242 Res = LabelDecl::Create(Context, CurContext, Loc, II, GnuLabelLoc);
3252 if (Res && Res->getDeclContext() != CurContext)
3256 Res = LabelDecl::Create(Context, CurContext, Loc, II);
3344 Namespaces(SemaRef.Context, SemaRef.CurContext, SS),
3422 NamespaceSpecifierSet(ASTContext &Context, DeclContext *CurContext,
3743 ASTContext &Context, DeclContext *CurContext, CXXScopeSpec *CurScopeSpec)
3744 : Context(Context), CurContextChain(buildContextChain(CurContext)),
4018 if (isa<CXXMethodDecl>(SemaRef.CurContext) &&
4019 cast<CXXMethodDecl>(SemaRef.CurContext)->isInstance())
4183 if (getLangOpts().MSVCCompat && CurContext
3742 NamespaceSpecifierSet( ASTContext &Context, DeclContext *CurContext, CXXScopeSpec *CurScopeSpec) argument
[all...]
H A DSemaTemplate.cpp897 SemanticContext = CurContext;
935 DeclContext *OutermostContext = CurContext;
974 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) &&
1026 if (!(TUK == TUK_Friend && CurContext->isDependentContext()) &&
1093 NewClass->setLexicalDeclContext(CurContext);
1094 NewTemplate->setLexicalDeclContext(CurContext);
1118 if (!CurContext->isDependentContext()) {
1126 FriendDecl *Friend = FriendDecl::Create(Context, CurContext,
1131 CurContext->addDecl(Friend);
2083 // changes to CurContext do
6964 DeclContext *CurContext = S.CurContext->getRedeclContext(); local
[all...]
H A DSemaDeclCXX.cpp1234 CurDecl = dyn_cast_or_null<CXXRecordDecl>(CurContext);
1255 CurDecl = dyn_cast_or_null<CXXRecordDecl>(CurContext);
1815 AccessSpecDecl *ASDecl = AccessSpecDecl::Create(Context, Access, CurContext,
1817 CurContext->addHiddenDecl(ASDecl);
1945 assert(isa<CXXRecordDecl>(CurContext));
1950 if (cast<CXXRecordDecl>(CurContext)->isInterface()) {
2112 Member = HandleMSProperty(S, cast<CXXRecordDecl>(CurContext), Loc, D,
2118 Member = HandleField(S, cast<CXXRecordDecl>(CurContext), Loc, D,
2897 if (CurContext->isDependentContext())
3026 if (CurContext
7025 IsUsingDirectiveInToplevelContext(DeclContext *CurContext) argument
[all...]

Completed in 775 milliseconds