/external/clang/include/clang/AST/ |
H A D | ASTUnresolvedSet.h | 33 DeclsTy Decls; member in class:clang::ASTUnresolvedSet 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[ [all...] |
H A D | DeclGroup.h | 1 //===--- DeclGroup.h - Classes for representing groups of Decls -*- C++ -*-===// 40 static DeclGroup *Create(ASTContext &C, Decl **Decls, unsigned NumDecls); 72 static DeclGroupRef Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { 76 return DeclGroupRef(Decls[0]); 77 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls));
|
H A D | ASTImporter.h | 229 /// \param Decls the set of declarations with the same name as the 232 /// \param NumDecls the number of conflicting declarations in \p Decls. 238 NamedDecl **Decls,
|
H A D | CXXInheritance.h | 80 DeclContext::lookup_result Decls; member in class:clang::CXXBasePath
|
/external/llvm/lib/DebugInfo/ |
H A D | DWARFDebugAbbrev.cpp | 22 Decls.clear(); 33 Decls.push_back(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];
|
H A D | DWARFDebugAbbrev.h | 25 std::vector<DWARFAbbreviationDeclaration> Decls; member in class:llvm::DWARFAbbreviationDeclarationSet
|
/external/clang/lib/AST/ |
H A D | DeclGroup.cpp | 1 //===--- DeclGroup.cpp - Classes for representing groups of Decls -*- C++ -*-==// 20 DeclGroup* DeclGroup::Create(ASTContext &C, Decl **Decls, unsigned NumDecls) { argument 24 new (Mem) DeclGroup(NumDecls, Decls);
|
H A D | CXXInheritance.cpp | 29 llvm::SetVector<NamedDecl *, SmallVector<NamedDecl *, 8> > Decls; local 31 Decls.insert(Path->Decls.front()); 33 NumDeclsFound = Decls.size(); 35 std::copy(Decls.begin(), Decls.end(), DeclsFound); 392 for (Path.Decls = BaseRecord->lookup(N); 393 !Path.Decls.empty(); 394 Path.Decls = Path.Decls [all...] |
H A D | DeclBase.cpp | 963 DeclContext::BuildDeclChain(ArrayRef<Decl*> Decls, argument 968 for (unsigned I = 0, N = Decls.size(); I != N; ++I) { 969 if (FieldsAlreadyLoaded && isa<FieldDecl>(Decls[I])) 972 Decl *D = Decls[I]; 1006 SmallVector<Decl*, 64> Decls; local 1008 switch (Source->FindExternalLexicalDecls(this, Decls)) { 1017 if (Decls.empty()) 1030 BuildDeclChain(Decls, FieldsAlreadyLoaded); 1055 ArrayRef<NamedDecl*> Decls) { 1074 for (unsigned I = 0, N = Decls 1053 SetExternalVisibleDeclsForName(const DeclContext *DC, DeclarationName Name, ArrayRef<NamedDecl*> Decls) argument [all...] |
H A D | ExternalASTSource.cpp | 27 SmallVectorImpl<Decl *> &Decls) {} 25 FindFileRegionDecls(FileID File, unsigned Offset, unsigned Length, SmallVectorImpl<Decl *> &Decls) argument
|
H A D | DeclPrinter.cpp | 36 void ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls); 200 void DeclPrinter::ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls) { argument 202 Decl::printGroup(Decls.data(), Decls.size(), Out, Policy, Indentation); 204 Decls.clear(); 228 SmallVector<Decl*, 2> Decls; local 250 if (!Decls.empty() && !CurDeclType.isNull()) { 255 cast<TagType>(BaseType)->getDecl() == Decls[0]) { 256 Decls.push_back(*D); 262 if (!Decls [all...] |
/external/clang/include/clang/Sema/ |
H A D | ExternalSemaSource.h | 106 SmallVectorImpl<const DeclaratorDecl *> &Decls) {} 116 SmallVectorImpl<CXXConstructorDecl *> &Decls) {} 125 virtual void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) {} argument 133 virtual void ReadDynamicClasses(SmallVectorImpl<CXXRecordDecl *> &Decls) {} argument 143 SmallVectorImpl<NamedDecl *> &Decls) {} 105 ReadUnusedFileScopedDecls( SmallVectorImpl<const DeclaratorDecl *> &Decls) argument 115 ReadDelegatingConstructors( SmallVectorImpl<CXXConstructorDecl *> &Decls) argument 142 ReadLocallyScopedExternCDecls( SmallVectorImpl<NamedDecl *> &Decls) argument
|
H A D | Lookup.h | 272 return Decls; 275 iterator begin() const { return iterator(Decls.begin()); } 276 iterator end() const { return iterator(Decls.end()); } 279 bool empty() const { return Decls.empty(); } 376 Decls.addDecl(D, AS); 383 Decls.append(Other.Decls.begin(), Other.Decls.end()); 396 assert(ResultKind == NotFound && Decls.empty()); 418 if (Decls 654 UnresolvedSet<8> Decls; member in class:clang::LookupResult 719 llvm::DenseMap<NamedDecl*, NamedDecl*> Decls; member in class:clang::ADLResult [all...] |
H A D | MultiplexExternalSemaSource.h | 129 SmallVectorImpl<Decl *> &Decls) override; 256 SmallVectorImpl<const DeclaratorDecl*> &Decls) override; 266 SmallVectorImpl<CXXConstructorDecl*> &Decls) override; 275 void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl*> &Decls) override; 283 void ReadDynamicClasses(SmallVectorImpl<CXXRecordDecl*> &Decls) override; 293 SmallVectorImpl<NamedDecl*> &Decls) override;
|
H A D | IdentifierResolver.h | 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; member in class:clang::IdentifierResolver::IdDeclInfo
|
H A D | TypoCorrection.h | 152 void setCorrectionDecls(ArrayRef<NamedDecl*> Decls) { argument 154 CorrectionDecls.insert(CorrectionDecls.begin(), Decls.begin(), Decls.end());
|
/external/clang/lib/Sema/ |
H A D | MultiplexExternalSemaSource.cpp | 116 SmallVectorImpl<Decl *> &Decls){ 118 Sources[i]->FindFileRegionDecls(File, Offset, Length, Decls); 222 SmallVectorImpl<const DeclaratorDecl*> &Decls) { 224 Sources[i]->ReadUnusedFileScopedDecls(Decls); 228 SmallVectorImpl<CXXConstructorDecl*> &Decls) { 230 Sources[i]->ReadDelegatingConstructors(Decls); 234 SmallVectorImpl<TypedefNameDecl*> &Decls) { 236 Sources[i]->ReadExtVectorDecls(Decls); 240 SmallVectorImpl<CXXRecordDecl*> &Decls) { 242 Sources[i]->ReadDynamicClasses(Decls); 113 FindFileRegionDecls(FileID File, unsigned Offset, unsigned Length, SmallVectorImpl<Decl *> &Decls) argument 221 ReadUnusedFileScopedDecls( SmallVectorImpl<const DeclaratorDecl*> &Decls) argument 227 ReadDelegatingConstructors( SmallVectorImpl<CXXConstructorDecl*> &Decls) argument 233 ReadExtVectorDecls( SmallVectorImpl<TypedefNameDecl*> &Decls) argument 239 ReadDynamicClasses( SmallVectorImpl<CXXRecordDecl*> &Decls) argument 245 ReadLocallyScopedExternCDecls( SmallVectorImpl<NamedDecl*> &Decls) argument [all...] |
H A D | SemaLookup.cpp | 318 assert(ResultKind != NotFound || Decls.size() == 0); 319 assert(ResultKind != Found || Decls.size() == 1); 320 assert(ResultKind != FoundOverloaded || Decls.size() > 1 || 321 (Decls.size() == 1 && 324 assert(ResultKind != Ambiguous || Decls.size() > 1 || 325 (Decls.size() == 1 && (Ambiguity == AmbiguousBaseSubobjects || 355 unsigned N = Decls.size(); 366 NamedDecl *D = (*Decls.begin())->getUnderlyingDecl(); 388 NamedDecl *D = Decls[I]->getUnderlyingDecl(); 393 Decls[ [all...] |
H A D | IdentifierResolver.cpp | 71 for (DeclsTy::iterator I = Decls.end(); I != Decls.begin(); --I) { 73 Decls.erase(I-1);
|
H A D | SemaStmt.cpp | 1257 llvm::SmallPtrSet<VarDecl*, 8> &Decls; member in class:__anon18094::DeclExtractor 1263 DeclExtractor(Sema &S, llvm::SmallPtrSet<VarDecl*, 8> &Decls, argument 1266 Decls(Decls), 1327 Decls.insert(VD); 1335 llvm::SmallPtrSet<VarDecl*, 8> &Decls; member in class:__anon18094::DeclMatcher 1341 DeclMatcher(Sema &S, llvm::SmallPtrSet<VarDecl*, 8> &Decls, argument 1343 Inherited(S.Context), Decls(Decls), FoundDecl(false) { 1394 if (Decls 1412 llvm::SmallPtrSet<VarDecl*, 8> Decls; local [all...] |
/external/clang/utils/TableGen/ |
H A D | ClangASTNodesEmitter.cpp | 203 RecordVector Decls = Records.getAllDerivedDefinitions("Decl"); local 206 for (RecordVector::iterator i = Decls.begin(), e = Decls.end(); i != e; ++i) {
|
/external/lldb/include/lldb/Expression/ |
H A D | ClangASTSource.h | 31 /// The ExternalSemaSource class provides Decls (VarDecl, FunDecl, TypeDecl) 86 /// Look up all Decls that match a particular name. Only handles 95 /// The DeclContext to register the found Decls in. 108 /// Enumerate all Decls in a given lexical context. 115 /// DeclKinds of desired Decls, and false otherwise. 117 /// @param[in] Decls 118 /// A vector that is filled in with matching Decls. 123 llvm::SmallVectorImpl<clang::Decl*> &Decls); 263 llvm::SmallVectorImpl<clang::Decl*> &Decls) 265 return m_original.FindExternalLexicalDecls(DC, isKindWeWant, Decls); 261 FindExternalLexicalDecls(const clang::DeclContext *DC, bool (*isKindWeWant)(clang::Decl::Kind), llvm::SmallVectorImpl<clang::Decl*> &Decls) argument [all...] |
/external/clang/include/clang/Serialization/ |
H A D | ASTReader.h | 442 ArrayRef<serialization::LocalDeclID> Decls; member in struct:clang::ASTReader::FileDeclsInfo 445 FileDeclsInfo(ModuleFile *Mod, ArrayRef<serialization::LocalDeclID> Decls) argument 446 : Mod(Mod), Decls(Decls) {} 955 /// \brief The set of Decls that have been loaded but their DeclContexts are 958 /// The DeclContexts for these Decls will be set once recursive loading has 1663 /// LazyOffsetPtr (which is used by Decls for the body of functions, etc). 1683 /// \param Decls Vector that will contain the declarations loaded 1692 SmallVectorImpl<Decl*> &Decls) override; 1698 SmallVectorImpl<Decl *> &Decls) overrid [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGDeclCXX.cpp | 448 ArrayRef<llvm::Constant *> Decls, 483 for (unsigned i = 0, e = Decls.size(); i != e; ++i) 484 if (Decls[i]) 485 EmitRuntimeCall(Decls[i]); 447 GenerateCXXGlobalInitFunc(llvm::Function *Fn, ArrayRef<llvm::Constant *> Decls, llvm::GlobalVariable *Guard) argument
|
/external/clang/lib/Serialization/ |
H A D | ASTReader.cpp | 3242 SmallVectorImpl<GlobalDeclID> &Decls = StoredMergedDecls[CanonID]; local 3244 Decls.push_back(getGlobalDeclID(F, Record[Idx++])); 6181 /// LazyOffsetPtr (which is used by Decls for the body of functions, etc). 6198 SmallVectorImpl<Decl*> &Decls; 6204 SmallVectorImpl<Decl*> &Decls) 6205 : Reader(Reader), DC(DC), isKindWeWant(isKindWeWant), Decls(Decls) 6241 This->Decls.push_back(D); 6252 SmallVectorImpl<Decl*> &Decls) { 6255 FindExternalLexicalDeclsVisitor Visitor(*this, DC, isKindWeWant, Decls); [all...] |