Home
last modified time | relevance | path

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

/external/clang/lib/AST/
DASTImporter.cpp82 DeclContext *&LexicalDC, DeclarationName &Name,
1797 DeclContext *&LexicalDC, in ImportDeclParts() argument
1805 LexicalDC = DC; in ImportDeclParts()
1807 LexicalDC = Importer.ImportContext(D->getLexicalDeclContext()); in ImportDeclParts()
1808 if (!LexicalDC) in ImportDeclParts()
2195 DeclContext *DC, *LexicalDC; in VisitNamespaceDecl() local
2198 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc)) in VisitNamespaceDecl()
2242 ToNamespace->setLexicalDeclContext(LexicalDC); in VisitNamespaceDecl()
2243 LexicalDC->addDeclInternal(ToNamespace); in VisitNamespaceDecl()
2263 DeclContext *DC, *LexicalDC; in VisitTypedefNameDecl() local
[all …]
DDeclBase.cpp219 getMultipleDC()->LexicalDC = DC; in setLexicalDeclContext()
223 void Decl::setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC, in setDeclContextsImpl() argument
225 if (SemaDC == LexicalDC) { in setDeclContextsImpl()
230 MDC->LexicalDC = LexicalDC; in setDeclContextsImpl()
/external/clang/lib/Frontend/
DASTConsumers.cpp293 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() local
294 if (SemaDC != LexicalDC) in PrintDeclContext()
323 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() local
324 if (SemaDC != LexicalDC) in PrintDeclContext()
339 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() local
340 if (SemaDC != LexicalDC) in PrintDeclContext()
355 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() local
356 if (SemaDC != LexicalDC) in PrintDeclContext()
/external/clang/tools/libclang/
DIndexingContext.cpp311 const DeclContext *LexicalDC) { in handleDecl() argument
323 if (!LexicalDC) in handleDecl()
324 LexicalDC = D->getLexicalDeclContext(); in handleDecl()
340 if (LexicalDC == D->getDeclContext()) { in handleDecl()
351 getContainerInfo(LexicalDC, DInfo.LexicalContainer); in handleDecl()
589 const DeclContext *LexicalDC) { in handleSynthesizedObjCMethod() argument
592 return handleDecl(D, Loc, getCursor(D), DInfo, LexicalDC); in handleSynthesizedObjCMethod()
DIndexingContext.h425 const DeclContext *LexicalDC);
472 const DeclContext *LexicalDC = 0);
/external/clang/include/clang/AST/
DDeclBase.h213 DeclContext *LexicalDC; member
640 return getMultipleDC()->LexicalDC; in getLexicalDeclContext()
877 void setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC,
/external/clang/include/clang/Serialization/
DASTReader.h836 serialization::GlobalDeclID LexicalDC; member
1090 serialization::GlobalDeclID LexicalDC) { in addPendingDeclContextInfo() argument
1092 PendingDeclContextInfo Info = { D, SemaDC, LexicalDC }; in addPendingDeclContextInfo()
/external/clang/lib/Sema/
DSemaLambda.cpp117 if (const DeclContext *LexicalDC in startLambdaDefinition() local
119 if (LexicalDC->isRecord()) in startLambdaDefinition()
DSemaTemplateInstantiateDecl.cpp1176 DeclContext *LexicalDC = Owner; in VisitFunctionDecl() local
1179 LexicalDC = D->getDeclContext(); in VisitFunctionDecl()
1182 Function->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
1229 FunctionTemplate->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp347 DeclContext *LexicalDC = ReadDeclAs<DeclContext>(Record, Idx); in VisitDecl() local
350 D->setDeclContextsImpl(SemaDC, LexicalDC, Reader.getContext()); in VisitDecl()
DASTReader.cpp7034 DeclContext *LexicalDC = cast<DeclContext>(GetDecl(Info.LexicalDC)); in finishPendingActions() local
7035 Info.D->setDeclContextsImpl(SemaDC, LexicalDC, getContext()); in finishPendingActions()