Home | History | Annotate | Download | only in Sema

Lines Matching full:nameddecl

28 class NamedDecl;
43 typedef SmallVector<NamedDecl*, 2> DeclsTy;
48 void AddDecl(NamedDecl *D) { Decls.push_back(D); }
52 void RemoveDecl(NamedDecl *D);
57 bool ReplaceDecl(NamedDecl *Old, NamedDecl *New);
60 void InsertDecl(DeclsTy::iterator Pos, NamedDecl *D) {
75 typedef NamedDecl * value_type;
76 typedef NamedDecl * reference;
77 typedef NamedDecl * pointer;
82 /// 1) A single NamedDecl. (Ptr & 0x1 == 0)
90 /// A single NamedDecl. (Ptr & 0x1 == 0)
91 iterator(NamedDecl *D) {
114 NamedDecl *operator*() const {
118 return reinterpret_cast<NamedDecl*>(Ptr);
165 void AddDecl(NamedDecl *D);
169 void RemoveDecl(NamedDecl *D);
174 bool ReplaceDecl(NamedDecl *Old, NamedDecl *New);
178 void InsertDeclAfter(iterator Pos, NamedDecl *D);
188 bool tryAddTopLevelDecl(NamedDecl *D, DeclarationName Name);