/external/llvm-project/clang/include/clang/AST/ |
D | DeclContextInternals.h | 36 using DeclsTy = SmallVector<NamedDecl *, 4>; member 40 using DeclsAndHasExternalTy = llvm::PointerIntPair<DeclsTy *, 1, bool>; 56 if (DeclsTy *Vector = getAsVector()) in ~StoredDeclsList() 61 if (DeclsTy *Vector = getAsVector()) 78 DeclsTy *getAsVector() const { in getAsVector() 87 if (DeclsTy *Vec = getAsVector()) in setHasExternalDecls() 90 DeclsTy *VT = new DeclsTy(); in setHasExternalDecls() 115 DeclsTy &Vec = *getAsVector(); in remove() 116 DeclsTy::iterator I = llvm::find(Vec, D); in remove() 132 DeclsTy &Vec = *getAsVector(); in removeExternalDecls() [all …]
|
D | UnresolvedSet.h | 62 using DeclsTy = SmallVectorImpl<DeclAccessPair>; variable 103 for (DeclsTy::iterator I = decls().begin(), E = decls().end(); I != E; ++I) in replace() 139 DeclsTy &decls() { in decls() 140 return *reinterpret_cast<DeclsTy*>(this); in decls() 142 const DeclsTy &decls() const { in decls() 143 return *reinterpret_cast<const DeclsTy*>(this); in decls()
|
D | ASTUnresolvedSet.h | 32 struct DeclsTy : ASTVector<DeclAccessPair> { struct 33 DeclsTy() = default; 34 DeclsTy(ASTContext &C, unsigned N) : ASTVector<DeclAccessPair>(C, N) {} in DeclsTy() function 40 DeclsTy Decls; argument 63 for (DeclsTy::iterator I = Decls.begin(), E = Decls.end(); I != E; ++I) { in replace()
|
/external/clang/include/clang/AST/ |
D | DeclContextInternals.h | 35 typedef SmallVector<NamedDecl *, 4> DeclsTy; typedef 39 typedef llvm::PointerIntPair<DeclsTy *, 1, bool> DeclsAndHasExternalTy; 55 if (DeclsTy *Vector = getAsVector()) in ~StoredDeclsList() 60 if (DeclsTy *Vector = getAsVector()) 77 DeclsTy *getAsVector() const { in getAsVector() 86 if (DeclsTy *Vec = getAsVector()) in setHasExternalDecls() 89 DeclsTy *VT = new DeclsTy(); in setHasExternalDecls() 114 DeclsTy &Vec = *getAsVector(); in remove() 115 DeclsTy::iterator I = std::find(Vec.begin(), Vec.end(), D); in remove() 132 DeclsTy &Vec = *getAsVector(); in removeExternalDecls() [all …]
|
D | UnresolvedSet.h | 56 typedef SmallVectorImpl<DeclAccessPair> DeclsTy; typedef 94 for (DeclsTy::iterator I = decls().begin(), E = decls().end(); I != E; ++I) in replace() 128 DeclsTy &decls() { in decls() 129 return *reinterpret_cast<DeclsTy*>(this); in decls() 131 const DeclsTy &decls() const { in decls() 132 return *reinterpret_cast<const DeclsTy*>(this); in decls()
|
D | ASTUnresolvedSet.h | 25 struct DeclsTy : ASTVector<DeclAccessPair> { struct 26 DeclsTy() {} in DeclsTy() argument 27 DeclsTy(ASTContext &C, unsigned N) : ASTVector<DeclAccessPair>(C, N) {} in DeclsTy() function 33 DeclsTy Decls; argument 58 for (DeclsTy::iterator I = Decls.begin(), E = Decls.end(); I != E; ++I) { in replace()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | IdentifierResolver.h | 45 using DeclsTy = SmallVector<NamedDecl *, 2>; 47 DeclsTy::iterator decls_begin() { return Decls.begin(); } in decls_begin() 48 DeclsTy::iterator decls_end() { return Decls.end(); } in decls_end() 57 void InsertDecl(DeclsTy::iterator Pos, NamedDecl *D) { in InsertDecl() 62 DeclsTy Decls; 84 using BaseIter = IdDeclInfo::DeclsTy::iterator;
|
/external/clang/include/clang/Sema/ |
D | IdentifierResolver.h | 43 typedef SmallVector<NamedDecl*, 2> DeclsTy; typedef 45 inline DeclsTy::iterator decls_begin() { return Decls.begin(); } in decls_begin() 46 inline DeclsTy::iterator decls_end() { return Decls.end(); } in decls_end() 55 void InsertDecl(DeclsTy::iterator Pos, NamedDecl *D) { in InsertDecl() 60 DeclsTy Decls; 83 typedef IdDeclInfo::DeclsTy::iterator BaseIter;
|
/external/llvm-project/clang/lib/Sema/ |
D | IdentifierResolver.cpp | 75 for (DeclsTy::iterator I = Decls.end(); I != Decls.begin(); --I) { in RemoveDecl() 242 IdDeclInfo::DeclsTy::iterator I = IDI->decls_end(); in begin() 349 for (IdDeclInfo::DeclsTy::iterator I = IDI->decls_begin(), in tryAddTopLevelDecl()
|
/external/clang/lib/Sema/ |
D | IdentifierResolver.cpp | 71 for (DeclsTy::iterator I = Decls.end(); I != Decls.begin(); --I) { in RemoveDecl() 240 IdDeclInfo::DeclsTy::iterator I = IDI->decls_end(); in begin() 345 for (IdDeclInfo::DeclsTy::iterator I = IDI->decls_begin(), in tryAddTopLevelDecl()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclBase.cpp | 1547 StoredDeclsList::DeclsTy *Vec = Pos->second.getAsVector(); in removeDecl()
|