Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DASTImporter.cpp83 DeclContext *&LexicalDC, DeclarationName &Name,
1831 DeclContext *&LexicalDC, in ImportDeclParts() argument
1839 LexicalDC = DC; in ImportDeclParts()
1841 LexicalDC = Importer.ImportContext(D->getLexicalDeclContext()); in ImportDeclParts()
1842 if (!LexicalDC) in ImportDeclParts()
2261 DeclContext *DC, *LexicalDC; in VisitNamespaceDecl() local
2264 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc)) in VisitNamespaceDecl()
2308 ToNamespace->setLexicalDeclContext(LexicalDC); in VisitNamespaceDecl()
2309 LexicalDC->addDeclInternal(ToNamespace); in VisitNamespaceDecl()
2329 DeclContext *DC, *LexicalDC; in VisitTypedefNameDecl() local
[all …]
DDeclBase.cpp227 getMultipleDC()->LexicalDC = DC; in setLexicalDeclContext()
231 void Decl::setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC, in setDeclContextsImpl() argument
233 if (SemaDC == LexicalDC) { in setDeclContextsImpl()
238 MDC->LexicalDC = LexicalDC; in setDeclContextsImpl()
/external/clang/lib/Frontend/
DASTConsumers.cpp305 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() local
306 if (SemaDC != LexicalDC) in PrintDeclContext()
335 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() local
336 if (SemaDC != LexicalDC) in PrintDeclContext()
351 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() local
352 if (SemaDC != LexicalDC) in PrintDeclContext()
367 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() local
368 if (SemaDC != LexicalDC) in PrintDeclContext()
/external/clang/tools/libclang/
DIndexingContext.cpp312 const DeclContext *LexicalDC) { in handleDecl() argument
324 if (!LexicalDC) in handleDecl()
325 LexicalDC = D->getLexicalDeclContext(); in handleDecl()
341 if (LexicalDC == D->getDeclContext()) { in handleDecl()
352 getContainerInfo(LexicalDC, DInfo.LexicalContainer); in handleDecl()
598 const DeclContext *LexicalDC) { in handleSynthesizedObjCMethod() argument
601 return handleDecl(D, Loc, getCursor(D), DInfo, LexicalDC); in handleSynthesizedObjCMethod()
DIndexingContext.h424 const DeclContext *LexicalDC);
471 const DeclContext *LexicalDC = nullptr);
/external/clang/include/clang/AST/
DDeclBase.h210 DeclContext *LexicalDC; member
678 return getMultipleDC()->LexicalDC; in getLexicalDeclContext()
976 void setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC,
/external/clang/include/clang/Serialization/
DASTReader.h995 serialization::GlobalDeclID LexicalDC; member
1272 serialization::GlobalDeclID LexicalDC) { in addPendingDeclContextInfo() argument
1274 PendingDeclContextInfo Info = { D, SemaDC, LexicalDC }; in addPendingDeclContextInfo()
/external/clang/lib/Sema/
DSemaLambda.cpp295 if (const DeclContext *LexicalDC in getCurrentMangleNumberContext() local
297 if (LexicalDC->isRecord()) in getCurrentMangleNumberContext()
DSemaTemplateInstantiateDecl.cpp1388 DeclContext *LexicalDC = Owner; in VisitFunctionDecl() local
1391 LexicalDC = D->getDeclContext(); in VisitFunctionDecl()
1394 Function->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
1424 FunctionTemplate->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
DSemaCodeComplete.cpp714 const DeclContext *LexicalDC = ND->getLexicalDeclContext(); in getBasePriority() local
715 if (LexicalDC->isFunctionOrMethod()) { in getBasePriority()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp437 DeclContext *LexicalDC = ReadDeclAs<DeclContext>(Record, Idx); in VisitDecl() local
441 D->setDeclContextsImpl(MergedSemaDC ? MergedSemaDC : SemaDC, LexicalDC, in VisitDecl()
DASTReader.cpp8397 DeclContext *LexicalDC = cast<DeclContext>(GetDecl(Info.LexicalDC)); in finishPendingActions() local
8398 Info.D->setDeclContextsImpl(SemaDC, LexicalDC, getContext()); in finishPendingActions()