Searched refs:unique_dyn_cast (Results 1 – 14 of 14) sorted by relevance
199 TEST(CastingTest, unique_dyn_cast) { in TEST() argument206 auto NewD = unique_dyn_cast<derived>(D); in TEST()212 auto B = unique_dyn_cast<base>(NewD); in TEST()218 auto NewB = unique_dyn_cast<base>(B); in TEST()224 D = unique_dyn_cast<derived>(NewB); in TEST()230 auto F = unique_dyn_cast<foo>(D); in TEST()235 auto D2 = unique_dyn_cast<derived>(newd()); in TEST()238 auto B2 = unique_dyn_cast<derived>(newb()); in TEST()241 auto B3 = unique_dyn_cast<base>(newb()); in TEST()244 auto F2 = unique_dyn_cast<foo>(newb()); in TEST()
2996 auto node = llvm::unique_dyn_cast<Poly>(seq); in TEST()3028 std::unique_ptr<Poly> node = llvm::unique_dyn_cast<Poly>(map); in TEST()
73 if (auto UDT = unique_dyn_cast<PDBSymbolTypeUDT>(Type)) { in DataMemberLayoutItem()177 if (auto Base = unique_dyn_cast<PDBSymbolTypeBaseClass>(Child)) { in initializeChildren()183 else if (auto Data = unique_dyn_cast<PDBSymbolData>(Child)) { in initializeChildren()188 } else if (auto VT = unique_dyn_cast<PDBSymbolTypeVTable>(Child)) in initializeChildren()190 else if (auto Func = unique_dyn_cast<PDBSymbolFunc>(Child)) in initializeChildren()
377 LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &Val)385 LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &&Val)387 return unique_dyn_cast<X, Y>(Val);397 return unique_dyn_cast<X, Y>(Val);
377 LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &Val)385 LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &&Val) {386 return unique_dyn_cast<X, Y>(Val);396 return unique_dyn_cast<X, Y>(Val);
59 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
181 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
1132 llvm::unique_dyn_cast<PDBSymbolTypeTypedef>(std::move(Symbol)); in dumpPretty()1139 llvm::unique_dyn_cast<PDBSymbolTypeEnum>(std::move(Symbol)); in dumpPretty()1146 llvm::unique_dyn_cast<PDBSymbolTypeUDT>(std::move(Symbol)); in dumpPretty()1159 llvm::unique_dyn_cast<PDBSymbolFunc>(std::move(Symbol)); in dumpPretty()1166 llvm::unique_dyn_cast<PDBSymbolData>(std::move(Symbol)); in dumpPretty()1173 llvm::unique_dyn_cast<PDBSymbolPublicSymbol>(std::move(Symbol)); in dumpPretty()
247 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
331 auto UDT = llvm::unique_dyn_cast<PDBSymbolTypeUDT>(std::move(Parent)); in dump()
230 llvm::unique_dyn_cast<llvm::object::COFFObjectFile>(std::move(*binary)); in CreateBinary()
877 return unique_dyn_cast<PDBSymbolTypeBuiltin>(Pointer->getPointeeType()); in getVirtualBaseTableType()