| /NextBSD/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | 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 …]
|
| HD | DeclGroup.h | 40 static DeclGroup *Create(ASTContext &C, Decl **Decls, unsigned NumDecls); 72 static DeclGroupRef Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create() argument 76 return DeclGroupRef(Decls[0]); in Create() 77 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls)); in Create()
|
| HD | ExternalASTSource.h | 207 SmallVectorImpl<Decl *> &Decls); 315 ArrayRef<NamedDecl*> Decls);
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Sema/ |
| HD | Lookup.h | 272 return Decls; in asUnresolvedSet() 275 iterator begin() const { return iterator(Decls.begin()); } in begin() 276 iterator end() const { return iterator(Decls.end()); } in end() 279 bool empty() const { return Decls.empty(); } in empty() 373 Decls.addDecl(D, AS); in addDecl() 380 Decls.append(Other.Decls.begin(), Other.Decls.end()); in addAllDecls() 393 assert(ResultKind == NotFound && Decls.empty()); in setNotFoundInCurrentInstantiation() 415 if (Decls.empty()) { in resolveKindAfterFilter() 465 assert(!Decls.empty() && "cannot get representative of empty set"); in getRepresentativeDecl() 496 Decls.clear(); in clear() [all …]
|
| HD | 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;
|
| HD | ExternalSemaSource.h | 114 SmallVectorImpl<const DeclaratorDecl *> &Decls) {} in ReadUnusedFileScopedDecls() argument 124 SmallVectorImpl<CXXConstructorDecl *> &Decls) {} in ReadDelegatingConstructors() argument 133 virtual void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) {} in ReadExtVectorDecls() argument 142 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) {}; in ReadUnusedLocalTypedefNameCandidates() argument
|
| HD | MultiplexExternalSemaSource.h | 133 SmallVectorImpl<Decl *> &Decls) override; 264 SmallVectorImpl<const DeclaratorDecl*> &Decls) override; 274 SmallVectorImpl<CXXConstructorDecl*> &Decls) override; 283 void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl*> &Decls) override; 292 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) override;
|
| HD | TypoCorrection.h | 153 void setCorrectionDecls(ArrayRef<NamedDecl*> Decls) { in setCorrectionDecls() argument 155 CorrectionDecls.insert(CorrectionDecls.begin(), Decls.begin(), Decls.end()); in setCorrectionDecls()
|
| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | 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); in ComputeDeclsFound() 380 for (Path.Decls = BaseRecord->lookup(N); in FindTagMember() 381 !Path.Decls.empty(); in FindTagMember() 382 Path.Decls = Path.Decls.slice(1)) { in FindTagMember() 383 if (Path.Decls.front()->isInIdentifierNamespace(IDNS_Tag)) in FindTagMember() 398 for (Path.Decls = BaseRecord->lookup(N); in FindOrdinaryMember() 399 !Path.Decls.empty(); in FindOrdinaryMember() [all …]
|
| HD | DeclBase.cpp | 1001 DeclContext::BuildDeclChain(ArrayRef<Decl*> Decls, in BuildDeclChain() argument 1006 for (unsigned I = 0, N = Decls.size(); I != N; ++I) { in BuildDeclChain() 1007 if (FieldsAlreadyLoaded && isa<FieldDecl>(Decls[I])) in BuildDeclChain() 1010 Decl *D = Decls[I]; in BuildDeclChain() 1045 SmallVector<Decl*, 64> Decls; in LoadLexicalDeclsFromExternalStorage() local 1047 switch (Source->FindExternalLexicalDecls(this, Decls)) { in LoadLexicalDeclsFromExternalStorage() 1056 if (Decls.empty()) in LoadLexicalDeclsFromExternalStorage() 1069 BuildDeclChain(Decls, FieldsAlreadyLoaded); in LoadLexicalDeclsFromExternalStorage() 1095 ArrayRef<NamedDecl*> Decls) { in SetExternalVisibleDeclsForName() argument 1114 for (unsigned I = 0, N = Decls.size(); I != N; ++I) in SetExternalVisibleDeclsForName() [all …]
|
| HD | DeclGroup.cpp | 20 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create() argument 26 new (Mem) DeclGroup(NumDecls, Decls); in Create()
|
| HD | DeclPrinter.cpp | 36 void ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls); 221 void DeclPrinter::ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls) { in ProcessDeclGroup() argument 223 Decl::printGroup(Decls.data(), Decls.size(), Out, Policy, Indentation); in ProcessDeclGroup() 225 Decls.clear(); in ProcessDeclGroup() 249 SmallVector<Decl*, 2> Decls; in VisitDeclContext() local 271 if (!Decls.empty() && !CurDeclType.isNull()) { in VisitDeclContext() 276 cast<TagType>(BaseType)->getDecl() == Decls[0]) { in VisitDeclContext() 277 Decls.push_back(*D); in VisitDeclContext() 283 if (!Decls.empty()) in VisitDeclContext() 284 ProcessDeclGroup(Decls); in VisitDeclContext() [all …]
|
| HD | ExternalASTSource.cpp | 37 SmallVectorImpl<Decl *> &Decls) {} in FindFileRegionDecls() argument
|
| /NextBSD/contrib/llvm/lib/DebugInfo/DWARF/ |
| HD | 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()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | MultiplexExternalSemaSource.cpp | 124 SmallVectorImpl<Decl *> &Decls){ in FindFileRegionDecls() argument 126 Sources[i]->FindFileRegionDecls(File, Offset, Length, Decls); in FindFileRegionDecls() 238 SmallVectorImpl<const DeclaratorDecl*> &Decls) { in ReadUnusedFileScopedDecls() argument 240 Sources[i]->ReadUnusedFileScopedDecls(Decls); in ReadUnusedFileScopedDecls() 244 SmallVectorImpl<CXXConstructorDecl*> &Decls) { in ReadDelegatingConstructors() argument 246 Sources[i]->ReadDelegatingConstructors(Decls); in ReadDelegatingConstructors() 250 SmallVectorImpl<TypedefNameDecl*> &Decls) { in ReadExtVectorDecls() argument 252 Sources[i]->ReadExtVectorDecls(Decls); in ReadExtVectorDecls() 256 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) { in ReadUnusedLocalTypedefNameCandidates() argument 258 Sources[i]->ReadUnusedLocalTypedefNameCandidates(Decls); in ReadUnusedLocalTypedefNameCandidates()
|
| HD | SemaLookup.cpp | 322 assert(ResultKind != NotFound || Decls.size() == 0); in sanity() 323 assert(ResultKind != Found || Decls.size() == 1); in sanity() 324 assert(ResultKind != FoundOverloaded || Decls.size() > 1 || in sanity() 325 (Decls.size() == 1 && in sanity() 328 assert(ResultKind != Ambiguous || Decls.size() > 1 || in sanity() 329 (Decls.size() == 1 && (Ambiguity == AmbiguousBaseSubobjects || in sanity() 359 unsigned N = Decls.size(); in resolveKind() 370 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); in resolveKind() 392 NamedDecl *D = Decls[I]->getUnderlyingDecl(); in resolveKind() 397 Decls[I] = Decls[--N]; in resolveKind() [all …]
|
| HD | IdentifierResolver.cpp | 71 for (DeclsTy::iterator I = Decls.end(); I != Decls.begin(); --I) { in RemoveDecl() 73 Decls.erase(I-1); in RemoveDecl()
|
| HD | SemaStmt.cpp | 1277 llvm::SmallPtrSetImpl<VarDecl*> &Decls; member in __anonaa4ce6960311::DeclExtractor 1283 DeclExtractor(Sema &S, llvm::SmallPtrSetImpl<VarDecl*> &Decls, in DeclExtractor() argument 1286 Decls(Decls), in DeclExtractor() 1347 Decls.insert(VD); in VisitDeclRefExpr() 1355 llvm::SmallPtrSetImpl<VarDecl*> &Decls; member in __anonaa4ce6960311::DeclMatcher 1361 DeclMatcher(Sema &S, llvm::SmallPtrSetImpl<VarDecl*> &Decls, in DeclMatcher() argument 1363 Inherited(S.Context), Decls(Decls), FoundDecl(false) { in DeclMatcher() 1414 if (Decls.count(VD)) in VisitDeclRefExpr() 1432 llvm::SmallPtrSet<VarDecl*, 8> Decls; in CheckForLoopConditionalStatement() local 1434 DeclExtractor DE(S, Decls, Ranges); in CheckForLoopConditionalStatement() [all …]
|
| /NextBSD/contrib/llvm/tools/lldb/include/lldb/Expression/ |
| HD | ClangASTSource.h | 122 … llvm::SmallVectorImpl<clang::Decl *> &Decls) override; 254 llvm::SmallVectorImpl<clang::Decl *> &Decls) override in FindExternalLexicalDecls() argument 256 return m_original.FindExternalLexicalDecls(DC, isKindWeWant, Decls); in FindExternalLexicalDecls()
|
| /NextBSD/contrib/llvm/tools/clang/utils/TableGen/ |
| HD | 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()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Serialization/ |
| HD | ASTReader.h | 487 ArrayRef<serialization::LocalDeclID> Decls; member 490 FileDeclsInfo(ModuleFile *Mod, ArrayRef<serialization::LocalDeclID> Decls) in FileDeclsInfo() 491 : Mod(Mod), Decls(Decls) {} in FileDeclsInfo() 1710 SmallVectorImpl<Decl*> &Decls) override; 1716 SmallVectorImpl<Decl *> &Decls) override; 1787 SmallVectorImpl<const DeclaratorDecl *> &Decls) override; 1790 SmallVectorImpl<CXXConstructorDecl *> &Decls) override; 1792 void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) override; 1795 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) override; 1819 SmallVectorImpl<Decl *> *Decls = nullptr);
|
| /NextBSD/contrib/llvm/tools/clang/lib/Serialization/ |
| HD | ASTReader.cpp | 6164 SmallVectorImpl<Decl*> &Decls; member in __anon2bcfce5b0811::FindExternalLexicalDeclsVisitor 6170 SmallVectorImpl<Decl*> &Decls) in FindExternalLexicalDeclsVisitor() argument 6171 : Reader(Reader), DC(DC), isKindWeWant(isKindWeWant), Decls(Decls) in FindExternalLexicalDeclsVisitor() 6204 This->Decls.push_back(D); in visitPostorder() 6215 SmallVectorImpl<Decl*> &Decls) { in FindExternalLexicalDecls() argument 6218 FindExternalLexicalDeclsVisitor Visitor(*this, DC, isKindWeWant, Decls); in FindExternalLexicalDecls() 6260 SmallVectorImpl<Decl *> &Decls) { in FindFileRegionDecls() argument 6268 if (DInfo.Decls.empty()) in FindFileRegionDecls() 6277 BeginIt = std::lower_bound(DInfo.Decls.begin(), DInfo.Decls.end(), in FindFileRegionDecls() 6279 if (BeginIt != DInfo.Decls.begin()) in FindFileRegionDecls() [all …]
|
| /NextBSD/contrib/llvm/include/llvm/DebugInfo/DWARF/ |
| HD | DWARFDebugAbbrev.h | 25 std::vector<DWARFAbbreviationDeclaration> Decls; variable
|
| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CGDeclCXX.cpp | 500 ArrayRef<llvm::Function *> Decls, in GenerateCXXGlobalInitFunc() argument 535 for (unsigned i = 0, e = Decls.size(); i != e; ++i) in GenerateCXXGlobalInitFunc() 536 if (Decls[i]) in GenerateCXXGlobalInitFunc() 537 EmitRuntimeCall(Decls[i]); in GenerateCXXGlobalInitFunc()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Frontend/ |
| HD | ASTUnit.cpp | 2588 LocDeclsTy *&Decls = FileDecls[FID]; in addFileLevelDecl() local 2589 if (!Decls) in addFileLevelDecl() 2590 Decls = new LocDeclsTy(); in addFileLevelDecl() 2594 if (Decls->empty() || Decls->back().first <= Offset) { in addFileLevelDecl() 2595 Decls->push_back(LocDecl); in addFileLevelDecl() 2599 LocDeclsTy::iterator I = std::upper_bound(Decls->begin(), Decls->end(), in addFileLevelDecl() 2602 Decls->insert(I, LocDecl); in addFileLevelDecl() 2606 SmallVectorImpl<Decl *> &Decls) { in findFileRegionDecls() argument 2613 Decls); in findFileRegionDecls() 2645 Decls.push_back(DIt->second); in findFileRegionDecls()
|