Searched defs:Decls (Results 1 - 25 of 30) 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
26 new (Mem) DeclGroup(NumDecls, Decls);
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.get());
381 for (Path.Decls = BaseRecord->lookup(Name);
382 !Path.Decls.empty();
383 Path.Decls = Path.Decls
[all...]
H A DExternalASTSource.cpp48 SmallVectorImpl<Decl *> &Decls) {}
46 FindFileRegionDecls(FileID File, unsigned Offset, unsigned Length, SmallVectorImpl<Decl *> &Decls) argument
H A DDeclPrinter.cpp36 void ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls);
250 void DeclPrinter::ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls) { argument
252 Decl::printGroup(Decls.data(), Decls.size(), Out, Policy, Indentation);
254 Decls.clear();
278 SmallVector<Decl*, 2> Decls; local
300 if (!Decls.empty() && !CurDeclType.isNull()) {
305 cast<TagType>(BaseType)->getDecl() == Decls[0]) {
306 Decls.push_back(*D);
312 if (!Decls
[all...]
H A DDeclBase.cpp1029 DeclContext::BuildDeclChain(ArrayRef<Decl*> Decls, argument
1034 for (unsigned I = 0, N = Decls.size(); I != N; ++I) {
1035 if (FieldsAlreadyLoaded && isa<FieldDecl>(Decls[I]))
1038 Decl *D = Decls[I];
1073 SmallVector<Decl*, 64> Decls; local
1075 Source->FindExternalLexicalDecls(this, Decls);
1077 if (Decls.empty())
1090 BuildDeclChain(Decls, FieldsAlreadyLoaded);
1116 ArrayRef<NamedDecl*> Decls) {
1135 for (unsigned I = 0, N = Decls
1114 SetExternalVisibleDeclsForName(const DeclContext *DC, DeclarationName Name, ArrayRef<NamedDecl*> Decls) argument
[all...]
H A DDecl.cpp3668 SmallVector<Decl*, 64> Decls; local
3672 }, Decls);
3676 for (unsigned i=0, e=Decls.size(); i != e; ++i)
3677 assert(isa<FieldDecl>(Decls[i]) || isa<IndirectFieldDecl>(Decls[i]));
3680 if (Decls.empty())
3683 std::tie(FirstDecl, LastDecl) = BuildDeclChain(Decls,
H A DASTImporter.cpp5863 NamedDecl **Decls,
5860 HandleNameConflict(DeclarationName Name, DeclContext *DC, unsigned IDNS, NamedDecl **Decls, unsigned NumDecls) argument
/external/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFDebugAbbrev.h25 std::vector<DWARFAbbreviationDeclaration> Decls; member in class:llvm::DWARFAbbreviationDeclarationSet
/external/clang/test/SemaCXX/
H A Dpass-object-size.cpp22 void Decls() { function in namespace:simple
67 void Decls() { function in namespace:templates
/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 DUnresolvedSet.h134 SmallVector<DeclAccessPair, InlineCapacity> Decls; member in class:clang::UnresolvedSet
H A DCXXInheritance.h80 DeclContext::lookup_result Decls; member in class:clang::CXXBasePath
/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.h114 SmallVectorImpl<const DeclaratorDecl *> &Decls) {}
124 SmallVectorImpl<CXXConstructorDecl *> &Decls) {}
133 virtual void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) {} argument
142 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) {}
113 ReadUnusedFileScopedDecls( SmallVectorImpl<const DeclaratorDecl *> &Decls) argument
123 ReadDelegatingConstructors( SmallVectorImpl<CXXConstructorDecl *> &Decls) argument
141 ReadUnusedLocalTypedefNameCandidates( llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) argument
H A DTypoCorrection.h153 void setCorrectionDecls(ArrayRef<NamedDecl*> Decls) { argument
155 CorrectionDecls.insert(CorrectionDecls.begin(), Decls.begin(), Decls.end());
H A DLookup.h273 return Decls;
276 iterator begin() const { return iterator(Decls.begin()); }
277 iterator end() const { return iterator(Decls.end()); }
280 bool empty() const { return Decls.empty(); }
374 Decls.addDecl(D, AS);
381 Decls.append(Other.Decls.begin(), Other.Decls.end());
394 assert(ResultKind == NotFound && Decls.empty());
416 if (Decls
663 UnresolvedSet<8> Decls; member in class:clang::LookupResult
728 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.cpp505 ArrayRef<llvm::Function *> Decls,
540 for (unsigned i = 0, e = Decls.size(); i != e; ++i)
541 if (Decls[i])
542 EmitRuntimeCall(Decls[i]);
504 GenerateCXXGlobalInitFunc(llvm::Function *Fn, ArrayRef<llvm::Function *> Decls, Address Guard) argument
/external/clang/lib/Sema/
H A DMultiplexExternalSemaSource.cpp120 SmallVectorImpl<Decl *> &Decls){
122 Sources[i]->FindFileRegionDecls(File, Offset, Length, Decls);
234 SmallVectorImpl<const DeclaratorDecl*> &Decls) {
236 Sources[i]->ReadUnusedFileScopedDecls(Decls);
240 SmallVectorImpl<CXXConstructorDecl*> &Decls) {
242 Sources[i]->ReadDelegatingConstructors(Decls);
246 SmallVectorImpl<TypedefNameDecl*> &Decls) {
248 Sources[i]->ReadExtVectorDecls(Decls);
252 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) {
254 Sources[i]->ReadUnusedLocalTypedefNameCandidates(Decls);
117 FindFileRegionDecls(FileID File, unsigned Offset, unsigned Length, SmallVectorImpl<Decl *> &Decls) argument
233 ReadUnusedFileScopedDecls( SmallVectorImpl<const DeclaratorDecl*> &Decls) argument
239 ReadDelegatingConstructors( SmallVectorImpl<CXXConstructorDecl*> &Decls) argument
245 ReadExtVectorDecls( SmallVectorImpl<TypedefNameDecl*> &Decls) argument
251 ReadUnusedLocalTypedefNameCandidates( llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) argument
[all...]
H A DSemaCodeComplete.cpp4030 UnresolvedSet<8> Decls; local
4031 Decls.append(UME->decls_begin(), UME->decls_end());
4032 AddFunctionCandidates(Decls, ArgExprs, CandidateSet, TemplateArgs,
H A DSemaDeclObjC.cpp1975 Sema::ActOnFinishObjCImplementation(Decl *ObjCImpDecl, ArrayRef<Decl *> Decls) { argument
1977 DeclsInGroup.reserve(Decls.size() + 1);
1979 for (unsigned i = 0, e = Decls.size(); i != e; ++i) {
1980 Decl *Dcl = Decls[i];
4371 /// instance variables of ClassName into Decls.
4374 SmallVectorImpl<Decl*> &Decls) {
4398 Decls.push_back(FD);
4402 for (SmallVectorImpl<Decl*>::iterator D = Decls.begin();
4403 D != Decls.end(); ++D) {
4372 ActOnDefs(Scope *S, Decl *TagD, SourceLocation DeclStart, IdentifierInfo *ClassName, SmallVectorImpl<Decl*> &Decls) argument
/external/clang/include/clang/Serialization/
H A DASTReader.h499 ArrayRef<serialization::LocalDeclID> Decls; member in struct:clang::ASTReader::FileDeclsInfo
502 FileDeclsInfo(ModuleFile *Mod, ArrayRef<serialization::LocalDeclID> Decls) argument
503 : Mod(Mod), Decls(Decls) {}
965 /// \brief The set of Decls that have been loaded but their DeclContexts are
968 /// The DeclContexts for these Decls will be set once recursive loading has
1709 /// LazyOffsetPtr (which is used by Decls for the body of functions, etc).
1732 /// \param Decls Vector that will contain the declarations loaded
1739 SmallVectorImpl<Decl *> &Decls) override;
1745 SmallVectorImpl<Decl *> &Decls) overrid
[all...]
/external/clang/lib/Frontend/
H A DASTUnit.cpp2592 LocDeclsTy *&Decls = FileDecls[FID];
2593 if (!Decls)
2594 Decls = new LocDeclsTy();
2598 if (Decls->empty() || Decls->back().first <= Offset) {
2599 Decls->push_back(LocDecl);
2603 LocDeclsTy::iterator I = std::upper_bound(Decls->begin(), Decls->end(),
2606 Decls->insert(I, LocDecl);
2610 SmallVectorImpl<Decl *> &Decls) {
2609 findFileRegionDecls(FileID File, unsigned Offset, unsigned Length, SmallVectorImpl<Decl *> &Decls) argument
[all...]
/external/clang/include/clang/Parse/
H A DParser.h935 SmallVector<Decl*, 2> Decls; member in struct:clang::Parser::LateParsedAttribute
943 void addDecl(Decl *D) { Decls.push_back(D); }
/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())));
1500 UnresolvedSet<8> Decls; local
1504 Decls.addDecl(D, AS);
1506 E->initializeResults(Reader.getContext(), Decls.begin(), Decls.end());

Completed in 511 milliseconds

12