Home
last modified time | relevance | path

Searched refs:DeclOrIterator (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Sema/
DSemaCodeComplete.cpp348 llvm::PointerUnion<const NamedDecl *, const DeclIndexPair *> DeclOrIterator; member in ResultBuilder::ShadowMapEntry::iterator
368 iterator() : DeclOrIterator((NamedDecl *)nullptr), SingleDeclIndex(0) {} in iterator()
371 : DeclOrIterator(SingleDecl), SingleDeclIndex(Index) { } in iterator()
374 : DeclOrIterator(Iterator), SingleDeclIndex(0) { } in iterator()
377 if (DeclOrIterator.is<const NamedDecl *>()) { in operator ++()
378 DeclOrIterator = (NamedDecl *)nullptr; in operator ++()
383 const DeclIndexPair *I = DeclOrIterator.get<const DeclIndexPair*>(); in operator ++()
385 DeclOrIterator = I; in operator ++()
396 if (const NamedDecl *ND = DeclOrIterator.dyn_cast<const NamedDecl *>()) in operator *()
399 return *DeclOrIterator.get<const DeclIndexPair*>(); in operator *()
[all …]