Lines Matching defs:ND
71 void ASTImporterLookupTable::add(DeclContext *DC, NamedDecl *ND) {
72 DeclList &Decls = LookupTable[DC][ND->getDeclName()];
74 Decls.insert(ND);
77 void ASTImporterLookupTable::remove(DeclContext *DC, NamedDecl *ND) {
78 DeclList &Decls = LookupTable[DC][ND->getDeclName()];
79 bool EraseResult = Decls.remove(ND);
84 void ASTImporterLookupTable::add(NamedDecl *ND) {
85 assert(ND);
86 DeclContext *DC = ND->getDeclContext()->getPrimaryContext();
87 add(DC, ND);
90 add(ReDC, ND);
93 void ASTImporterLookupTable::remove(NamedDecl *ND) {
94 assert(ND);
95 DeclContext *DC = ND->getDeclContext()->getPrimaryContext();
96 remove(DC, ND);
99 remove(ReDC, ND);
126 for (NamedDecl *ND : List) {
127 ND->dump();