/external/clang/include/clang/AST/ |
ASTUnresolvedSet.h | 33 DeclsTy Decls; 39 ASTUnresolvedSet(ASTContext &C, unsigned N) : Decls(C, N) {} 44 iterator begin() { return iterator(Decls.begin()); } 45 iterator end() { return iterator(Decls.end()); } 47 const_iterator begin() const { return const_iterator(Decls.begin()); } 48 const_iterator end() const { return const_iterator(Decls.end()); } 51 Decls.push_back(DeclAccessPair::make(D, AS), C); 58 for (DeclsTy::iterator I = Decls.begin(), E = Decls.end(); I != E; ++I) { 67 void erase(unsigned I) { Decls[I] = Decls.pop_back_val(); [all...] |
DeclGroup.h | 1 //===--- DeclGroup.h - Classes for representing groups of Decls -*- C++ -*-===// 34 DeclGroup(unsigned numdecls, Decl** decls); 37 static DeclGroup *Create(ASTContext &C, Decl **Decls, unsigned NumDecls); 71 static DeclGroupRef Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { 75 return DeclGroupRef(Decls[0]); 76 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls));
|
ASTImporter.h | 243 /// \param Decls the set of declarations with the same name as the 246 /// \param NumDecls the number of conflicting declarations in \p Decls. 252 NamedDecl **Decls,
|
/external/llvm/lib/DebugInfo/DWARF/ |
DWARFDebugAbbrev.cpp | 22 Decls.clear(); 42 Decls.push_back(std::move(AbbrDecl)); 48 for (const auto &Decl : Decls) 56 for (const auto &Decl : Decls) { 62 if (AbbrCode < FirstAbbrCode || AbbrCode >= FirstAbbrCode + Decls.size()) 64 return &Decls[AbbrCode - FirstAbbrCode];
|
/external/clang/lib/AST/ |
DeclGroup.cpp | 1 //===--- DeclGroup.cpp - Classes for representing groups of Decls -*- C++ -*-==// 20 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { 24 new (Mem) DeclGroup(NumDecls, Decls); 28 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) { 30 assert(decls); 31 std::uninitialized_copy(decls, decls + numdecls,
|
CXXInheritance.cpp | 29 llvm::SetVector<NamedDecl *, SmallVector<NamedDecl *, 8> > Decls; 31 Decls.insert(Path->Decls.front()); 33 NumDeclsFound = Decls.size(); 35 std::copy(Decls.begin(), Decls.end(), DeclsFound.get()); 381 for (Path.Decls = BaseRecord->lookup(Name); 382 !Path.Decls.empty(); 383 Path.Decls = Path.Decls.slice(1)) [all...] |
DeclBase.cpp | 144 llvm::errs() << " " << totalDecls << " decls total.\n"; 150 llvm::errs() << " " << n##DERIVED##s << " " #DERIVED " decls, " \ 1073 DeclContext::BuildDeclChain(ArrayRef<Decl*> Decls, 1078 for (unsigned I = 0, N = Decls.size(); I != N; ++I) { 1079 if (FieldsAlreadyLoaded && isa<FieldDecl>(Decls[I])) 1082 Decl *D = Decls[I]; [all...] |
DeclPrinter.cpp | 36 void ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls); 252 void DeclPrinter::ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls) { 254 Decl::printGroup(Decls.data(), Decls.size(), Out, Policy, Indentation); 256 Decls.clear(); 280 SmallVector<Decl*, 2> Decls; 302 if (!Decls.empty() && !CurDeclType.isNull()) { 307 cast<TagType>(BaseType)->getDecl() == Decls[0]) { 308 Decls.push_back(*D); 314 if (!Decls.empty() [all...] |
ExternalASTSource.cpp | 48 SmallVectorImpl<Decl *> &Decls) {}
|
/external/swiftshader/third_party/LLVM/lib/DebugInfo/ |
DWARFDebugAbbrev.cpp | 23 Decls.push_back(abbrevDeclaration); 36 for (unsigned i = 0, e = Decls.size(); i != e; ++i) 37 Decls[i].dump(OS); 45 DWARFAbbreviationDeclarationCollConstIter end = Decls.end(); 46 for (pos = Decls.begin(); pos != end; ++pos) { 52 if (idx < Decls.size()) 53 return &Decls[idx];
|
DWARFDebugAbbrev.h | 30 std::vector<DWARFAbbreviationDeclaration> Decls; 40 Decls.clear();
|
/external/clang/include/clang/Sema/ |
Lookup.h | 195 Ambiguity(std::move(Other.Ambiguity)), Decls(std::move(Other.Decls)), 212 Decls = std::move(Other.Decls); 316 return Decls; 319 iterator begin() const { return iterator(Decls.begin()); } 320 iterator end() const { return iterator(Decls.end()); } 322 /// \brief Return true if no decls were found 323 bool empty() const { return Decls.empty(); } 417 Decls.addDecl(D, AS) [all...] |
ExternalSemaSource.h | 118 SmallVectorImpl<const DeclaratorDecl *> &Decls) {} 128 SmallVectorImpl<CXXConstructorDecl *> &Decls) {} 137 virtual void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) {} 146 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) {}
|
IdentifierResolver.h | 32 /// IdentifierResolver - Keeps track of shadowed decls on enclosing 37 /// IdDeclInfo - Keeps track of information about decls associated 45 inline DeclsTy::iterator decls_begin() { return Decls.begin(); } 46 inline DeclsTy::iterator decls_end() { return Decls.end(); } 48 void AddDecl(NamedDecl *D) { Decls.push_back(D); } 56 Decls.insert(Pos, D); 60 DeclsTy Decls; 65 /// iterator - Iterate over the decls of a specified declaration name. 78 /// 2) A IdDeclInfo::DeclsTy::iterator that traverses only the decls of the 80 /// 3) A IdDeclInfo::DeclsTy::iterator that traverses the decls of paren [all...] |
MultiplexExternalSemaSource.h | 112 /// \brief Get the decls that are contained in a file in the Offset/Length 116 SmallVectorImpl<Decl *> &Decls) override; 135 /// decls that are initializing. Must be paired with FinishedDeserializing. 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;
|
TypoCorrection.h | 160 void setCorrectionDecls(ArrayRef<NamedDecl*> Decls) { 162 CorrectionDecls.insert(CorrectionDecls.begin(), Decls.begin(), Decls.end()); 331 // corrections that are keywords or whose decls refer to functions (or template
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/ |
DWARFDebugAbbrev.cpp | 26 Decls.clear(); 46 Decls.push_back(std::move(AbbrDecl)); 52 for (const auto &Decl : Decls) 60 for (const auto &Decl : Decls) { 66 if (AbbrCode < FirstAbbrCode || AbbrCode >= FirstAbbrCode + Decls.size()) 68 return &Decls[AbbrCode - FirstAbbrCode];
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/ |
DWARFDebugAbbrev.h | 28 std::vector<DWARFAbbreviationDeclaration> Decls; 44 return Decls.begin(); 48 return Decls.end();
|
/external/llvm/include/llvm/DebugInfo/DWARF/ |
DWARFDebugAbbrev.h | 24 std::vector<DWARFAbbreviationDeclaration> Decls;
|
/external/clang/lib/Sema/ |
MultiplexExternalSemaSource.cpp | 120 SmallVectorImpl<Decl *> &Decls){ 122 Sources[i]->FindFileRegionDecls(File, Offset, Length, Decls); 239 SmallVectorImpl<const DeclaratorDecl*> &Decls) { 241 Sources[i]->ReadUnusedFileScopedDecls(Decls); 245 SmallVectorImpl<CXXConstructorDecl*> &Decls) { 247 Sources[i]->ReadDelegatingConstructors(Decls); 251 SmallVectorImpl<TypedefNameDecl*> &Decls) { 253 Sources[i]->ReadExtVectorDecls(Decls); 257 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) { 259 Sources[i]->ReadUnusedLocalTypedefNameCandidates(Decls); [all...] |
SemaLookup.cpp | 242 // 1) TagFriend to find undeclared friend decls 243 // 2) Namespace because they can't "overload" with tag decls. 245 // "overload" with tag decls. 326 assert(ResultKind != NotFound || Decls.size() == 0); 327 assert(ResultKind != Found || Decls.size() == 1); 328 assert(ResultKind != FoundOverloaded || Decls.size() > 1 || 329 (Decls.size() == 1 && 332 assert(ResultKind != Ambiguous || Decls.size() > 1 || 333 (Decls.size() == 1 && (Ambiguity == AmbiguousBaseSubobjects || 471 unsigned N = Decls.size() [all...] |
IdentifierResolver.cpp | 71 for (DeclsTy::iterator I = Decls.end(); I != Decls.begin(); --I) { 73 Decls.erase(I-1); 226 /// begin - Returns an iterator for decls with name 'Name'. 243 // No decls found. 420 else // No more decls.
|
/external/clang/test/SemaCXX/ |
pass-object-size.cpp | 22 void Decls() { 67 void Decls() {
|
/external/clang/utils/TableGen/ |
ClangASTNodesEmitter.cpp | 203 RecordVector Decls = Records.getAllDerivedDefinitions("Decl"); 206 for (RecordVector::iterator i = Decls.begin(), e = Decls.end(); i != e; ++i) {
|
/external/clang/include/clang/Serialization/ |
ASTReader.h | 490 ArrayRef<serialization::LocalDeclID> Decls; 493 FileDeclsInfo(ModuleFile *Mod, ArrayRef<serialization::LocalDeclID> Decls) 494 : Mod(Mod), Decls(Decls) {} 515 // Updates for visible decls can occur for other contexts than just the 694 /// "interesting" decls. 763 /// Sema tracks a few important decls, such as namespace std, directly. 773 /// The AST context tracks a few important decls, currently cudaConfigureCall, 796 /// \brief A list of undefined decls with internal linkage followed by the [all...] |