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

1 2

  /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 27 std::set<NamedDecl *> Decls;
30 Decls.insert(*Path->Decls.first);
32 NumDeclsFound = Decls.size();
34 std::copy(Decls.begin(), Decls.end(), DeclsFound);
380 for (Path.Decls = BaseRecord->lookup(N);
381 Path.Decls.first != Path.Decls.second;
382 ++Path.Decls.first)
    [all...]
DeclBase.cpp 84 llvm::errs() << " " << totalDecls << " decls total.\n";
90 llvm::errs() << " " << n##DERIVED##s << " " #DERIVED " decls, " \
541 // Handle the case when both decls have attrs.
815 DeclContext::BuildDeclChain(const llvm::SmallVectorImpl<Decl*> &Decls) {
819 for (unsigned I = 0, N = Decls.size(); I != N; ++I) {
820 Decl *D = Decls[I];
843 llvm::SmallVector<Decl*, 64> Decls;
845 switch (Source->FindExternalLexicalDecls(this, Decls)) {
854 if (Decls.empty())
858 // don't add the decls, just replace the FirstDecl/LastDecl chain
    [all...]
DeclPrinter.cpp 34 void ProcessDeclGroup(llvm::SmallVectorImpl<Decl*>& Decls);
176 void DeclPrinter::ProcessDeclGroup(llvm::SmallVectorImpl<Decl*>& Decls) {
178 Decl::printGroup(Decls.data(), Decls.size(), Out, Policy, Indentation);
180 Decls.clear();
201 llvm::SmallVector<Decl*, 2> Decls;
234 if (!Decls.empty() && !CurDeclType.isNull()) {
237 cast<TagType>(BaseType)->getDecl() == Decls[0]) {
238 Decls.push_back(*D);
244 if (!Decls.empty()
    [all...]
StmtPrinter.cpp 127 llvm::SmallVector<Decl*, 2> Decls;
129 Decls.push_back(*Begin);
131 Decl::printGroup(Decls.data(), Decls.size(), OS, Policy, IndentLevel);
    [all...]
Decl.cpp 649 // Clear cached linkage for function template decls, too.
    [all...]
  /external/clang/include/clang/Sema/
Lookup.h 254 return Decls;
257 iterator begin() const { return iterator(Decls.begin()); }
258 iterator end() const { return iterator(Decls.end()); }
260 /// \brief Return true if no decls were found
261 bool empty() const { return Decls.empty(); }
343 Decls.addDecl(D, AS);
350 Decls.append(Other.Decls.begin(), Other.Decls.end());
363 assert(ResultKind == NotFound && Decls.empty())
    [all...]
IdentifierResolver.h 29 /// IdentifierResolver - Keeps track of shadowed decls on enclosing
34 /// IdDeclInfo - Keeps track of information about decls associated
42 inline DeclsTy::iterator decls_begin() { return Decls.begin(); }
43 inline DeclsTy::iterator decls_end() { return Decls.end(); }
45 void AddDecl(NamedDecl *D) { Decls.push_back(D); }
58 Decls.insert(Pos, D);
62 DeclsTy Decls;
67 /// iterator - Iterate over the decls of a specified declaration name.
80 /// 2) A IdDeclInfo::DeclsTy::iterator that traverses only the decls of the
82 /// 3) A IdDeclInfo::DeclsTy::iterator that traverses the decls of paren
    [all...]
  /external/clang/include/clang/AST/
DeclGroup.h 1 //===--- DeclGroup.h - Classes for representing groups of Decls -*- C++ -*-===//
33 DeclGroup(unsigned numdecls, Decl** decls);
36 static DeclGroup *Create(ASTContext &C, Decl **Decls, unsigned NumDecls);
68 static DeclGroupRef Create(ASTContext &C, Decl **Decls, unsigned NumDecls) {
72 return DeclGroupRef(Decls[0]);
73 return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls));
ExternalASTSource.h 110 /// FunctionDecl::setLazyBody when building decls.
185 /// decls that are initializing. Must be paired with FinishedDeserializing.
234 llvm::SmallVectorImpl<NamedDecl*> &Decls);
242 llvm::SmallVectorImpl<NamedDecl*> &Decls);
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...]
DeclBase.h 248 /// Access - Used by C++ decls for the access specifier.
794 /// can act as declaration contexts. These decls are (only the top classes
842 BuildDeclChain(const llvm::SmallVectorImpl<Decl*> &Decls);
    [all...]
  /external/clang/lib/Sema/
IdentifierResolver.cpp 69 for (DeclsTy::iterator I = Decls.end(); I != Decls.begin(); --I) {
71 Decls.erase(I-1);
81 for (DeclsTy::iterator I = Decls.end(); I != Decls.begin(); --I) {
254 /// begin - Returns an iterator for decls with name 'Name'.
268 // No decls found.
328 else // No more decls.
SemaLookup.cpp 236 // 1) TagFriend to find undeclared friend decls
237 // 2) Namespace because they can't "overload" with tag decls.
239 // "overload" with tag decls.
305 assert(ResultKind != NotFound || Decls.size() == 0);
306 assert(ResultKind != Found || Decls.size() == 1);
307 assert(ResultKind != FoundOverloaded || Decls.size() > 1 ||
308 (Decls.size() == 1 &&
311 assert(ResultKind != Ambiguous || Decls.size() > 1 ||
312 (Decls.size() == 1 && (Ambiguity == AmbiguousBaseSubobjects ||
326 unsigned N = Decls.size()
    [all...]
SemaDeclObjC.cpp     [all...]
SemaDecl.cpp     [all...]
TreeTransform.h     [all...]
  /external/llvm/utils/TableGen/
ClangASTNodesEmitter.cpp 143 RecordVector Decls = Records.getAllDerivedDefinitions("Decl");
146 for (RecordVector::iterator i = Decls.begin(), e = Decls.end(); i != e; ++i) {
  /external/clang/lib/CodeGen/
CGDeclCXX.cpp 296 llvm::Constant **Decls,
312 if (Decls[i])
313 Builder.CreateCall(Decls[i]);
  /external/clang/lib/Serialization/
ASTReaderStmt.cpp 244 llvm::SmallVector<Decl *, 16> Decls;
245 Decls.reserve(Record.size() - Idx);
247 Decls.push_back(Reader.GetDecl(Record[Idx]));
249 Decls.data(),
250 Decls.size())));
    [all...]
ASTReader.cpp     [all...]
ASTWriter.cpp 802 // Decls and Types block.
896 // Statements and Exprs can occur in the Decls and Types block.
    [all...]
  /external/clang/include/clang/Serialization/
ASTReader.h 514 // Updates for visible decls can occur for other contexts than just the
604 /// "interesting" decls.
654 /// \brief The IDs of all locally scoped external decls in the chain.
668 /// Sema tracks a few important decls, such as namespace std, directly.
678 /// The AST context tracks a few important decls, currently cudaConfigureCall,
    [all...]

Completed in 2660 milliseconds

1 2