Searched defs:Decls (Results 1 - 25 of 34) sorted by relevance

12

/external/clang/lib/AST/
H A DDeclGroup.cpp1 //===--- 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 DExternalASTSource.cpp27 SmallVectorImpl<Decl *> &Decls) {}
25 FindFileRegionDecls(FileID File, unsigned Offset, unsigned Length, SmallVectorImpl<Decl *> &Decls) argument
H A DCXXInheritance.cpp29 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 DDeclPrinter.cpp36 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...]
H A DDeclBase.cpp963 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 DASTImporter.cpp5054 NamedDecl **Decls,
5051 HandleNameConflict(DeclarationName Name, DeclContext *DC, unsigned IDNS, NamedDecl **Decls, unsigned NumDecls) argument
H A DDecl.cpp3556 SmallVector<Decl*, 64> Decls; local
3559 Decls)) {
3570 for (unsigned i=0, e=Decls.size(); i != e; ++i)
3571 assert(isa<FieldDecl>(Decls[i]) || isa<IndirectFieldDecl>(Decls[i]));
3574 if (Decls.empty())
3577 std::tie(FirstDecl, LastDecl) = BuildDeclChain(Decls,
/external/llvm/lib/DebugInfo/
H A DDWARFDebugAbbrev.h25 std::vector<DWARFAbbreviationDeclaration> Decls; member in class:llvm::DWARFAbbreviationDeclarationSet
/external/clang/include/clang/AST/
H A DASTUnresolvedSet.h33 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 DCXXInheritance.h80 DeclContext::lookup_result Decls; member in class:clang::CXXBasePath
H A DUnresolvedSet.h178 SmallVector<DeclAccessPair, InlineCapacity> Decls; member in class:clang::UnresolvedSet
/external/clang/include/clang/Sema/
H A DIdentifierResolver.h45 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 DExternalSemaSource.h106 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 DTypoCorrection.h152 void setCorrectionDecls(ArrayRef<NamedDecl*> Decls) { argument
154 CorrectionDecls.insert(CorrectionDecls.begin(), Decls.begin(), Decls.end());
H A DLookup.h272 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...]
/external/clang/utils/TableGen/
H A DClangASTNodesEmitter.cpp203 RecordVector Decls = Records.getAllDerivedDefinitions("Decl"); local
206 for (RecordVector::iterator i = Decls.begin(), e = Decls.end(); i != e; ++i) {
/external/clang/lib/CodeGen/
H A DCGDeclCXX.cpp448 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
H A DCGCXXABI.cpp314 ArrayRef<std::pair<const VarDecl *, llvm::GlobalVariable *> > Decls,
313 EmitThreadLocalInitFuncs( ArrayRef<std::pair<const VarDecl *, llvm::GlobalVariable *> > Decls, llvm::Function *InitFunc) argument
/external/lldb/include/lldb/Expression/
H A DClangASTSource.h31 /// 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/lib/Sema/
H A DMultiplexExternalSemaSource.cpp116 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...]
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeVendor.cpp77 llvm::SmallVectorImpl<clang::Decl*> &Decls)
75 FindExternalLexicalDecls(const clang::DeclContext *DC, bool (*isKindWeWant)(clang::Decl::Kind), llvm::SmallVectorImpl<clang::Decl*> &Decls) argument
/external/clang/include/clang/Serialization/
H A DASTReader.h442 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/Frontend/
H A DASTUnit.cpp2615 LocDeclsTy *&Decls = FileDecls[FID];
2616 if (!Decls)
2617 Decls = new LocDeclsTy();
2621 if (Decls->empty() || Decls->back().first <= Offset) {
2622 Decls->push_back(LocDecl);
2626 LocDeclsTy::iterator I = std::upper_bound(Decls->begin(), Decls->end(),
2629 Decls->insert(I, LocDecl);
2633 SmallVectorImpl<Decl *> &Decls) {
2632 findFileRegionDecls(FileID File, unsigned Offset, unsigned Length, SmallVectorImpl<Decl *> &Decls) argument
[all...]
/external/clang/lib/Serialization/
H A DASTReaderStmt.cpp289 SmallVector<Decl *, 16> Decls; local
290 Decls.reserve(Record.size() - Idx);
292 Decls.push_back(ReadDecl(Record, Idx));
294 Decls.data(),
295 Decls.size())));
1457 UnresolvedSet<8> Decls; local
1461 Decls.addDecl(D, AS);
1463 E->initializeResults(Reader.getContext(), Decls.begin(), Decls.end());
/external/clang/include/clang/Parse/
H A DParser.h924 SmallVector<Decl*, 2> Decls; member in struct:clang::Parser::LateParsedAttribute
932 void addDecl(Decl *D) { Decls.push_back(D); }

Completed in 4135 milliseconds

12