Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaCodeComplete.cpp71 llvm::PointerUnion<const NamedDecl *, DeclIndexPairVector*> DeclOrVector; member in __anon28dbc1b40111::ResultBuilder::ShadowMapEntry
78 ShadowMapEntry() : DeclOrVector(), SingleDeclIndex(0) { } in ShadowMapEntry()
81 if (DeclOrVector.isNull()) { in Add()
83 DeclOrVector = ND; in Add()
89 DeclOrVector.dyn_cast<const NamedDecl *>()) { in Add()
94 DeclOrVector = Vec; in Add()
98 DeclOrVector.get<DeclIndexPairVector*>()->push_back( in Add()
104 = DeclOrVector.dyn_cast<DeclIndexPairVector *>()) { in Destroy()
106 DeclOrVector = ((NamedDecl *)nullptr); in Destroy()
418 if (DeclOrVector.isNull()) in begin()
[all …]
DSemaDecl.cpp14654 typedef llvm::PointerUnion<EnumConstantDecl*, ECDVector*> DeclOrVector; in CheckForDuplicateEnumValues() typedef
14655 typedef llvm::DenseMap<DupKey, DeclOrVector, DenseMapInfoDupKey> in CheckForDuplicateEnumValues()
14676 DeclOrVector &Entry = EnumMap[Key]; in CheckForDuplicateEnumValues()
14691 DeclOrVector& Entry = EnumMap[Key]; in CheckForDuplicateEnumValues()