HomeSort by: relevance | last modified time | path
    Searched defs:Decls (Results 1 - 25 of 26) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/include/clang/Interpreter/
Transaction.h 31 /// The decls created for the input.
32 std::vector<clang::DeclGroupRef> Decls;
  /src/external/apache2/llvm/dist/clang/lib/Index/
FileIndexRecord.h 30 std::vector<DeclOccurrence> Decls;
36 return Decls;
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
DWARFDebugAbbrev.h 27 std::vector<DWARFAbbreviationDeclaration> Decls;
43 return Decls.begin();
47 return Decls.end();
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
ASTUnresolvedSet.h 40 DeclsTy Decls;
44 ASTUnresolvedSet(ASTContext &C, unsigned N) : Decls(C, N) {}
49 iterator begin() { return iterator(Decls.begin()); }
50 iterator end() { return iterator(Decls.end()); }
52 const_iterator begin() const { return const_iterator(Decls.begin()); }
53 const_iterator end() const { return const_iterator(Decls.end()); }
56 Decls.push_back(DeclAccessPair::make(D, AS), C);
63 for (DeclsTy::iterator I = Decls.begin(), E = Decls.end(); I != E; ++I) {
72 void erase(unsigned I) { Decls[I] = Decls.pop_back_val();
    [all...]
UnresolvedSet.h 83 iterator begin() { return iterator(decls().begin()); }
84 iterator end() { return iterator(decls().end()); }
86 const_iterator begin() const { return const_iterator(decls().begin()); }
87 const_iterator end() const { return const_iterator(decls().end()); }
89 ArrayRef<DeclAccessPair> pairs() const { return decls(); }
96 decls().push_back(DeclAccessPair::make(D, AS));
103 for (DeclsTy::iterator I = decls().begin(), E = decls().end(); I != E; ++I)
117 void erase(unsigned I) { decls()[I] = decls().pop_back_val();
139 DeclsTy &decls() { function in class:clang::UnresolvedSetImpl
142 const DeclsTy &decls() const { function in class:clang::UnresolvedSetImpl
    [all...]
CXXInheritance.h 80 DeclContext::lookup_iterator Decls;
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
IdentifierResolver.h 35 /// IdentifierResolver - Keeps track of shadowed decls on enclosing
39 /// IdDeclInfo - Keeps track of information about decls associated
47 DeclsTy::iterator decls_begin() { return Decls.begin(); }
48 DeclsTy::iterator decls_end() { return Decls.end(); }
50 void AddDecl(NamedDecl *D) { Decls.push_back(D); }
58 Decls.insert(Pos, D);
62 DeclsTy Decls;
66 /// iterator - Iterate over the decls of a specified declaration name.
81 /// 2) A IdDeclInfo::DeclsTy::iterator that traverses only the decls of the
137 /// begin - Returns an iterator for decls with the name 'Name'
    [all...]
Lookup.h 185 Ambiguity(std::move(Other.Ambiguity)), Decls(std::move(Other.Decls)),
206 Decls = std::move(Other.Decls);
332 return Decls;
335 iterator begin() const { return iterator(Decls.begin()); }
336 iterator end() const { return iterator(Decls.end()); }
338 /// Return true if no decls were found
339 bool empty() const { return Decls.empty(); }
433 Decls.addDecl(D, AS)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
ASTImporterLookupTable.cpp 31 // iterate over the field decls, adding them
90 DeclList &Decls = LookupTable[DC][ND->getDeclName()];
92 Decls.insert(ND);
96 DeclList &Decls = LookupTable[DC][ND->getDeclName()];
97 bool EraseResult = Decls.remove(ND);
DeclPrinter.cpp 37 void ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls);
287 void DeclPrinter::ProcessDeclGroup(SmallVectorImpl<Decl*>& Decls) {
289 Decl::printGroup(Decls.data(), Decls.size(), Out, Policy, Indentation);
291 Decls.clear();
380 SmallVector<Decl*, 2> Decls;
413 if (!Decls.empty() && !CurDeclType.isNull()) {
416 cast<ElaboratedType>(BaseType)->getOwnedTagDecl() == Decls[0]) {
417 Decls.push_back(*D);
423 if (!Decls.empty()
    [all...]
ODRHash.cpp 486 // Filter out sub-Decls which will not be processed in order to get an
488 llvm::SmallVector<const Decl *, 16> Decls;
489 for (Decl *SubDecl : Record->decls()) {
491 Decls.push_back(SubDecl);
499 ID.AddInteger(Decls.size());
500 for (auto SubDecl : Decls) {
587 // Filter out sub-Decls which will not be processed in order to get an
589 llvm::SmallVector<const Decl *, 16> Decls;
590 for (Decl *SubDecl : Function->decls()) {
592 Decls.push_back(SubDecl)
    [all...]
DeclBase.cpp 176 llvm::errs() << " " << totalDecls << " decls total.\n";
182 llvm::errs() << " " << n##DERIVED##s << " " #DERIVED " decls, " \
1302 DeclContext::BuildDeclChain(ArrayRef<Decl *> Decls,
1307 for (auto *D : Decls) {
1345 SmallVector<Decl*, 64> Decls;
1347 Source->FindExternalLexicalDecls(this, Decls);
1349 if (Decls.empty())
1362 BuildDeclChain(Decls, FieldsAlreadyLoaded);
1388 ArrayRef<NamedDecl*> Decls) {
1397 List.replaceExternalDecls(Decls);
    [all...]
  /src/external/apache2/llvm/dist/clang/utils/TableGen/
ClangASTNodesEmitter.cpp 223 RecordVector Decls = Records.getAllDerivedDefinitions(DeclNodeClassName);
226 for (RecordVector::iterator i = Decls.begin(), e = Decls.end(); i != e; ++i) {
  /src/external/apache2/llvm/dist/clang/lib/Analysis/
BodyFarm.cpp 231 DeclContextLookupResult Decls = RD->lookup(DeclName);
232 for (NamedDecl *FoundDecl : Decls)
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
LowerTypeTests.cpp 1837 SmallVector<Function *, 8> Decls;
1847 Decls.push_back(&F);
1855 for (auto F : Decls)
  /src/external/apache2/llvm/dist/llvm/utils/TableGen/
CodeGenSchedule.cpp 241 const RecVec Decls = Records.getAllDerivedDefinitions("STIPredicateDecl");
242 for (const Record *R : Decls) {
  /src/external/apache2/llvm/dist/clang/include/clang/Serialization/
ASTReader.h 554 ArrayRef<serialization::LocalDeclID> Decls;
557 FileDeclsInfo(ModuleFile *Mod, ArrayRef<serialization::LocalDeclID> Decls)
558 : Mod(Mod), Decls(Decls) {}
579 // Updates for visible decls can occur for other contexts than just the
765 /// "interesting" decls.
838 /// Sema tracks a few important decls, such as namespace std, directly.
848 /// The AST context tracks a few important decls, currently cudaConfigureCall,
901 /// A list of undefined decls with internal linkage followed by the
912 /// The IDs of all decls to be checked for deferred diags
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Parse/
ParseOpenMP.cpp 2147 llvm::SmallVector<Decl *, 4> Decls;
2149 Decls.push_back(It.first);
2150 return Actions.BuildDeclaratorGroup(Decls);
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaStmt.cpp 409 // If we're in C89 mode, check that we don't have any decls after stmts. If
1698 // the evaluated decls into a vector. Simple is set to true if none
1701 DeclSetVector &Decls;
1707 DeclExtractor(Sema &S, DeclSetVector &Decls,
1710 Decls(Decls),
1774 Decls.insert(VD);
1779 // DeclMatcher checks to see if the decls are used in a non-evaluated
1782 DeclSetVector &Decls;
1788 DeclMatcher(Sema &S, DeclSetVector &Decls, Stmt *Statement)
    [all...]
SemaCodeComplete.cpp 743 // Ignore reserved names for compiler provided decls.
5232 for (const auto *D : OE->decls()) {
5758 UnresolvedSet<8> Decls;
5759 Decls.append(UME->decls_begin(), UME->decls_end());
5761 AddFunctionCandidates(Decls, ArgExprs, CandidateSet, TemplateArgs,
6433 for (const auto *D : S->decls()) {
7829 for (const auto *D : Ctx->decls()) {
7893 for (const auto *D : Ctx->decls()) {
7988 for (const auto *D : TU->decls())
8055 for (const auto *D : Container->decls())
    [all...]
SemaDecl.cpp 176 /// Tries to perform unqualified lookup of the type decls in bases for
178 /// \return \a NotFound if no any decls is found, \a FoundNotType if found not a
179 /// type decl, \a FoundType if only type decls are found.
186 // Look for type decls in base classes.
194 // Look for type decls in dependent base classes that have known primary
246 // Look for type decls in dependent base classes that have known primary
1732 // Only warn for unused decls internal to the translation unit.
1781 // Except for labels, we only care about unused decls that are local to
1874 for (auto *TmpD : D->decls()) {
1928 "Scope shouldn't contain decls!");
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTReaderStmt.cpp 350 SmallVector<Decl *, 16> Decls;
352 Decls.reserve(N);
354 Decls.push_back(readDecl());
356 Decls.data(),
357 Decls.size())));
2022 UnresolvedSet<8> Decls;
2026 Decls.addDecl(D, AS);
2030 UnresolvedSetIterator Iter = Decls.begin();
  /src/external/apache2/llvm/dist/clang/include/clang/Parse/
Parser.h 390 /// True if we are within an Objective-C container while parsing C-like decls.
393 /// to parse the C-like decls, meaning Actions.getObjCDeclContext() will
1284 SmallVector<Decl*, 2> Decls;
1292 void addDecl(Decl *D) { Decls.push_back(D); }
  /src/external/apache2/llvm/dist/clang/tools/libclang/
CIndex.cpp 316 SmallVector<Decl *, 16> Decls;
317 Unit->findFileRegionDecls(File, Offset, Length, Decls);
319 // If we didn't find any file level decls for the file, try looking at the
321 while (Decls.empty() || Decls.front()->isTopLevelDeclInObjCContainer()) {
337 Unit->findFileRegionDecls(File, Offset, Length, Decls);
340 assert(!Decls.empty());
344 SmallVectorImpl<Decl *>::iterator DIt = Decls.begin();
345 for (SmallVectorImpl<Decl *>::iterator DE = Decls.end(); DIt != DE; ++DIt) {
383 // No Decls overlapped with the range. Move up the lexical context until ther
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGOpenMPRuntime.cpp 1190 auto &Decls = FunctionUDRMap.FindAndConstruct(CGF->CurFn);
1191 Decls.second.push_back(D);
6564 if (llvm::all_of(DS->decls(), [](const Decl *D) {
6755 for (const auto *I : PreInit->decls()) {
6780 for (const auto *I : PreInit->decls()) {
6853 for (const auto *I : PreInit->decls()) {
9924 auto &Decls = FunctionUDMMap.FindAndConstruct(CGF->CurFn);
9925 Decls.second.push_back(D);

Completed in 97 milliseconds

1 2