/external/clang/include/clang/AST/ |
ASTUnresolvedSet.h | 26 DeclsTy Decls; 33 ASTUnresolvedSet(ASTContext &C, unsigned N) : Decls(C, N) {} 38 iterator begin() { return iterator(Decls.begin()); } 39 iterator end() { return iterator(Decls.end()); } 41 const_iterator begin() const { return const_iterator(Decls.begin()); } 42 const_iterator end() const { return const_iterator(Decls.end()); } 45 Decls.push_back(DeclAccessPair::make(D, AS), C); 52 for (DeclsTy::iterator I = Decls.begin(), E = Decls.end(); I != E; ++I) { 62 Decls[I] = Decls.back() [all...] |
CXXInheritance.h | 80 DeclContext::lookup_result Decls;
|
UnresolvedSet.h | 108 iterator begin() { return iterator(decls().begin()); } 109 iterator end() { return iterator(decls().end()); } 111 const_iterator begin() const { return const_iterator(decls().begin()); } 112 const_iterator end() const { return const_iterator(decls().end()); } 119 decls().push_back(DeclAccessPair::make(D, AS)); 126 for (DeclsTy::iterator I = decls().begin(), E = decls().end(); I != E; ++I) 143 decls()[I] = decls().back(); 144 decls().pop_back() 172 DeclsTy &decls() { function in class:clang::UnresolvedSetImpl 175 const DeclsTy &decls() const { function in class:clang::UnresolvedSetImpl [all...] |
/external/llvm/lib/DebugInfo/ |
DWARFDebugAbbrev.h | 30 std::vector<DWARFAbbreviationDeclaration> Decls; 40 Decls.clear();
|
/external/clang/include/clang/Sema/ |
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...] |
Lookup.h | 269 return Decls; 272 iterator begin() const { return iterator(Decls.begin()); } 273 iterator end() const { return iterator(Decls.end()); } 275 /// \brief Return true if no decls were found 276 bool empty() const { return Decls.empty(); } 373 Decls.addDecl(D, AS); 380 Decls.append(Other.Decls.begin(), Other.Decls.end()); 393 assert(ResultKind == NotFound && Decls.empty()) [all...] |
/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/lib/AST/ |
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); 400 for (Path.Decls = BaseRecord->lookup(N); 401 !Path.Decls.empty(); 402 Path.Decls = Path.Decls.slice(1)) [all...] |
DeclPrinter.cpp | 36 void ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls); 200 void DeclPrinter::ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls) { 202 Decl::printGroup(Decls.data(), Decls.size(), Out, Policy, Indentation); 204 Decls.clear(); 228 SmallVector<Decl*, 2> Decls; 261 if (!Decls.empty() && !CurDeclType.isNull()) { 264 cast<TagType>(BaseType)->getDecl() == Decls[0]) { 265 Decls.push_back(*D); 271 if (!Decls.empty() [all...] |
DeclBase.cpp | 112 llvm::errs() << " " << totalDecls << " decls total.\n"; 118 llvm::errs() << " " << n##DERIVED##s << " " #DERIVED " decls, " \ 890 DeclContext::BuildDeclChain(ArrayRef<Decl*> Decls, 895 for (unsigned I = 0, N = Decls.size(); I != N; ++I) { 896 if (FieldsAlreadyLoaded && isa<FieldDecl>(Decls[I])) 899 Decl *D = Decls[I]; 937 SmallVector<Decl*, 64> Decls; 939 switch (Source->FindExternalLexicalDecls(this, Decls)) { 948 if (Decls.empty()) 960 llvm::tie(ExternalFirst, ExternalLast) = BuildDeclChain(Decls, [all...] |
Decl.cpp | 688 // look at previous decls in here. [all...] |
StmtPrinter.cpp | 129 SmallVector<Decl*, 2> Decls; 131 Decls.push_back(*Begin); 133 Decl::printGroup(Decls.data(), Decls.size(), OS, Policy, IndentLevel); [all...] |
/external/clang/include/clang/Parse/ |
Parser.h | 210 /// True if we are within an Objective-C container while parsing C-like decls. 213 /// to parse the C-like decls, meaning Actions.getObjCDeclContext() will 820 SmallVector<Decl*, 2> Decls; 828 void addDecl(Decl *D) { Decls.push_back(D); } [all...] |
/external/clang/include/clang/Serialization/ |
ASTReader.h | 385 ArrayRef<serialization::LocalDeclID> Decls; 388 FileDeclsInfo(ModuleFile *Mod, ArrayRef<serialization::LocalDeclID> Decls) 389 : Mod(Mod), Decls(Decls) {} 395 // Updates for visible decls can occur for other contexts than just the 610 /// "interesting" decls. 672 /// \brief The IDs of all locally scoped extern "C" decls in the chain. 686 /// Sema tracks a few important decls, such as namespace std, directly. 696 /// The AST context tracks a few important decls, currently cudaConfigureCall, 709 /// \brief A list of undefined decls with internal linkage followed by th [all...] |
/external/clang/lib/Sema/ |
SemaStmt.cpp | 299 // If we're in C89 mode, check that we don't have any decls after stmts. If [all...] |
SemaDecl.cpp | [all...] |
SemaDeclCXX.cpp | [all...] |
TreeTransform.h | [all...] |
/external/clang/lib/Serialization/ |
ASTReaderStmt.cpp | 289 SmallVector<Decl *, 16> Decls; 290 Decls.reserve(Record.size() - Idx); 292 Decls.push_back(ReadDecl(Record, Idx)); 294 Decls.data(), 295 Decls.size()))); [all...] |
ASTWriter.cpp | 865 // Decls and Types block. [all...] |
ASTReader.cpp | 723 // First the lexical decls. [all...] |
/external/clang/tools/libclang/ |
CIndex.cpp | 283 SmallVector<Decl *, 16> Decls; 284 Unit->findFileRegionDecls(File, Offset, Length, Decls); 286 // If we didn't find any file level decls for the file, try looking at the 288 while (Decls.empty() || Decls.front()->isTopLevelDeclInObjCContainer()) { 304 Unit->findFileRegionDecls(File, Offset, Length, Decls); 307 assert(!Decls.empty()); 311 SmallVectorImpl<Decl *>::iterator DIt = Decls.begin(); 312 for (SmallVectorImpl<Decl *>::iterator DE = Decls.end(); DIt != DE; ++DIt) { 349 // No Decls overlapped with the range. Move up the lexical context until ther [all...] |