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

1 2

  /external/clang/include/clang/Sema/
ExternalSemaSource.h 97 SmallVectorImpl<const DeclaratorDecl *> &Decls) {}
107 SmallVectorImpl<CXXConstructorDecl *> &Decls) {}
116 virtual void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) {}
124 virtual void ReadDynamicClasses(SmallVectorImpl<CXXRecordDecl *> &Decls) {}
134 SmallVectorImpl<NamedDecl *> &Decls) {}
Lookup.h 260 return Decls;
263 iterator begin() const { return iterator(Decls.begin()); }
264 iterator end() const { return iterator(Decls.end()); }
266 /// \brief Return true if no decls were found
267 bool empty() const { return Decls.empty(); }
361 Decls.addDecl(D, AS);
368 Decls.append(Other.Decls.begin(), Other.Decls.end());
381 assert(ResultKind == NotFound && Decls.empty())
    [all...]
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); }
61 Decls.insert(Pos, D);
65 DeclsTy Decls;
70 /// iterator - Iterate over the decls of a specified declaration name.
83 /// 2) A IdDeclInfo::DeclsTy::iterator that traverses only the decls of the
85 /// 3) A IdDeclInfo::DeclsTy::iterator that traverses the decls of paren
    [all...]
  /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) {
24 new (Mem) DeclGroup(NumDecls, Decls);
28 DeclGroup::DeclGroup(unsigned numdecls, Decl** decls) : NumDecls(numdecls) {
30 assert(decls);
31 memcpy(this+1, decls, numdecls * sizeof(*decls));
CXXInheritance.cpp 29 SmallVector<NamedDecl *, 8> Decls;
31 if (KnownDecls.insert(*Path->Decls.first))
32 Decls.push_back(*Path->Decls.first);
34 NumDeclsFound = Decls.size();
36 std::copy(Decls.begin(), Decls.end(), DeclsFound);
387 for (Path.Decls = BaseRecord->lookup(N);
388 Path.Decls.first != Path.Decls.second
    [all...]
DeclPrinter.cpp 35 void ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls);
201 void DeclPrinter::ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls) {
203 Decl::printGroup(Decls.data(), Decls.size(), Out, Policy, Indentation);
205 Decls.clear();
229 SmallVector<Decl*, 2> Decls;
262 if (!Decls.empty() && !CurDeclType.isNull()) {
265 cast<TagType>(BaseType)->getDecl() == Decls[0]) {
266 Decls.push_back(*D);
272 if (!Decls.empty()
    [all...]
DeclBase.cpp 101 llvm::errs() << " " << totalDecls << " decls total.\n";
107 llvm::errs() << " " << n##DERIVED##s << " " #DERIVED " decls, " \
586 // Handle the case when both decls have attrs.
882 DeclContext::BuildDeclChain(ArrayRef<Decl*> Decls,
887 for (unsigned I = 0, N = Decls.size(); I != N; ++I) {
888 if (FieldsAlreadyLoaded && isa<FieldDecl>(Decls[I]))
891 Decl *D = Decls[I];
914 SmallVector<Decl*, 64> Decls;
916 switch (Source->FindExternalLexicalDecls(this, Decls)) {
925 if (Decls.empty()
    [all...]
StmtPrinter.cpp 126 SmallVector<Decl*, 2> Decls;
128 Decls.push_back(*Begin);
130 Decl::printGroup(Decls.data(), Decls.size(), OS, Policy, IndentLevel);
    [all...]
Decl.cpp 641 // Clear cached linkage for function template decls, too.
    [all...]
  /external/llvm/lib/DebugInfo/
DWARFDebugAbbrev.cpp 23 Decls.push_back(abbrevDeclaration);
36 for (unsigned i = 0, e = Decls.size(); i != e; ++i)
37 Decls[i].dump(OS);
45 DWARFAbbreviationDeclarationCollConstIter end = Decls.end();
46 for (pos = Decls.begin(); pos != end; ++pos) {
52 if (idx < Decls.size())
53 return &Decls[idx];
DWARFDebugAbbrev.h 30 std::vector<DWARFAbbreviationDeclaration> Decls;
40 Decls.clear();
  /external/clang/include/clang/AST/
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 226 /// \param Decls the set of declarations with the same name as the
229 /// \param NumDecls the number of conflicting declarations in \p Decls.
235 NamedDecl **Decls,
CXXInheritance.h 80 DeclContext::lookup_result Decls;
UnresolvedSet.h 105 iterator begin() { return iterator(decls().begin()); }
106 iterator end() { return iterator(decls().end()); }
108 const_iterator begin() const { return const_iterator(decls().begin()); }
109 const_iterator end() const { return const_iterator(decls().end()); }
116 decls().push_back(DeclAccessPair::make(D, AS));
123 for (DeclsTy::iterator I = decls().begin(), E = decls().end(); I != E; ++I)
140 decls()[I] = decls().back();
141 decls().pop_back()
169 DeclsTy &decls() { function in class:clang::UnresolvedSetImpl
172 const DeclsTy &decls() const { function in class:clang::UnresolvedSetImpl
    [all...]
ExternalASTSource.h 107 /// FunctionDecl::setLazyBody when building decls.
164 /// \brief Get the decls that are contained in a file in the Offset/Length
168 SmallVectorImpl<Decl *> &Decls) {}
187 /// decls that are initializing. Must be paired with FinishedDeserializing.
274 ArrayRef<NamedDecl*> Decls);
  /external/clang/lib/Sema/
IdentifierResolver.cpp 72 for (DeclsTy::iterator I = Decls.end(); I != Decls.begin(); --I) {
74 Decls.erase(I-1);
84 for (DeclsTy::iterator I = Decls.end(); I != Decls.begin(); --I) {
259 /// begin - Returns an iterator for decls with name 'Name'.
276 // No decls found.
442 else // No more decls.
SemaLookup.cpp 240 // 1) TagFriend to find undeclared friend decls
241 // 2) Namespace because they can't "overload" with tag decls.
243 // "overload" with tag decls.
311 assert(ResultKind != NotFound || Decls.size() == 0);
312 assert(ResultKind != Found || Decls.size() == 1);
313 assert(ResultKind != FoundOverloaded || Decls.size() > 1 ||
314 (Decls.size() == 1 &&
317 assert(ResultKind != Ambiguous || Decls.size() > 1 ||
318 (Decls.size() == 1 && (Ambiguity == AmbiguousBaseSubobjects ||
338 unsigned N = Decls.size()
    [all...]
SemaStmt.cpp 265 // If we're in C89 mode, check that we don't have any decls after stmts. If
    [all...]
  /external/clang/utils/TableGen/
ClangASTNodesEmitter.cpp 199 RecordVector Decls = Records.getAllDerivedDefinitions("Decl");
202 for (RecordVector::iterator i = Decls.begin(), e = Decls.end(); i != e; ++i) {
  /external/clang/include/clang/Serialization/
ASTReader.h 317 ArrayRef<serialization::LocalDeclID> Decls;
320 FileDeclsInfo(ModuleFile *Mod, ArrayRef<serialization::LocalDeclID> Decls)
321 : Mod(Mod), Decls(Decls) {}
327 // Updates for visible decls can occur for other contexts than just the
452 /// "interesting" decls.
514 /// \brief The IDs of all locally scoped external decls in the chain.
528 /// Sema tracks a few important decls, such as namespace std, directly.
538 /// The AST context tracks a few important decls, currently cudaConfigureCall,
656 /// "interesting" decls to consumer inside FinishedDeserializing()
    [all...]
  /external/clang/lib/Serialization/
ASTReader.cpp 730 // First the lexical decls.
    [all...]
ASTWriter.cpp 835 // Decls and Types block.
927 // Statements and Exprs can occur in the Decls and Types block.
    [all...]
  /external/clang/lib/CodeGen/
CGDeclCXX.cpp 345 llvm::Constant **Decls,
361 if (Decls[i])
362 Builder.CreateCall(Decls[i]);
  /external/clang/lib/Frontend/
ASTUnit.cpp 893 // We're not interested in "interesting" decls.
    [all...]

Completed in 308 milliseconds

1 2