Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaCodeComplete.cpp72 llvm::PointerUnion<const NamedDecl *, DeclIndexPairVector*> DeclOrVector; member in __anonaebf90eb0111::ResultBuilder::ShadowMapEntry
79 ShadowMapEntry() : DeclOrVector(), SingleDeclIndex(0) { } in ShadowMapEntry()
82 if (DeclOrVector.isNull()) { in Add()
84 DeclOrVector = ND; in Add()
90 DeclOrVector.dyn_cast<const NamedDecl *>()) { in Add()
95 DeclOrVector = Vec; in Add()
99 DeclOrVector.get<DeclIndexPairVector*>()->push_back( in Add()
105 = DeclOrVector.dyn_cast<DeclIndexPairVector *>()) { in Destroy()
107 DeclOrVector = ((NamedDecl *)nullptr); in Destroy()
419 if (DeclOrVector.isNull()) in begin()
[all …]
DSemaDecl.cpp13575 typedef llvm::PointerUnion<EnumConstantDecl*, ECDVector*> DeclOrVector; in CheckForDuplicateEnumValues() typedef
13576 typedef llvm::DenseMap<DupKey, DeclOrVector, DenseMapInfoDupKey> in CheckForDuplicateEnumValues()
13597 DeclOrVector &Entry = EnumMap[Key]; in CheckForDuplicateEnumValues()
13612 DeclOrVector& Entry = EnumMap[Key]; in CheckForDuplicateEnumValues()