Home
last modified time | relevance | path

Searched refs:LexicalDC (Results 1 – 12 of 12) sorted by relevance

/external/clang/lib/Frontend/
DASTConsumers.cpp304 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() local
305 if (SemaDC != LexicalDC) in PrintDeclContext()
333 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() local
334 if (SemaDC != LexicalDC) in PrintDeclContext()
349 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() local
350 if (SemaDC != LexicalDC) in PrintDeclContext()
365 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() local
366 if (SemaDC != LexicalDC) in PrintDeclContext()
/external/clang/lib/AST/
DASTImporter.cpp84 DeclContext *&LexicalDC, DeclarationName &Name,
1999 DeclContext *&LexicalDC, in ImportDeclParts() argument
2008 LexicalDC = DC; in ImportDeclParts()
2010 LexicalDC = Importer.ImportContext(D->getLexicalDeclContext()); in ImportDeclParts()
2011 if (!LexicalDC) in ImportDeclParts()
2459 DeclContext *DC, *LexicalDC; in VisitNamespaceDecl() local
2463 if (ImportDeclParts(D, DC, LexicalDC, Name, ToD, Loc)) in VisitNamespaceDecl()
2509 ToNamespace->setLexicalDeclContext(LexicalDC); in VisitNamespaceDecl()
2510 LexicalDC->addDeclInternal(ToNamespace); in VisitNamespaceDecl()
2530 DeclContext *DC, *LexicalDC; in VisitTypedefNameDecl() local
[all …]
DDeclBase.cpp264 getMultipleDC()->LexicalDC = DC; in setLexicalDeclContext()
269 void Decl::setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC, in setDeclContextsImpl() argument
271 if (SemaDC == LexicalDC) { in setDeclContextsImpl()
276 MDC->LexicalDC = LexicalDC; in setDeclContextsImpl()
/external/clang/tools/libclang/
DCXIndexDataConsumer.cpp28 const DeclContext *LexicalDC; member in __anon1f1212030111::IndexingDeclVisitor
33 : DataConsumer(dataConsumer), DeclLoc(Loc), LexicalDC(lexicalDC) { } in IndexingDeclVisitor()
95 if (isa<ObjCImplDecl>(LexicalDC) && !D->isThisDeclarationADefinition()) in VisitObjCMethodDecl()
96 DataConsumer.handleSynthesizedObjCMethod(D, DeclLoc, LexicalDC); in VisitObjCMethodDecl()
208 const DeclContext *LexicalDC = ASTNode.ContainerDC; in handleDeclOccurence() local
209 if (!LexicalDC) { in handleDeclOccurence()
212 LexicalDC = dyn_cast<DeclContext>(SymRel.RelatedSymbol); in handleDeclOccurence()
215 IndexingDeclVisitor(*this, Loc, LexicalDC).Visit(ASTNode.OrigD); in handleDeclOccurence()
532 const DeclContext *LexicalDC, in handleDecl() argument
545 if (!LexicalDC) in handleDecl()
[all …]
DCXIndexDataConsumer.h426 const DeclContext *LexicalDC);
479 const DeclContext *LexicalDC = nullptr,
/external/clang/include/clang/AST/
DDeclBase.h228 DeclContext *LexicalDC; member
720 return getMultipleDC()->LexicalDC; in getLexicalDeclContext()
1031 void setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC,
/external/clang/include/clang/Serialization/
DASTReader.h964 serialization::GlobalDeclID LexicalDC; member
1262 serialization::GlobalDeclID LexicalDC) { in addPendingDeclContextInfo() argument
1264 PendingDeclContextInfo Info = { D, SemaDC, LexicalDC }; in addPendingDeclContextInfo()
/external/clang/lib/Sema/
DSemaLambda.cpp296 if (const DeclContext *LexicalDC in getCurrentMangleNumberContext() local
298 if (LexicalDC->isRecord()) in getCurrentMangleNumberContext()
DSemaTemplateInstantiateDecl.cpp1560 DeclContext *LexicalDC = Owner; in VisitFunctionDecl() local
1563 LexicalDC = D->getDeclContext(); in VisitFunctionDecl()
1566 Function->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
1596 FunctionTemplate->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
DSemaCodeComplete.cpp731 const DeclContext *LexicalDC = ND->getLexicalDeclContext(); in getBasePriority() local
732 if (LexicalDC->isFunctionOrMethod()) { in getBasePriority()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp518 DeclContext *LexicalDC = ReadDeclAs<DeclContext>(Record, Idx); in VisitDecl() local
519 if (!LexicalDC) in VisitDecl()
520 LexicalDC = SemaDC; in VisitDecl()
524 D->setDeclContextsImpl(MergedSemaDC ? MergedSemaDC : SemaDC, LexicalDC, in VisitDecl()
DASTReader.cpp8374 DeclContext *LexicalDC = cast<DeclContext>(GetDecl(Info.LexicalDC)); in finishPendingActions() local
8375 Info.D->setDeclContextsImpl(SemaDC, LexicalDC, getContext()); in finishPendingActions()