/external/clang/include/clang/AST/ |
D | ASTUnresolvedSet.h | 33 DeclsTy Decls; variable 39 ASTUnresolvedSet(ASTContext &C, unsigned N) : Decls(C, N) {} in ASTUnresolvedSet() 44 iterator begin() { return iterator(Decls.begin()); } in begin() 45 iterator end() { return iterator(Decls.end()); } in end() 47 const_iterator begin() const { return const_iterator(Decls.begin()); } in begin() 48 const_iterator end() const { return const_iterator(Decls.end()); } in end() 51 Decls.push_back(DeclAccessPair::make(D, AS), C); in addDecl() 58 for (DeclsTy::iterator I = Decls.begin(), E = Decls.end(); I != E; ++I) { in replace() 67 void erase(unsigned I) { Decls[I] = Decls.pop_back_val(); } in erase() 69 void clear() { Decls.clear(); } in clear() [all …]
|
/external/llvm-project/clang/include/clang/AST/ |
D | ASTUnresolvedSet.h | 40 DeclsTy Decls; variable 44 ASTUnresolvedSet(ASTContext &C, unsigned N) : Decls(C, N) {} in ASTUnresolvedSet() 49 iterator begin() { return iterator(Decls.begin()); } in begin() 50 iterator end() { return iterator(Decls.end()); } in end() 52 const_iterator begin() const { return const_iterator(Decls.begin()); } in begin() 53 const_iterator end() const { return const_iterator(Decls.end()); } in end() 56 Decls.push_back(DeclAccessPair::make(D, AS), C); in addDecl() 63 for (DeclsTy::iterator I = Decls.begin(), E = Decls.end(); I != E; ++I) { in replace() 72 void erase(unsigned I) { Decls[I] = Decls.pop_back_val(); } in erase() 74 void clear() { Decls.clear(); } in clear() [all …]
|
/external/clang/include/clang/Sema/ |
D | Lookup.h | 195 Ambiguity(std::move(Other.Ambiguity)), Decls(std::move(Other.Decls)), in LookupResult() 212 Decls = std::move(Other.Decls); 316 return Decls; in asUnresolvedSet() 319 iterator begin() const { return iterator(Decls.begin()); } in begin() 320 iterator end() const { return iterator(Decls.end()); } in end() 323 bool empty() const { return Decls.empty(); } in empty() 417 Decls.addDecl(D, AS); in addDecl() 424 Decls.append(Other.Decls.begin(), Other.Decls.end()); in addAllDecls() 437 assert(ResultKind == NotFound && Decls.empty()); in setNotFoundInCurrentInstantiation() 459 if (Decls.empty()) { in resolveKindAfterFilter() [all …]
|
D | IdentifierResolver.h | 45 inline DeclsTy::iterator decls_begin() { return Decls.begin(); } in decls_begin() 46 inline DeclsTy::iterator decls_end() { return Decls.end(); } in decls_end() 48 void AddDecl(NamedDecl *D) { Decls.push_back(D); } in AddDecl() 56 Decls.insert(Pos, D); in InsertDecl() 60 DeclsTy Decls;
|
D | ExternalSemaSource.h | 118 SmallVectorImpl<const DeclaratorDecl *> &Decls) {} in ReadUnusedFileScopedDecls() argument 128 SmallVectorImpl<CXXConstructorDecl *> &Decls) {} in ReadDelegatingConstructors() argument 137 virtual void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) {} in ReadExtVectorDecls() argument 146 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) {} in ReadUnusedLocalTypedefNameCandidates() argument
|
D | MultiplexExternalSemaSource.h | 116 SmallVectorImpl<Decl *> &Decls) override; 251 SmallVectorImpl<const DeclaratorDecl*> &Decls) override; 261 SmallVectorImpl<CXXConstructorDecl*> &Decls) override; 270 void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl*> &Decls) override; 279 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) override;
|
/external/clang/lib/AST/ |
D | CXXInheritance.cpp | 29 llvm::SetVector<NamedDecl *, SmallVector<NamedDecl *, 8> > Decls; in ComputeDeclsFound() local 31 Decls.insert(Path->Decls.front()); in ComputeDeclsFound() 33 NumDeclsFound = Decls.size(); in ComputeDeclsFound() 35 std::copy(Decls.begin(), Decls.end(), DeclsFound.get()); in ComputeDeclsFound() 381 for (Path.Decls = BaseRecord->lookup(Name); in FindTagMember() 382 !Path.Decls.empty(); in FindTagMember() 383 Path.Decls = Path.Decls.slice(1)) { in FindTagMember() 384 if (Path.Decls.front()->isInIdentifierNamespace(IDNS_Tag)) in FindTagMember() 398 for (Path.Decls = BaseRecord->lookup(Name); in FindOrdinaryMember() 399 !Path.Decls.empty(); in FindOrdinaryMember() [all …]
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Lookup.h | 185 Ambiguity(std::move(Other.Ambiguity)), Decls(std::move(Other.Decls)), in LookupResult() 206 Decls = std::move(Other.Decls); 332 return Decls; in asUnresolvedSet() 335 iterator begin() const { return iterator(Decls.begin()); } in begin() 336 iterator end() const { return iterator(Decls.end()); } in end() 339 bool empty() const { return Decls.empty(); } in empty() 433 Decls.addDecl(D, AS); in addDecl() 440 Decls.append(Other.Decls.begin(), Other.Decls.end()); in addAllDecls() 453 assert(ResultKind == NotFound && Decls.empty()); in setNotFoundInCurrentInstantiation() 475 if (Decls.empty()) { in resolveKindAfterFilter() [all …]
|
D | ExternalSemaSource.h | 118 SmallVectorImpl<const DeclaratorDecl *> &Decls) {} in ReadUnusedFileScopedDecls() argument 128 SmallVectorImpl<CXXConstructorDecl *> &Decls) {} in ReadDelegatingConstructors() argument 137 virtual void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) {} in ReadExtVectorDecls() argument 146 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) {} in ReadUnusedLocalTypedefNameCandidates() argument 203 llvm::SmallVector<Decl *, 4> &Decls) {} in ReadDeclsToCheckForDeferredDiags() argument
|
D | IdentifierResolver.h | 47 DeclsTy::iterator decls_begin() { return Decls.begin(); } in decls_begin() 48 DeclsTy::iterator decls_end() { return Decls.end(); } in decls_end() 50 void AddDecl(NamedDecl *D) { Decls.push_back(D); } in AddDecl() 58 Decls.insert(Pos, D); in InsertDecl() 62 DeclsTy Decls;
|
D | MultiplexExternalSemaSource.h | 119 SmallVectorImpl<Decl *> &Decls) override; 256 SmallVectorImpl<const DeclaratorDecl*> &Decls) override; 266 SmallVectorImpl<CXXConstructorDecl*> &Decls) override; 275 void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl*> &Decls) override; 284 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) override; 340 llvm::SmallVector<Decl *, 4> &Decls) override;
|
/external/llvm/test/TableGen/ |
D | foreach.td | 18 def Decls : decls; 24 class B<list<string> names> : A<!foreach(Decls.name, names, !strconcat(Decls.name, ", Sr."))>; 26 class C<list<string> names> : A<!foreach(Decls.name, names, !strconcat(Decls.name, ", Jr."))>; 28 class D<list<string> names> : A<!foreach(Decls.name, names, !subst("NAME", "John Smith", Decls.name…
|
D | TargetInstrSpec.td | 78 def Decls : decls; 88 !foreach(Decls.pattern, patterns, 89 !foreach(Decls.operand, Decls.pattern, 91 !subst(REGCLASS, VR128, Decls.operand))))>; 95 !foreach(Decls.pattern, patterns, 96 !foreach(Decls.operand, Decls.pattern, 98 !subst(REGCLASS, VR128, Decls.operand))))>;
|
D | MultiPat.td | 82 def Decls : decls; 95 !foreach(Decls.pattern, patterns[0], 96 !foreach(Decls.operand, Decls.pattern, 99 !subst(MNEMONIC, set, Decls.operand)))))>, 100 MakePat<!foreach(Decls.pattern, patterns[1], 101 !foreach(Decls.operand, Decls.pattern, 104 !subst(MNEMONIC, set, Decls.operand)))))>;
|
/external/llvm-project/clang/lib/Index/ |
D | FileIndexRecord.cpp | 27 if (Decls.empty()) in addDeclOccurence() 29 auto &Last = Decls.back(); in addDeclOccurence() 34 Decls.emplace_back(Roles, Offset, D, Relations); in addDeclOccurence() 40 auto It = llvm::upper_bound(Decls, NewInfo); in addDeclOccurence() 41 Decls.insert(It, std::move(NewInfo)); in addDeclOccurence() 46 for (auto &DclInfo : Decls) { in print()
|
/external/llvm-project/clang/unittests/AST/ |
D | StructuralEquivalenceTest.cpp | 174 auto Decls = makeNamedDecls("int foo;", "int foo;", Lang_CXX03); in TEST_F() local 175 EXPECT_TRUE(testStructuralMatch(Decls)); in TEST_F() 179 auto Decls = makeNamedDecls("int foo;", "signed int foo;", Lang_CXX03); in TEST_F() local 180 EXPECT_TRUE(testStructuralMatch(Decls)); in TEST_F() 184 auto Decls = makeNamedDecls("char foo;", "char foo;", Lang_CXX03); in TEST_F() local 185 EXPECT_TRUE(testStructuralMatch(Decls)); in TEST_F() 191 auto Decls = makeNamedDecls("char foo;", "signed char foo;", Lang_CXX03); in TEST_F() local 192 EXPECT_FALSE(testStructuralMatch(Decls)); in TEST_F() 196 auto Decls = makeNamedDecls("struct foo;", "struct foo;", Lang_CXX03); in TEST_F() local 197 EXPECT_TRUE(testStructuralMatch(Decls)); in TEST_F() [all …]
|
/external/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDebugAbbrev.cpp | 22 Decls.clear(); in clear() 42 Decls.push_back(std::move(AbbrDecl)); in extract() 48 for (const auto &Decl : Decls) in dump() 56 for (const auto &Decl : Decls) { in getAbbreviationDeclaration() 62 if (AbbrCode < FirstAbbrCode || AbbrCode >= FirstAbbrCode + Decls.size()) in getAbbreviationDeclaration() 64 return &Decls[AbbrCode - FirstAbbrCode]; in getAbbreviationDeclaration()
|
/external/llvm-project/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDebugAbbrev.cpp | 25 Decls.clear(); in clear() 45 Decls.push_back(std::move(AbbrDecl)); in extract() 51 for (const auto &Decl : Decls) in dump() 59 for (const auto &Decl : Decls) { in getAbbreviationDeclaration() 65 if (AbbrCode < FirstAbbrCode || AbbrCode >= FirstAbbrCode + Decls.size()) in getAbbreviationDeclaration() 67 return &Decls[AbbrCode - FirstAbbrCode]; in getAbbreviationDeclaration()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFDebugAbbrev.cpp | 25 Decls.clear(); in clear() 45 Decls.push_back(std::move(AbbrDecl)); in extract() 51 for (const auto &Decl : Decls) in dump() 59 for (const auto &Decl : Decls) { in getAbbreviationDeclaration() 65 if (AbbrCode < FirstAbbrCode || AbbrCode >= FirstAbbrCode + Decls.size()) in getAbbreviationDeclaration() 67 return &Decls[AbbrCode - FirstAbbrCode]; in getAbbreviationDeclaration()
|
/external/llvm-project/clang/lib/Sema/ |
D | MultiplexExternalSemaSource.cpp | 128 SmallVectorImpl<Decl *> &Decls){ in FindFileRegionDecls() argument 130 Sources[i]->FindFileRegionDecls(File, Offset, Length, Decls); in FindFileRegionDecls() 254 SmallVectorImpl<const DeclaratorDecl*> &Decls) { in ReadUnusedFileScopedDecls() argument 256 Sources[i]->ReadUnusedFileScopedDecls(Decls); in ReadUnusedFileScopedDecls() 260 SmallVectorImpl<CXXConstructorDecl*> &Decls) { in ReadDelegatingConstructors() argument 262 Sources[i]->ReadDelegatingConstructors(Decls); in ReadDelegatingConstructors() 266 SmallVectorImpl<TypedefNameDecl*> &Decls) { in ReadExtVectorDecls() argument 268 Sources[i]->ReadExtVectorDecls(Decls); in ReadExtVectorDecls() 272 llvm::SmallVector<Decl *, 4> &Decls) { in ReadDeclsToCheckForDeferredDiags() argument 274 Sources[i]->ReadDeclsToCheckForDeferredDiags(Decls); in ReadDeclsToCheckForDeferredDiags() [all …]
|
/external/clang/lib/Sema/ |
D | MultiplexExternalSemaSource.cpp | 120 SmallVectorImpl<Decl *> &Decls){ in FindFileRegionDecls() argument 122 Sources[i]->FindFileRegionDecls(File, Offset, Length, Decls); in FindFileRegionDecls() 239 SmallVectorImpl<const DeclaratorDecl*> &Decls) { in ReadUnusedFileScopedDecls() argument 241 Sources[i]->ReadUnusedFileScopedDecls(Decls); in ReadUnusedFileScopedDecls() 245 SmallVectorImpl<CXXConstructorDecl*> &Decls) { in ReadDelegatingConstructors() argument 247 Sources[i]->ReadDelegatingConstructors(Decls); in ReadDelegatingConstructors() 251 SmallVectorImpl<TypedefNameDecl*> &Decls) { in ReadExtVectorDecls() argument 253 Sources[i]->ReadExtVectorDecls(Decls); in ReadExtVectorDecls() 257 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) { in ReadUnusedLocalTypedefNameCandidates() argument 259 Sources[i]->ReadUnusedLocalTypedefNameCandidates(Decls); in ReadUnusedLocalTypedefNameCandidates()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | ASTUtils.h | 93 llvm::SmallVectorImpl<clang::Decl *> &Decls) override { in FindFileRegionDecls() argument 94 m_Source->FindFileRegionDecls(File, Offset, Length, Decls); in FindFileRegionDecls() 356 llvm::SmallVectorImpl<clang::Decl *> &Decls) override { in FindFileRegionDecls() argument 358 Sources[i]->FindFileRegionDecls(File, Offset, Length, Decls); in FindFileRegionDecls() 485 llvm::SmallVectorImpl<const clang::DeclaratorDecl *> &Decls) override { in ReadUnusedFileScopedDecls() argument 487 Source->ReadUnusedFileScopedDecls(Decls); in ReadUnusedFileScopedDecls() 491 llvm::SmallVectorImpl<clang::CXXConstructorDecl *> &Decls) override { in ReadDelegatingConstructors() argument 493 Source->ReadDelegatingConstructors(Decls); in ReadDelegatingConstructors() 497 llvm::SmallVectorImpl<clang::TypedefNameDecl *> &Decls) override { in ReadExtVectorDecls() argument 499 Source->ReadExtVectorDecls(Decls); in ReadExtVectorDecls() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | ConcatNestedNamespacesCheck.cpp | 30 NamespaceDecl::decl_range Decls = ND.decls(); in singleNamedNamespaceChild() local 31 if (std::distance(Decls.begin(), Decls.end()) != 1) in singleNamedNamespaceChild() 34 const auto *ChildNamespace = dyn_cast<const NamespaceDecl>(*Decls.begin()); in singleNamedNamespaceChild()
|
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFDebugAbbrev.h | 27 std::vector<DWARFAbbreviationDeclaration> Decls; variable 43 return Decls.begin(); in begin() 47 return Decls.end(); in end()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFDebugAbbrev.h | 27 std::vector<DWARFAbbreviationDeclaration> Decls; variable 43 return Decls.begin(); in begin() 47 return Decls.end(); in end()
|