Searched refs:unique_dyn_cast (Results 1 – 8 of 8) sorted by relevance
194 TEST(CastingTest, unique_dyn_cast) { in TEST() argument201 auto NewD = unique_dyn_cast<derived>(D); in TEST()207 auto B = unique_dyn_cast<base>(NewD); in TEST()213 auto NewB = unique_dyn_cast<base>(B); in TEST()219 D = unique_dyn_cast<derived>(NewB); in TEST()225 auto F = unique_dyn_cast<foo>(D); in TEST()230 auto D2 = unique_dyn_cast<derived>(newd()); in TEST()233 auto B2 = unique_dyn_cast<derived>(newb()); in TEST()236 auto B3 = unique_dyn_cast<base>(newb()); in TEST()239 auto F2 = unique_dyn_cast<foo>(newb()); in TEST()
74 if (auto UDT = unique_dyn_cast<PDBSymbolTypeUDT>(Type)) { in DataMemberLayoutItem()178 if (auto Base = unique_dyn_cast<PDBSymbolTypeBaseClass>(Child)) { in initializeChildren()184 else if (auto Data = unique_dyn_cast<PDBSymbolData>(Child)) { in initializeChildren()189 } else if (auto VT = unique_dyn_cast<PDBSymbolTypeVTable>(Child)) in initializeChildren()191 else if (auto Func = unique_dyn_cast<PDBSymbolFunc>(Child)) in initializeChildren()
368 LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &Val)376 LLVM_NODISCARD inline auto unique_dyn_cast(std::unique_ptr<Y> &&Val)378 return unique_dyn_cast<X, Y>(Val);388 return unique_dyn_cast<X, Y>(Val);
56 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
1001 llvm::unique_dyn_cast<PDBSymbolTypeTypedef>(std::move(Symbol)); in dumpPretty()1008 llvm::unique_dyn_cast<PDBSymbolTypeEnum>(std::move(Symbol)); in dumpPretty()1015 llvm::unique_dyn_cast<PDBSymbolTypeUDT>(std::move(Symbol)); in dumpPretty()1028 llvm::unique_dyn_cast<PDBSymbolFunc>(std::move(Symbol)); in dumpPretty()1035 llvm::unique_dyn_cast<PDBSymbolData>(std::move(Symbol)); in dumpPretty()1042 llvm::unique_dyn_cast<PDBSymbolPublicSymbol>(std::move(Symbol)); in dumpPretty()
182 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
243 if (auto FuncSig = unique_dyn_cast<PDBSymbolTypeFunctionSig>(PointeeType)) { in dump()
856 return unique_dyn_cast<PDBSymbolTypeBuiltin>(Pointer->getPointeeType()); in getVirtualBaseTableType()