Lines Matching refs:NamedDecl
38 using MangledSymbols = std::map<const NamedDecl *, MangledSymbol>;
40 bool WriteNamedDecl(const NamedDecl *ND, MangledSymbols &Symbols, int RDO) { in WriteNamedDecl()
48 auto isVisible = [](const NamedDecl *ND) -> bool { in WriteNamedDecl()
52 auto ignoreDecl = [this, isVisible](const NamedDecl *ND) -> bool { in WriteNamedDecl()
84 auto getParentFunctionDecl = [](const NamedDecl *ND) -> const NamedDecl * { in WriteNamedDecl()
92 auto getMangledNames = [](const NamedDecl *ND) -> std::vector<std::string> { in WriteNamedDecl()
114 const NamedDecl *ParentDecl = getParentFunctionDecl(ND); in WriteNamedDecl()
147 HandleNamedDecl(dyn_cast<NamedDecl>(D), Symbols, RDO); in HandleDecls()
153 HandleNamedDecl(dyn_cast<NamedDecl>(D), Symbols, RDO); in HandleTemplateSpecializations()
159 HandleNamedDecl(dyn_cast<NamedDecl>(D), Symbols, RDO); in HandleTemplateSpecializations()
162 bool HandleNamedDecl(const NamedDecl *ND, MangledSymbols &Symbols, int RDO) { in HandleNamedDecl()
245 bool VisitNamedDecl(NamedDecl *ND) { in HandleTranslationUnit()
261 std::set<const NamedDecl *> LateParsedDecls; in HandleTranslationUnit()
262 std::set<NamedDecl *> NamedDecls; in HandleTranslationUnit()
283 for (const NamedDecl *ND : v.ValueDecls) in HandleTranslationUnit()
285 for (const NamedDecl *ND : v.NamedDecls) in HandleTranslationUnit()