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

1 2 3

  /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...]
DeclContextInternals.h 31 /// An array of decls optimized for the common case of only containing
34 using Decls = DeclListNode::Decls;
38 using DeclsAndHasExternalTy = llvm::PointerIntPair<Decls, 1, bool>;
47 Decls List = Data.getPointer();
51 DeclListNode::Decls NewHead = nullptr;
52 DeclListNode::Decls *NewLast = nullptr;
53 DeclListNode::Decls *NewTail = &NewHead;
102 Decls List = Data.getPointer();
158 // Don't have any pending external decls any more
    [all...]
DeclGroup.h 1 //===- DeclGroup.h - Classes for representing groups of Decls ---*- C++ -*-===//
31 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));
  /src/external/apache2/llvm/dist/clang/lib/Index/
FileIndexRecord.cpp 20 static void addOccurrence(std::vector<DeclOccurrence> &Decls,
23 if (Decls.empty())
25 auto &Last = Decls.back();
30 Decls.push_back(std::move(Info));
34 // We keep Decls in order as we need to access them in this order in all cases.
35 auto It = llvm::upper_bound(Decls, Info);
36 Decls.insert(It, std::move(Info));
44 addOccurrence(Decls, DeclOccurrence(Roles, Offset, D, Relations));
50 addOccurrence(Decls, DeclOccurrence(Roles, Offset, Name, MI));
55 std::remove_if(Decls.begin(), Decls.end(), [](const DeclOccurrence &D)
    [all...]
FileIndexRecord.h 30 std::vector<DeclOccurrence> Decls;
36 return Decls;
  /src/external/apache2/llvm/dist/clang/lib/AST/
DeclGroup.cpp 1 //===- DeclGroup.cpp - Classes for representing groups of Decls -----------===//
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 std::uninitialized_copy(decls, decls + numdecls,
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);
ExternalASTSource.cpp 45 SmallVectorImpl<Decl *> &Decls) {}
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...]
ExternalASTMerger.cpp 247 bool HasDeclOfSameType(llvm::ArrayRef<Candidate> Decls, const Candidate &C) {
250 return llvm::any_of(Decls, [&](const Candidate &D) {
481 llvm::SmallVector<NamedDecl *, 1> Decls;
508 Decls.reserve(Candidates.size());
522 Decls.push_back(ND);
524 SetExternalVisibleDeclsForName(DC, Name, Decls);
533 for (const Decl *SourceDecl : SourceDC.get()->decls()) {
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...]
  /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/llvm/lib/DebugInfo/DWARF/
DWARFDebugAbbrev.cpp 25 Decls.clear();
45 Decls.push_back(std::move(AbbrDecl));
51 for (const auto &Decl : Decls)
59 for (const auto &Decl : Decls) {
65 if (AbbrCode < FirstAbbrCode || AbbrCode >= FirstAbbrCode + Decls.size())
67 return &Decls[AbbrCode - FirstAbbrCode];
  /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/Sema/
ExternalSemaSource.h 118 SmallVectorImpl<const DeclaratorDecl *> &Decls) {}
128 SmallVectorImpl<CXXConstructorDecl *> &Decls) {}
137 virtual void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl *> &Decls) {}
146 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) {}
196 /// Read the set of decls to be checked for deferred diags.
199 /// and variable decls which may cause deferred diags. Note that this routine
203 ReadDeclsToCheckForDeferredDiags(llvm::SmallSetVector<Decl *, 4> &Decls) {}
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...]
MultiplexExternalSemaSource.h 115 /// Get the decls that are contained in a file in the Offset/Length
119 SmallVectorImpl<Decl *> &Decls) override;
138 /// decls that are initializing. Must be paired with FinishedDeserializing.
256 SmallVectorImpl<const DeclaratorDecl*> &Decls) override;
266 SmallVectorImpl<CXXConstructorDecl*> &Decls) override;
275 void ReadExtVectorDecls(SmallVectorImpl<TypedefNameDecl*> &Decls) override;
284 llvm::SmallSetVector<const TypedefNameDecl *, 4> &Decls) override;
333 /// Read the set of decls to be checked for deferred diags.
336 /// and variable decls which may cause deferred diags. Note that this routine
340 llvm::SmallSetVector<Decl *, 4> &Decls) override
    [all...]
TypoCorrection.h 172 void setCorrectionDecls(ArrayRef<NamedDecl*> Decls) {
174 CorrectionDecls.insert(CorrectionDecls.begin(), Decls.begin(), Decls.end());
377 // corrections that are keywords or whose decls refer to functions (or template
  /src/external/apache2/llvm/dist/clang/lib/Sema/
MultiplexExternalSemaSource.cpp 127 SmallVectorImpl<Decl *> &Decls){
129 Sources[i]->FindFileRegionDecls(File, Offset, Length, Decls);
253 SmallVectorImpl<const DeclaratorDecl*> &Decls) {
255 Sources[i]->ReadUnusedFileScopedDecls(Decls);
259 SmallVectorImpl<CXXConstructorDecl*> &Decls) {
261 Sources[i]->ReadDelegatingConstructors(Decls);
265 SmallVectorImpl<TypedefNameDecl*> &Decls) {
267 Sources[i]->ReadExtVectorDecls(Decls);
271 llvm::SmallSetVector<Decl *, 4> &Decls) {
273 Sources[i]->ReadDeclsToCheckForDeferredDiags(Decls);
    [all...]
IdentifierResolver.cpp 75 for (DeclsTy::iterator I = Decls.end(); I != Decls.begin(); --I) {
77 Decls.erase(I-1);
228 /// begin - Returns an iterator for decls with name 'Name'.
245 // No decls found.
424 else // No more decls.
SemaLookup.cpp 241 // 1) TagFriend to find undeclared friend decls
242 // 2) Namespace because they can't "overload" with tag decls.
244 // "overload" with tag decls.
329 assert(ResultKind != NotFound || Decls.size() == 0);
330 assert(ResultKind != Found || Decls.size() == 1);
331 assert(ResultKind != FoundOverloaded || Decls.size() > 1 ||
332 (Decls.size() == 1 &&
335 assert(ResultKind != Ambiguous || Decls.size() > 1 ||
336 (Decls.size() == 1 && (Ambiguity == AmbiguousBaseSubobjects ||
480 unsigned N = Decls.size()
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Index/
IndexingAction.h 35 /// Creates an ASTConsumer that indexes all symbols (macros and AST decls).
48 /// Creates a frontend action that indexes all symbols (macros and AST decls).
53 /// Recursively indexes all decls in the AST.
57 /// Recursively indexes \p Decls.
59 ArrayRef<const Decl *> Decls,
67 /// Recursively indexes all top-level decls in the module.
  /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/Interpreter/
IncrementalParser.cpp 164 LastTransaction.Decls.push_back(ADecl.get());
170 LastTransaction.Decls.push_back(DGR);

Completed in 29 milliseconds

1 2 3