/external/clang/include/clang/Sema/ |
D | Lookup.h | 260 return Decls; in asUnresolvedSet() 263 iterator begin() const { return iterator(Decls.begin()); } in begin() 264 iterator end() const { return iterator(Decls.end()); } in end() 267 bool empty() const { return Decls.empty(); } in empty() 361 Decls.addDecl(D, AS); in addDecl() 368 Decls.append(Other.Decls.begin(), Other.Decls.end()); in addAllDecls() 381 assert(ResultKind == NotFound && Decls.empty()); in setNotFoundInCurrentInstantiation() 395 if (Decls.empty()) { in resolveKindAfterFilter() 438 assert(!Decls.empty() && "cannot get representative of empty set"); in getRepresentativeDecl() 469 Decls.clear(); in clear() [all …]
|
D | ExternalSemaSource.h | 97 SmallVectorImpl<const DeclaratorDecl *> &Decls) {} in ReadUnusedFileScopedDecls() argument 107 SmallVectorImpl<CXXConstructorDecl *> &Decls) {} in ReadDelegatingConstructors() argument 116 virtual void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) {} in ReadExtVectorDecls() argument 124 virtual void ReadDynamicClasses(SmallVectorImpl<CXXRecordDecl *> &Decls) {} in ReadDynamicClasses() argument 134 SmallVectorImpl<NamedDecl *> &Decls) {} in ReadLocallyScopedExternalDecls() argument
|
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() 61 Decls.insert(Pos, D); in InsertDecl() 65 DeclsTy Decls;
|
/external/llvm/test/TableGen/ |
D | foreach.td | 11 def Decls : decls; 17 class B<list<string> names> : A<!foreach(Decls.name, names, !strconcat(Decls.name, ", Sr."))>; 19 class C<list<string> names> : A<!foreach(Decls.name, names, !strconcat(Decls.name, ", Jr."))>; 21 class D<list<string> names> : A<!foreach(Decls.name, names, !subst("NAME", "John Smith", Decls.name…
|
D | TargetInstrSpec.td | 73 def Decls : decls; 83 !foreach(Decls.pattern, patterns, 84 !foreach(Decls.operand, Decls.pattern, 86 !subst(REGCLASS, VR128, Decls.operand))))>; 90 !foreach(Decls.pattern, patterns, 91 !foreach(Decls.operand, Decls.pattern, 93 !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/lib/DebugInfo/ |
D | DWARFDebugAbbrev.cpp | 23 Decls.push_back(abbrevDeclaration); in extract() 36 for (unsigned i = 0, e = Decls.size(); i != e; ++i) in dump() 37 Decls[i].dump(OS); in dump() 45 DWARFAbbreviationDeclarationCollConstIter end = Decls.end(); in getAbbreviationDeclaration() 46 for (pos = Decls.begin(); pos != end; ++pos) { in getAbbreviationDeclaration() 52 if (idx < Decls.size()) in getAbbreviationDeclaration() 53 return &Decls[idx]; in getAbbreviationDeclaration()
|
D | DWARFDebugAbbrev.h | 30 std::vector<DWARFAbbreviationDeclaration> Decls; variable 40 Decls.clear(); in clear()
|
/external/clang/lib/AST/ |
D | CXXInheritance.cpp | 29 SmallVector<NamedDecl *, 8> Decls; in ComputeDeclsFound() local 31 if (KnownDecls.insert(*Path->Decls.first)) in ComputeDeclsFound() 32 Decls.push_back(*Path->Decls.first); in ComputeDeclsFound() 34 NumDeclsFound = Decls.size(); in ComputeDeclsFound() 36 std::copy(Decls.begin(), Decls.end(), DeclsFound); in ComputeDeclsFound() 387 for (Path.Decls = BaseRecord->lookup(N); in FindTagMember() 388 Path.Decls.first != Path.Decls.second; in FindTagMember() 389 ++Path.Decls.first) { in FindTagMember() 390 if ((*Path.Decls.first)->isInIdentifierNamespace(IDNS_Tag)) in FindTagMember() 405 for (Path.Decls = BaseRecord->lookup(N); in FindOrdinaryMember() [all …]
|
D | DeclGroup.cpp | 20 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { in Create() argument 24 new (Mem) DeclGroup(NumDecls, Decls); in Create()
|
D | DeclPrinter.cpp | 35 void ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls); 201 void DeclPrinter::ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls) { in ProcessDeclGroup() argument 203 Decl::printGroup(Decls.data(), Decls.size(), Out, Policy, Indentation); in ProcessDeclGroup() 205 Decls.clear(); in ProcessDeclGroup() 229 SmallVector<Decl*, 2> Decls; in VisitDeclContext() local 262 if (!Decls.empty() && !CurDeclType.isNull()) { in VisitDeclContext() 265 cast<TagType>(BaseType)->getDecl() == Decls[0]) { in VisitDeclContext() 266 Decls.push_back(*D); in VisitDeclContext() 272 if (!Decls.empty()) in VisitDeclContext() 273 ProcessDeclGroup(Decls); in VisitDeclContext() [all …]
|
D | DeclBase.cpp | 882 DeclContext::BuildDeclChain(ArrayRef<Decl*> Decls, in BuildDeclChain() argument 887 for (unsigned I = 0, N = Decls.size(); I != N; ++I) { in BuildDeclChain() 888 if (FieldsAlreadyLoaded && isa<FieldDecl>(Decls[I])) in BuildDeclChain() 891 Decl *D = Decls[I]; in BuildDeclChain() 914 SmallVector<Decl*, 64> Decls; in LoadLexicalDeclsFromExternalStorage() local 916 switch (Source->FindExternalLexicalDecls(this, Decls)) { in LoadLexicalDeclsFromExternalStorage() 925 if (Decls.empty()) in LoadLexicalDeclsFromExternalStorage() 937 llvm::tie(ExternalFirst, ExternalLast) = BuildDeclChain(Decls, in LoadLexicalDeclsFromExternalStorage() 963 ArrayRef<NamedDecl*> Decls) { in SetExternalVisibleDeclsForName() argument 972 I = Decls.begin(), E = Decls.end(); I != E; ++I) { in SetExternalVisibleDeclsForName()
|
/external/clang/include/clang/AST/ |
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()
|
D | ASTImporter.h | 235 NamedDecl **Decls,
|
D | ExternalASTSource.h | 168 SmallVectorImpl<Decl *> &Decls) {} in FindFileRegionDecls() argument 274 ArrayRef<NamedDecl*> Decls);
|
D | CXXInheritance.h | 80 DeclContext::lookup_result Decls; variable
|
D | UnresolvedSet.h | 180 SmallVector<DeclAccessPair, InlineCapacity> Decls; variable
|
/external/clang/lib/Sema/ |
D | IdentifierResolver.cpp | 72 for (DeclsTy::iterator I = Decls.end(); I != Decls.begin(); --I) { in RemoveDecl() 74 Decls.erase(I-1); in RemoveDecl() 84 for (DeclsTy::iterator I = Decls.end(); I != Decls.begin(); --I) { in ReplaceDecl()
|
D | SemaLookup.cpp | 311 assert(ResultKind != NotFound || Decls.size() == 0); in sanityImpl() 312 assert(ResultKind != Found || Decls.size() == 1); in sanityImpl() 313 assert(ResultKind != FoundOverloaded || Decls.size() > 1 || in sanityImpl() 314 (Decls.size() == 1 && in sanityImpl() 317 assert(ResultKind != Ambiguous || Decls.size() > 1 || in sanityImpl() 318 (Decls.size() == 1 && (Ambiguity == AmbiguousBaseSubobjects || in sanityImpl() 338 unsigned N = Decls.size(); in resolveKind() 349 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); in resolveKind() 371 NamedDecl *D = Decls[I]->getUnderlyingDecl(); in resolveKind() 384 Decls[I] = Decls[--N]; in resolveKind() [all …]
|
D | SemaStmt.cpp | 1170 llvm::SmallPtrSet<VarDecl*, 8> &Decls; member in __anon02a8bac50211::DeclExtractor 1176 DeclExtractor(Sema &S, llvm::SmallPtrSet<VarDecl*, 8> &Decls, in DeclExtractor() argument 1179 Decls(Decls), in DeclExtractor() 1240 Decls.insert(VD); in VisitDeclRefExpr() 1248 llvm::SmallPtrSet<VarDecl*, 8> &Decls; member in __anon02a8bac50211::DeclMatcher 1254 DeclMatcher(Sema &S, llvm::SmallPtrSet<VarDecl*, 8> &Decls, Stmt *Statement) : in DeclMatcher() argument 1255 Inherited(S.Context), Decls(Decls), FoundDecl(false) { in DeclMatcher() 1306 if (Decls.count(VD)) in VisitDeclRefExpr() 1325 llvm::SmallPtrSet<VarDecl*, 8> Decls; in CheckForLoopConditionalStatement() local 1327 DeclExtractor DE(S, Decls, Ranges); in CheckForLoopConditionalStatement() [all …]
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 317 ArrayRef<serialization::LocalDeclID> Decls; member 320 FileDeclsInfo(ModuleFile *Mod, ArrayRef<serialization::LocalDeclID> Decls) in FileDeclsInfo() 321 : Mod(Mod), Decls(Decls) {} in FileDeclsInfo() 1172 SmallVectorImpl<Decl*> &Decls); 1178 SmallVectorImpl<Decl *> &Decls); 1242 SmallVectorImpl<const DeclaratorDecl *> &Decls); 1245 SmallVectorImpl<CXXConstructorDecl *> &Decls); 1247 virtual void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls); 1249 virtual void ReadDynamicClasses(SmallVectorImpl<CXXRecordDecl *> &Decls); 1252 SmallVectorImpl<NamedDecl *> &Decls);
|
/external/clang/utils/TableGen/ |
D | ClangASTNodesEmitter.cpp | 199 RecordVector Decls = Records.getAllDerivedDefinitions("Decl"); in EmitClangDeclContext() local 202 for (RecordVector::iterator i = Decls.begin(), e = Decls.end(); i != e; ++i) { in EmitClangDeclContext()
|
/external/clang/lib/Serialization/ |
D | ASTReader.cpp | 2442 SmallVectorImpl<GlobalDeclID> &Decls = StoredMergedDecls[CanonID]; in ReadASTBlock() local 2444 Decls.push_back(getGlobalDeclID(F, Record[Idx++])); in ReadASTBlock() 4745 SmallVectorImpl<Decl*> &Decls; member in __anon3409e94a0611::FindExternalLexicalDeclsVisitor 4751 SmallVectorImpl<Decl*> &Decls) in FindExternalLexicalDeclsVisitor() argument 4752 : Reader(Reader), DC(DC), isKindWeWant(isKindWeWant), Decls(Decls) in FindExternalLexicalDeclsVisitor() 4788 This->Decls.push_back(D); in visit() 4799 SmallVectorImpl<Decl*> &Decls) { in FindExternalLexicalDecls() argument 4802 FindExternalLexicalDeclsVisitor Visitor(*this, DC, isKindWeWant, Decls); in FindExternalLexicalDecls() 4843 SmallVectorImpl<Decl *> &Decls) { in FindFileRegionDecls() argument 4851 if (DInfo.Decls.empty()) in FindFileRegionDecls() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGDeclCXX.cpp | 345 llvm::Constant **Decls, in GenerateCXXGlobalInitFunc() argument 361 if (Decls[i]) in GenerateCXXGlobalInitFunc() 362 Builder.CreateCall(Decls[i]); in GenerateCXXGlobalInitFunc()
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 2604 LocDeclsTy *&Decls = FileDecls[FID]; in addFileLevelDecl() local 2605 if (!Decls) in addFileLevelDecl() 2606 Decls = new LocDeclsTy(); in addFileLevelDecl() 2610 if (Decls->empty() || Decls->back().first <= Offset) { in addFileLevelDecl() 2611 Decls->push_back(LocDecl); in addFileLevelDecl() 2616 I = std::upper_bound(Decls->begin(), Decls->end(), LocDecl, compLocDecl); in addFileLevelDecl() 2618 Decls->insert(I, LocDecl); in addFileLevelDecl() 2622 SmallVectorImpl<Decl *> &Decls) { in findFileRegionDecls() argument 2629 Decls); in findFileRegionDecls() 2661 Decls.push_back(DIt->second); in findFileRegionDecls()
|