Lines Matching refs:NamedDecl
39 using MangledSymbols = std::map<const NamedDecl *, MangledSymbol>;
41 bool WriteNamedDecl(const NamedDecl *ND, MangledSymbols &Symbols, int RDO) { in WriteNamedDecl()
49 auto isVisible = [](const NamedDecl *ND) -> bool { in WriteNamedDecl()
53 auto ignoreDecl = [this, isVisible](const NamedDecl *ND) -> bool { in WriteNamedDecl()
85 auto getParentFunctionDecl = [](const NamedDecl *ND) -> const NamedDecl * { in WriteNamedDecl()
93 auto getMangledNames = [](const NamedDecl *ND) -> std::vector<std::string> { in WriteNamedDecl()
115 const NamedDecl *ParentDecl = getParentFunctionDecl(ND); in WriteNamedDecl()
148 HandleNamedDecl(dyn_cast<NamedDecl>(D), Symbols, RDO); in HandleDecls()
154 HandleNamedDecl(dyn_cast<NamedDecl>(D), Symbols, RDO); in HandleTemplateSpecializations()
160 HandleNamedDecl(dyn_cast<NamedDecl>(D), Symbols, RDO); in HandleTemplateSpecializations()
163 bool HandleNamedDecl(const NamedDecl *ND, MangledSymbols &Symbols, int RDO) { in HandleNamedDecl()
246 bool VisitNamedDecl(NamedDecl *ND) { in HandleTranslationUnit()
262 std::set<const NamedDecl *> LateParsedDecls; in HandleTranslationUnit()
263 std::set<NamedDecl *> NamedDecls; in HandleTranslationUnit()
284 for (const NamedDecl *ND : v.ValueDecls) in HandleTranslationUnit()
286 for (const NamedDecl *ND : v.NamedDecls) in HandleTranslationUnit()