HomeSort by relevance Sort by last modified time
    Searched defs:Decls (Results 1 - 22 of 22) sorted by null

  /external/clang/lib/AST/
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...]
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...]
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...]
Decl.cpp 638 // FIXME: In C++11 onwards, anonymous namespaces should give decls
752 // look at previous decls in here.
    [all...]
  /external/clang/test/SemaCXX/
pass-object-size.cpp 22 void Decls() {
67 void Decls() {
  /external/llvm/include/llvm/DebugInfo/DWARF/
DWARFDebugAbbrev.h 25 std::vector<DWARFAbbreviationDeclaration> Decls;
  /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...]
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;
  /external/clang/include/clang/Sema/
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...]
  /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) {
  /frameworks/compile/slang/
slang_rs_object_ref_count.cpp     [all...]
  /external/clang/include/clang/Parse/
Parser.h 231 /// True if we are within an Objective-C container while parsing C-like decls.
234 /// to parse the C-like decls, meaning Actions.getObjCDeclContext() will
    [all...]
  /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/Sema/
SemaCodeComplete.cpp     [all...]
SemaStmt.cpp 335 // If we're in C89 mode, check that we don't have any decls after stmts. If
    [all...]
SemaDecl.cpp 139 /// \brief Tries to perform unqualified lookup of the type decls in bases for
141 /// \return \a NotFound if no any decls is found, \a FoundNotType if found not a
142 /// type decl, \a FoundType if only type decls are found.
149 // Look for type decls in base classes.
157 // Look for type decls in dependent base classes that have known primary
203 // Look for type decls in dependent base classes that have known primary
    [all...]
SemaDeclCXX.cpp     [all...]
TreeTransform.h     [all...]
  /external/clang/lib/Serialization/
ASTReaderStmt.cpp 289 SmallVector<Decl *, 16> Decls;
290 Decls.reserve(Record.size() - Idx);
292 Decls.push_back(ReadDecl(Record, Idx));
294 Decls.data(),
295 Decls.size())));
    [all...]
  /external/clang/tools/libclang/
CIndex.cpp 306 SmallVector<Decl *, 16> Decls;
307 Unit->findFileRegionDecls(File, Offset, Length, Decls);
309 // If we didn't find any file level decls for the file, try looking at the
311 while (Decls.empty() || Decls.front()->isTopLevelDeclInObjCContainer()) {
327 Unit->findFileRegionDecls(File, Offset, Length, Decls);
330 assert(!Decls.empty());
334 SmallVectorImpl<Decl *>::iterator DIt = Decls.begin();
335 for (SmallVectorImpl<Decl *>::iterator DE = Decls.end(); DIt != DE; ++DIt) {
372 // No Decls overlapped with the range. Move up the lexical context until ther
    [all...]

Completed in 3248 milliseconds