/external/clang/lib/AST/ |
D | ASTImporter.cpp | 83 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 …]
|
D | DeclBase.cpp | 227 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/ |
D | ASTConsumers.cpp | 305 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/ |
D | IndexingContext.cpp | 312 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()
|
D | IndexingContext.h | 424 const DeclContext *LexicalDC); 471 const DeclContext *LexicalDC = nullptr);
|
/external/clang/include/clang/AST/ |
D | DeclBase.h | 210 DeclContext *LexicalDC; member 678 return getMultipleDC()->LexicalDC; in getLexicalDeclContext() 976 void setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC,
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 995 serialization::GlobalDeclID LexicalDC; member 1272 serialization::GlobalDeclID LexicalDC) { in addPendingDeclContextInfo() argument 1274 PendingDeclContextInfo Info = { D, SemaDC, LexicalDC }; in addPendingDeclContextInfo()
|
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 295 if (const DeclContext *LexicalDC in getCurrentMangleNumberContext() local 297 if (LexicalDC->isRecord()) in getCurrentMangleNumberContext()
|
D | SemaTemplateInstantiateDecl.cpp | 1388 DeclContext *LexicalDC = Owner; in VisitFunctionDecl() local 1391 LexicalDC = D->getDeclContext(); in VisitFunctionDecl() 1394 Function->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl() 1424 FunctionTemplate->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
|
D | SemaCodeComplete.cpp | 714 const DeclContext *LexicalDC = ND->getLexicalDeclContext(); in getBasePriority() local 715 if (LexicalDC->isFunctionOrMethod()) { in getBasePriority()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 437 DeclContext *LexicalDC = ReadDeclAs<DeclContext>(Record, Idx); in VisitDecl() local 441 D->setDeclContextsImpl(MergedSemaDC ? MergedSemaDC : SemaDC, LexicalDC, in VisitDecl()
|
D | ASTReader.cpp | 8397 DeclContext *LexicalDC = cast<DeclContext>(GetDecl(Info.LexicalDC)); in finishPendingActions() local 8398 Info.D->setDeclContextsImpl(SemaDC, LexicalDC, getContext()); in finishPendingActions()
|