HomeSort by relevance Sort by last modified time
    Searched refs:Decls (Results 1 - 25 of 47) sorted by null

1 2

  /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++ -*-===//
37 DeclGroup(unsigned numdecls, Decl** decls);
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));
ASTImporter.h 234 /// \param Decls the set of declarations with the same name as the
237 /// \param NumDecls the number of conflicting declarations in \p Decls.
243 NamedDecl **Decls,
UnresolvedSet.h 71 iterator begin() { return iterator(decls().begin()); }
72 iterator end() { return iterator(decls().end()); }
74 const_iterator begin() const { return const_iterator(decls().begin()); }
75 const_iterator end() const { return const_iterator(decls().end()); }
82 decls().push_back(DeclAccessPair::make(D, AS));
89 for (DeclsTy::iterator I = decls().begin(), E = decls().end(); I != E; ++I)
103 void erase(unsigned I) { decls()[I] = decls().pop_back_val(); }
105 void erase(iterator I) { *I.I = decls().pop_back_val();
123 DeclsTy &decls() { function in class:clang::UnresolvedSetImpl
126 const DeclsTy &decls() const { function in class:clang::UnresolvedSetImpl
    [all...]
CXXInheritance.h 80 DeclContext::lookup_result Decls;
ExternalASTSource.h 45 /// whenever we might have added new redeclarations for existing decls.
106 /// FunctionDecl::setLazyBody when building decls.
191 /// \brief Get the decls that are contained in a file in the Offset/Length
196 SmallVectorImpl<Decl *> &Decls);
221 /// decls that are initializing. Must be paired with FinishedDeserializing.
304 ArrayRef<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) {
26 new (Mem) DeclGroup(NumDecls, Decls);
30 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) {
32 assert(decls);
33 memcpy(this+1, decls, numdecls * sizeof(*decls));
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 143 llvm::errs() << " " << totalDecls << " decls total.\n";
149 llvm::errs() << " " << n##DERIVED##s << " " #DERIVED " decls, " \
1029 DeclContext::BuildDeclChain(ArrayRef<Decl*> Decls,
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;
1075 Source->FindExternalLexicalDecls(this, Decls);
1077 if (Decls.empty())
1090 BuildDeclChain(Decls, FieldsAlreadyLoaded)
    [all...]
DeclPrinter.cpp 36 void ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls);
250 void DeclPrinter::ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls) {
252 Decl::printGroup(Decls.data(), Decls.size(), Out, Policy, Indentation);
254 Decls.clear();
278 SmallVector<Decl*, 2> Decls;
300 if (!Decls.empty() && !CurDeclType.isNull()) {
305 cast<TagType>(BaseType)->getDecl() == Decls[0]) {
306 Decls.push_back(*D);
312 if (!Decls.empty()
    [all...]
ExternalASTSource.cpp 48 SmallVectorImpl<Decl *> &Decls) {}
  /external/clang/include/clang/Sema/
ExternalSemaSource.h 114 SmallVectorImpl<const DeclaratorDecl *> &Decls) {}
124 SmallVectorImpl<CXXConstructorDecl *> &Decls) {}
133 virtual void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) {}
142 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...]
Lookup.h 273 return Decls;
276 iterator begin() const { return iterator(Decls.begin()); }
277 iterator end() const { return iterator(Decls.end()); }
279 /// \brief Return true if no decls were found
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())
    [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.
247 SmallVectorImpl<const DeclaratorDecl*> &Decls) override;
257 SmallVectorImpl<CXXConstructorDecl*> &Decls) override;
266 void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl*> &Decls) override;
275 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) override;
TypoCorrection.h 153 void setCorrectionDecls(ArrayRef<NamedDecl*> Decls) {
155 CorrectionDecls.insert(CorrectionDecls.begin(), Decls.begin(), Decls.end());
325 // corrections that are keywords or whose decls refer to functions (or template
  /external/llvm/include/llvm/DebugInfo/DWARF/
DWARFDebugAbbrev.h 25 std::vector<DWARFAbbreviationDeclaration> Decls;
  /external/clang/lib/Sema/
MultiplexExternalSemaSource.cpp 120 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);
    [all...]
SemaLookup.cpp 243 // 1) TagFriend to find undeclared friend decls
244 // 2) Namespace because they can't "overload" with tag decls.
246 // "overload" with tag decls.
323 assert(ResultKind != NotFound || Decls.size() == 0);
324 assert(ResultKind != Found || Decls.size() == 1);
325 assert(ResultKind != FoundOverloaded || Decls.size() > 1 ||
326 (Decls.size() == 1 &&
329 assert(ResultKind != Ambiguous || Decls.size() > 1 ||
330 (Decls.size() == 1 && (Ambiguity == AmbiguousBaseSubobjects ||
460 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 499 ArrayRef<serialization::LocalDeclID> Decls;
502 FileDeclsInfo(ModuleFile *Mod, ArrayRef<serialization::LocalDeclID> Decls)
503 : Mod(Mod), Decls(Decls) {}
524 // Updates for visible decls can occur for other contexts than just the
699 /// "interesting" decls.
768 /// Sema tracks a few important decls, such as namespace std, directly.
778 /// The AST context tracks a few important decls, currently cudaConfigureCall,
794 /// \brief A list of undefined decls with internal linkage followed by the
    [all...]
  /external/clang/lib/CodeGen/
CGDeclCXX.cpp 505 ArrayRef<llvm::Function *> Decls,
540 for (unsigned i = 0, e = Decls.size(); i != e; ++i)
541 if (Decls[i])
542 EmitRuntimeCall(Decls[i]);

Completed in 591 milliseconds

1 2