| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | ASTUnresolvedSet.h | 41 DeclsTy Decls; variable 64 for (DeclsTy::iterator I = Decls.begin(), E = Decls.end(); I != E; ++I) { in replace() 73 void erase(unsigned I) { Decls[I] = Decls.pop_back_val(); } in erase() 75 void clear() { Decls.clear(); } in clear() 77 bool empty() const { return Decls.empty(); } in empty() 78 unsigned size() const { return Decls.size(); } in size() 81 Decls.reserve(C, N); in reserve() 85 Decls.append(C, I.I, E.I); in append() 101 if (Impl.Decls.isLazy()) in get() 109 assert(Impl.empty() || Impl.Decls.isLazy()); in addLazyDecl() [all …]
|
| H A D | DeclGroup.h | 37 static DeclGroup *Create(ASTContext &C, Decl **Decls, unsigned NumDecls); 69 static DeclGroupRef Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create() argument 73 return DeclGroupRef(Decls[0]); in Create() 74 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); in Create()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Lookup.h | 185 Ambiguity(std::move(Other.Ambiguity)), Decls(std::move(Other.Decls)), in LookupResult() 205 Decls = std::move(Other.Decls); 321 return Decls; in asUnresolvedSet() 422 Decls.addDecl(D, AS); in addDecl() 429 Decls.append(Other.Decls.begin(), Other.Decls.end()); in addAllDecls() 464 if (Decls.empty()) { in resolveKindAfterFilter() 545 Decls.clear(); in clear() 644 Results.Decls.erase(--I); in erase() 651 Results.Decls.replace(I-1, D); in replace() 657 Results.Decls.replace(I-1, D, AS); in replace() [all …]
|
| H A D | IdentifierResolver.h | 48 DeclsTy::iterator decls_begin() { return Decls.begin(); } in decls_begin() 49 DeclsTy::iterator decls_end() { return Decls.end(); } in decls_end() 51 void AddDecl(NamedDecl *D) { Decls.push_back(D); } in AddDecl() 59 Decls.insert(Pos, D); in InsertDecl() 63 DeclsTy Decls;
|
| H A D | MultiplexExternalSemaSource.h | 118 SmallVectorImpl<Decl *> &Decls) override; 257 SmallVectorImpl<const DeclaratorDecl*> &Decls) override; 267 SmallVectorImpl<CXXConstructorDecl*> &Decls) override; 276 void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl*> &Decls) override; 285 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) override;
|
| H A 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
|
| H A D | TypoCorrection.h | 173 void setCorrectionDecls(ArrayRef<NamedDecl*> Decls) { in setCorrectionDecls() argument 175 CorrectionDecls.insert(CorrectionDecls.begin(), Decls.begin(), Decls.end()); in setCorrectionDecls()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | CXXInheritance.cpp | 45 Decls.insert(Path->Decls.front()); in ComputeDeclsFound() 47 NumDeclsFound = Decls.size(); in ComputeDeclsFound() 49 std::copy(Decls.begin(), Decls.end(), DeclsFound.get()); in ComputeDeclsFound() 423 !Path.Decls.empty(); in FindTagMember() 424 Path.Decls = Path.Decls.slice(1)) { in FindTagMember() 437 !Path.Decls.empty(); in findOrdinaryMember() 438 Path.Decls = Path.Decls.slice(1)) { in findOrdinaryMember() 481 for (Path.Decls = BaseRecord->lookup(Name); !Path.Decls.empty(); in FindOMPReductionMember() 482 Path.Decls = Path.Decls.slice(1)) { in FindOMPReductionMember() 498 !Path.Decls.empty(); in FindNestedNameSpecifierMember() [all …]
|
| H A D | ASTImporterLookupTable.cpp | 60 DeclList &Decls = LookupTable[DC][ND->getDeclName()]; in add() local 62 Decls.insert(ND); in add() 66 DeclList &Decls = LookupTable[DC][ND->getDeclName()]; in remove() local 67 bool EraseResult = Decls.remove(ND); in remove()
|
| H A D | DeclGroup.cpp | 21 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create() argument 25 new (Mem) DeclGroup(NumDecls, Decls); in Create()
|
| H A D | ODRHash.cpp | 478 llvm::SmallVector<const Decl *, 16> Decls; in AddCXXRecordDecl() local 481 Decls.push_back(SubDecl); in AddCXXRecordDecl() 489 ID.AddInteger(Decls.size()); in AddCXXRecordDecl() 490 for (auto SubDecl : Decls) { in AddCXXRecordDecl() 579 llvm::SmallVector<const Decl *, 16> Decls; in AddFunctionDecl() local 582 Decls.push_back(SubDecl); in AddFunctionDecl() 586 ID.AddInteger(Decls.size()); in AddFunctionDecl() 587 for (auto SubDecl : Decls) { in AddFunctionDecl() 609 Decls.push_back(SubDecl); in AddEnumDecl() 613 ID.AddInteger(Decls.size()); in AddEnumDecl() [all …]
|
| H A D | ExternalASTMerger.cpp | 162 bool HasDeclOfSameType(llvm::ArrayRef<Candidate> Decls, const Candidate &C) { in HasDeclOfSameType() argument 165 return llvm::any_of(Decls, [&](const Candidate &D) { in HasDeclOfSameType() 380 llvm::SmallVector<NamedDecl *, 1> Decls; in FindExternalVisibleDeclsByName() local 401 Decls.reserve(Candidates.size()); in FindExternalVisibleDeclsByName() 414 Decls.push_back(ND); in FindExternalVisibleDeclsByName() 416 SetExternalVisibleDeclsForName(DC, Name, Decls); in FindExternalVisibleDeclsByName()
|
| H A D | DeclBase.cpp | 1240 DeclContext::BuildDeclChain(ArrayRef<Decl *> Decls, in BuildDeclChain() argument 1245 for (auto *D : Decls) { in BuildDeclChain() 1283 SmallVector<Decl*, 64> Decls; in LoadLexicalDeclsFromExternalStorage() local 1285 Source->FindExternalLexicalDecls(this, Decls); in LoadLexicalDeclsFromExternalStorage() 1287 if (Decls.empty()) in LoadLexicalDeclsFromExternalStorage() 1300 BuildDeclChain(Decls, FieldsAlreadyLoaded); in LoadLexicalDeclsFromExternalStorage() 1345 for (unsigned I = 0, N = Decls.size(); I != N; ++I) in SetExternalVisibleDeclsForName() 1348 Skip.push_back(Decls.size()); in SetExternalVisibleDeclsForName() 1352 for (unsigned I = 0, N = Decls.size(); I != N; ++I) { in SetExternalVisibleDeclsForName() 1356 List.AddSubsequentDecl(Decls[I]); in SetExternalVisibleDeclsForName() [all …]
|
| H A D | DeclPrinter.cpp | 37 void ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls); 268 Decl::printGroup(Decls.data(), Decls.size(), Out, Policy, Indentation); in ProcessDeclGroup() 270 Decls.clear(); in ProcessDeclGroup() 359 SmallVector<Decl*, 2> Decls; in VisitDeclContext() local 392 if (!Decls.empty() && !CurDeclType.isNull()) { in VisitDeclContext() 396 Decls.push_back(*D); in VisitDeclContext() 402 if (!Decls.empty()) in VisitDeclContext() 403 ProcessDeclGroup(Decls); in VisitDeclContext() 408 Decls.push_back(*D); in VisitDeclContext() 473 if (!Decls.empty()) in VisitDeclContext() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugAbbrev.cpp | 26 Decls.clear(); in clear() 46 Decls.push_back(std::move(AbbrDecl)); in extract() 52 for (const auto &Decl : Decls) in dump() 60 for (const auto &Decl : Decls) { in getAbbreviationDeclaration() 66 if (AbbrCode < FirstAbbrCode || AbbrCode >= FirstAbbrCode + Decls.size()) in getAbbreviationDeclaration() 68 return &Decls[AbbrCode - FirstAbbrCode]; in getAbbreviationDeclaration()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | MultiplexExternalSemaSource.cpp | 127 SmallVectorImpl<Decl *> &Decls){ in FindFileRegionDecls() argument 129 Sources[i]->FindFileRegionDecls(File, Offset, Length, Decls); in FindFileRegionDecls() 260 SmallVectorImpl<const DeclaratorDecl*> &Decls) { in ReadUnusedFileScopedDecls() argument 262 Sources[i]->ReadUnusedFileScopedDecls(Decls); in ReadUnusedFileScopedDecls() 266 SmallVectorImpl<CXXConstructorDecl*> &Decls) { in ReadDelegatingConstructors() argument 268 Sources[i]->ReadDelegatingConstructors(Decls); in ReadDelegatingConstructors() 272 SmallVectorImpl<TypedefNameDecl*> &Decls) { in ReadExtVectorDecls() argument 274 Sources[i]->ReadExtVectorDecls(Decls); in ReadExtVectorDecls() 278 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) { in ReadUnusedLocalTypedefNameCandidates() argument 280 Sources[i]->ReadUnusedLocalTypedefNameCandidates(Decls); in ReadUnusedLocalTypedefNameCandidates()
|
| H A D | SemaLookup.cpp | 325 (Decls.size() == 1 && in sanity() 470 unsigned N = Decls.size(); in resolveKind() 512 Decls[I] = Decls[--N]; in resolveKind() 547 Decls[*ExistingI] = Decls[I]; in resolveKind() 548 Decls[I] = Decls[--N]; in resolveKind() 575 Decls[I] = Decls[--N]; in resolveKind() 602 Decls[UniqueTagIndex] = Decls[--N]; in resolveKind() 613 Decls.set_size(N); in resolveKind() 1956 return !Path.Decls.empty(); in LookupAnyMember() 2163 if (HasOnlyStaticMembers(Path->Decls.begin(), Path->Decls.end())) { in LookupQualifiedName() [all …]
|
| H A D | IdentifierResolver.cpp | 76 for (DeclsTy::iterator I = Decls.end(); I != Decls.begin(); --I) { in RemoveDecl() 78 Decls.erase(I-1); in RemoveDecl()
|
| H A D | SemaStmt.cpp | 1350 DeclSetVector &Decls; member in __anon4bf2252c0511::DeclExtractor 1359 Decls(Decls), in DeclExtractor() 1424 Decls.insert(VD); in VisitDeclRefExpr() 1432 DeclSetVector &Decls; member in __anon4bf2252c0511::DeclMatcher 1439 Inherited(S.Context), Decls(Decls), FoundDecl(false) { in DeclMatcher() 1490 if (Decls.count(VD)) in VisitDeclRefExpr() 1520 DeclSetVector Decls; in CheckForLoopConditionalStatement() local 1529 if (Decls.size() == 0) return; in CheckForLoopConditionalStatement() 1532 for (auto *VD : Decls) in CheckForLoopConditionalStatement() 1542 if (Decls.size() > 4) { in CheckForLoopConditionalStatement() [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFDebugAbbrev.h | 28 std::vector<DWARFAbbreviationDeclaration> Decls; variable 44 return Decls.begin(); in begin() 48 return Decls.end(); in end()
|
| /freebsd-12.1/contrib/llvm/tools/clang/utils/TableGen/ |
| H A D | ClangASTNodesEmitter.cpp | 203 RecordVector Decls = Records.getAllDerivedDefinitions("Decl"); in EmitClangDeclContext() local 206 for (RecordVector::iterator i = Decls.begin(), e = Decls.end(); i != e; ++i) { in EmitClangDeclContext()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangASTSource.h | 114 llvm::SmallVectorImpl<clang::Decl *> &Decls) override; 250 llvm::SmallVectorImpl<clang::Decl *> &Decls) override { in FindExternalLexicalDecls() argument 251 return m_original.FindExternalLexicalDecls(DC, IsKindWeWant, Decls); in FindExternalLexicalDecls()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Serialization/ |
| H A D | ASTReader.h | 560 ArrayRef<serialization::LocalDeclID> Decls; member 563 FileDeclsInfo(ModuleFile *Mod, ArrayRef<serialization::LocalDeclID> Decls) in FileDeclsInfo() 564 : Mod(Mod), Decls(Decls) {} in FileDeclsInfo() 1927 SmallVectorImpl<Decl *> &Decls) override; 1933 SmallVectorImpl<Decl *> &Decls) override; 2005 SmallVectorImpl<const DeclaratorDecl *> &Decls) override; 2008 SmallVectorImpl<CXXConstructorDecl *> &Decls) override; 2010 void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) override; 2013 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) override; 2037 SmallVectorImpl<Decl *> *Decls = nullptr);
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Index/ |
| H A D | IndexingAction.h | 63 ArrayRef<const Decl *> Decls,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTReader.cpp | 7504 BeginIt = std::lower_bound(DInfo.Decls.begin(), DInfo.Decls.end(), in FindFileRegionDecls() 7518 EndIt = std::upper_bound(DInfo.Decls.begin(), DInfo.Decls.end(), in FindFileRegionDecls() 7552 return !Decls.empty(); in FindExternalVisibleDeclsByName() 7563 DeclsMap Decls; in completeVisibleDeclsMap() local 7572 for (DeclsMap::iterator I = Decls.begin(), E = Decls.end(); I != E; ++I) { in completeVisibleDeclsMap() 8166 Decls.push_back(D); in ReadUnusedFileScopedDecls() 8177 Decls.push_back(D); in ReadDelegatingConstructors() 8187 Decls.push_back(D); in ReadExtVectorDecls() 8199 Decls.insert(D); in ReadUnusedLocalTypedefNameCandidates() 8340 if (Decls) { in SetGloballyVisibleDecls() [all …]
|