/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 …]
|
D | 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()
|
/external/clang/include/clang/Sema/ |
D | Lookup.h | 273 return Decls; in asUnresolvedSet() 276 iterator begin() const { return iterator(Decls.begin()); } in begin() 277 iterator end() const { return iterator(Decls.end()); } in end() 280 bool empty() const { return Decls.empty(); } in empty() 374 Decls.addDecl(D, AS); in addDecl() 381 Decls.append(Other.Decls.begin(), Other.Decls.end()); in addAllDecls() 394 assert(ResultKind == NotFound && Decls.empty()); in setNotFoundInCurrentInstantiation() 416 if (Decls.empty()) { in resolveKindAfterFilter() 466 assert(!Decls.empty() && "cannot get representative of empty set"); in getRepresentativeDecl() 497 Decls.clear(); in clear() [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 | 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
|
D | MultiplexExternalSemaSource.h | 116 SmallVectorImpl<Decl *> &Decls) override; 247 SmallVectorImpl<const DeclaratorDecl*> &Decls) override; 257 SmallVectorImpl<CXXConstructorDecl*> &Decls) override; 266 void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl*> &Decls) override; 275 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) override;
|
D | TypoCorrection.h | 153 void setCorrectionDecls(ArrayRef<NamedDecl*> Decls) { in setCorrectionDecls() argument 155 CorrectionDecls.insert(CorrectionDecls.begin(), Decls.begin(), Decls.end()); in setCorrectionDecls()
|
/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/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 …]
|
D | DeclGroup.cpp | 20 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create() argument 26 new (Mem) DeclGroup(NumDecls, Decls); in Create()
|
D | DeclBase.cpp | 1029 DeclContext::BuildDeclChain(ArrayRef<Decl*> Decls, in BuildDeclChain() argument 1034 for (unsigned I = 0, N = Decls.size(); I != N; ++I) { in BuildDeclChain() 1035 if (FieldsAlreadyLoaded && isa<FieldDecl>(Decls[I])) in BuildDeclChain() 1038 Decl *D = Decls[I]; in BuildDeclChain() 1073 SmallVector<Decl*, 64> Decls; in LoadLexicalDeclsFromExternalStorage() local 1075 Source->FindExternalLexicalDecls(this, Decls); in LoadLexicalDeclsFromExternalStorage() 1077 if (Decls.empty()) in LoadLexicalDeclsFromExternalStorage() 1090 BuildDeclChain(Decls, FieldsAlreadyLoaded); in LoadLexicalDeclsFromExternalStorage() 1116 ArrayRef<NamedDecl*> Decls) { in SetExternalVisibleDeclsForName() argument 1135 for (unsigned I = 0, N = Decls.size(); I != N; ++I) in SetExternalVisibleDeclsForName() [all …]
|
D | DeclPrinter.cpp | 36 void ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls); 250 void DeclPrinter::ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls) { in ProcessDeclGroup() argument 252 Decl::printGroup(Decls.data(), Decls.size(), Out, Policy, Indentation); in ProcessDeclGroup() 254 Decls.clear(); in ProcessDeclGroup() 278 SmallVector<Decl*, 2> Decls; in VisitDeclContext() local 300 if (!Decls.empty() && !CurDeclType.isNull()) { in VisitDeclContext() 305 cast<TagType>(BaseType)->getDecl() == Decls[0]) { in VisitDeclContext() 306 Decls.push_back(*D); in VisitDeclContext() 312 if (!Decls.empty()) in VisitDeclContext() 313 ProcessDeclGroup(Decls); in VisitDeclContext() [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/clang/lib/Sema/ |
D | MultiplexExternalSemaSource.cpp | 120 SmallVectorImpl<Decl *> &Decls){ in FindFileRegionDecls() argument 122 Sources[i]->FindFileRegionDecls(File, Offset, Length, Decls); in FindFileRegionDecls() 234 SmallVectorImpl<const DeclaratorDecl*> &Decls) { in ReadUnusedFileScopedDecls() argument 236 Sources[i]->ReadUnusedFileScopedDecls(Decls); in ReadUnusedFileScopedDecls() 240 SmallVectorImpl<CXXConstructorDecl*> &Decls) { in ReadDelegatingConstructors() argument 242 Sources[i]->ReadDelegatingConstructors(Decls); in ReadDelegatingConstructors() 246 SmallVectorImpl<TypedefNameDecl*> &Decls) { in ReadExtVectorDecls() argument 248 Sources[i]->ReadExtVectorDecls(Decls); in ReadExtVectorDecls() 252 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) { in ReadUnusedLocalTypedefNameCandidates() argument 254 Sources[i]->ReadUnusedLocalTypedefNameCandidates(Decls); in ReadUnusedLocalTypedefNameCandidates()
|
D | SemaLookup.cpp | 323 assert(ResultKind != NotFound || Decls.size() == 0); in sanity() 324 assert(ResultKind != Found || Decls.size() == 1); in sanity() 325 assert(ResultKind != FoundOverloaded || Decls.size() > 1 || in sanity() 326 (Decls.size() == 1 && in sanity() 329 assert(ResultKind != Ambiguous || Decls.size() > 1 || in sanity() 330 (Decls.size() == 1 && (Ambiguity == AmbiguousBaseSubobjects || in sanity() 460 unsigned N = Decls.size(); in resolveKind() 472 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); in resolveKind() 497 NamedDecl *D = Decls[I]->getUnderlyingDecl(); in resolveKind() 502 Decls[I] = Decls[--N]; in resolveKind() [all …]
|
D | IdentifierResolver.cpp | 71 for (DeclsTy::iterator I = Decls.end(); I != Decls.begin(); --I) { in RemoveDecl() 73 Decls.erase(I-1); in RemoveDecl()
|
D | SemaStmt.cpp | 1278 llvm::SmallPtrSetImpl<VarDecl*> &Decls; member in __anoneb61cbcb0311::DeclExtractor 1284 DeclExtractor(Sema &S, llvm::SmallPtrSetImpl<VarDecl*> &Decls, in DeclExtractor() argument 1287 Decls(Decls), in DeclExtractor() 1348 Decls.insert(VD); in VisitDeclRefExpr() 1356 llvm::SmallPtrSetImpl<VarDecl*> &Decls; member in __anoneb61cbcb0311::DeclMatcher 1362 DeclMatcher(Sema &S, llvm::SmallPtrSetImpl<VarDecl*> &Decls, in DeclMatcher() argument 1364 Inherited(S.Context), Decls(Decls), FoundDecl(false) { in DeclMatcher() 1415 if (Decls.count(VD)) in VisitDeclRefExpr() 1433 llvm::SmallPtrSet<VarDecl*, 8> Decls; in CheckForLoopConditionalStatement() local 1435 DeclExtractor DE(S, Decls, Ranges); in CheckForLoopConditionalStatement() [all …]
|
/external/boringssl/src/util/ |
D | doc.go | 52 Decls []HeaderDecl member 388 if last := len(section.Decls) - 1; len(name) == 0 && len(comment) == 0 && last >= 0 { 389 section.Decls[last].Decl += "\n" + decl 412 section.Decls = append(section.Decls, HeaderDecl{ 540 {{range .Decls}} 556 {{range .Decls}}
|
/external/clang/test/SemaCXX/ |
D | pass-object-size.cpp | 22 void Decls() { in Decls() function 67 void Decls() { in Decls() function
|
/external/clang/utils/TableGen/ |
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()
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 499 ArrayRef<serialization::LocalDeclID> Decls; member 502 FileDeclsInfo(ModuleFile *Mod, ArrayRef<serialization::LocalDeclID> Decls) in FileDeclsInfo() 503 : Mod(Mod), Decls(Decls) {} in FileDeclsInfo() 1739 SmallVectorImpl<Decl *> &Decls) override; 1745 SmallVectorImpl<Decl *> &Decls) override; 1813 SmallVectorImpl<const DeclaratorDecl *> &Decls) override; 1816 SmallVectorImpl<CXXConstructorDecl *> &Decls) override; 1818 void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) override; 1821 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) override; 1845 SmallVectorImpl<Decl *> *Decls = nullptr);
|
/external/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFDebugAbbrev.h | 25 std::vector<DWARFAbbreviationDeclaration> Decls; variable
|
/external/clang/lib/CodeGen/ |
D | CGDeclCXX.cpp | 505 ArrayRef<llvm::Function *> Decls, in GenerateCXXGlobalInitFunc() argument 540 for (unsigned i = 0, e = Decls.size(); i != e; ++i) in GenerateCXXGlobalInitFunc() 541 if (Decls[i]) in GenerateCXXGlobalInitFunc() 542 EmitRuntimeCall(Decls[i]); in GenerateCXXGlobalInitFunc()
|