Home
last modified time | relevance | path

Searched refs:DeclsTy (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/clang/include/clang/AST/
DDeclContextInternals.h36 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 …]
DUnresolvedSet.h62 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()
DASTUnresolvedSet.h32 struct DeclsTy : ASTVector<DeclAccessPair> { struct
33 DeclsTy() = default;
34 DeclsTy(ASTContext &C, unsigned N) : ASTVector<DeclAccessPair>(C, N) {} in DeclsTy() argument
40 DeclsTy Decls; argument
63 for (DeclsTy::iterator I = Decls.begin(), E = Decls.end(); I != E; ++I) { in replace()
/external/clang/include/clang/AST/
DDeclContextInternals.h35 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 …]
DUnresolvedSet.h56 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()
DASTUnresolvedSet.h25 struct DeclsTy : ASTVector<DeclAccessPair> { struct
26 DeclsTy() {} in DeclsTy() argument
27 DeclsTy(ASTContext &C, unsigned N) : ASTVector<DeclAccessPair>(C, N) {} in DeclsTy() argument
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/
DIdentifierResolver.h45 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/
DIdentifierResolver.h43 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/
DIdentifierResolver.cpp75 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/
DIdentifierResolver.cpp71 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/
DDeclBase.cpp1547 StoredDeclsList::DeclsTy *Vec = Pos->second.getAsVector(); in removeDecl()