Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaCodeComplete.cpp347 llvm::PointerUnion<const NamedDecl *, const DeclIndexPair *> DeclOrIterator; member in ResultBuilder::ShadowMapEntry::iterator
367 iterator() : DeclOrIterator((NamedDecl *)nullptr), SingleDeclIndex(0) {} in iterator()
370 : DeclOrIterator(SingleDecl), SingleDeclIndex(Index) { } in iterator()
373 : DeclOrIterator(Iterator), SingleDeclIndex(0) { } in iterator()
376 if (DeclOrIterator.is<const NamedDecl *>()) { in operator ++()
377 DeclOrIterator = (NamedDecl *)nullptr; in operator ++()
382 const DeclIndexPair *I = DeclOrIterator.get<const DeclIndexPair*>(); in operator ++()
384 DeclOrIterator = I; in operator ++()
395 if (const NamedDecl *ND = DeclOrIterator.dyn_cast<const NamedDecl *>()) in operator *()
398 return *DeclOrIterator.get<const DeclIndexPair*>(); in operator *()
[all …]