reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
58 return To::classof(&Val); 77 return isa_impl<To, From>::doit(Val); 106 return isa_impl<To, From>::doit(*Val); 122 return isa_impl_wrap<To, SimpleFrom, 132 return isa_impl_cl<To,FromTy>::doit(Val); 142 return isa_impl_wrap<X, const Y, 168 using ret_type = const To &; // Normal case, return Ty& 172 using ret_type = To *; // Pointer arg case, return Ty* 176 using ret_type = const To *; // Constant pointer arg case, return const Ty* 198 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type; 204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type; 210 To, From, typename simplify_type<From>::SimpleType>::ret_type; 227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) { 228 typename cast_retty<To, FromTy>::ret_type Res2 256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) { 258 return cast_convert_val<X, Y, 263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) { 265 return cast_convert_val<X, Y*, 337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) { 342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) { 343 return isa<X>(Val) ? cast<X>(Val) : nullptr; 343 return isa<X>(Val) ? cast<X>(Val) : nullptr;tools/clang/lib/Analysis/PathDiagnostic.cpp
231 compareControlFlow(const PathDiagnosticControlFlowPiece &X, 232 const PathDiagnosticControlFlowPiece &Y) { 296 return compareControlFlow(cast<PathDiagnosticControlFlowPiece>(X), 297 cast<PathDiagnosticControlFlowPiece>(Y));tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
531 if (auto *CF = dyn_cast<PathDiagnosticControlFlowPiece>(I->get())) { 531 if (auto *CF = dyn_cast<PathDiagnosticControlFlowPiece>(I->get())) { 540 if (auto *NextCF = 541 dyn_cast<PathDiagnosticControlFlowPiece>(Next->get())) { 791 return std::make_shared<PathDiagnosticControlFlowPiece>(Start, End, 803 return std::make_shared<PathDiagnosticControlFlowPiece>(Start, End, os.str()); 850 return std::make_shared<PathDiagnosticControlFlowPiece>(Start, End, 887 std::make_shared<PathDiagnosticControlFlowPiece>(Start, End, os.str())); 909 std::make_shared<PathDiagnosticControlFlowPiece>(Start, End, os.str())); 934 std::make_shared<PathDiagnosticControlFlowPiece>(Start, End, 943 std::make_shared<PathDiagnosticControlFlowPiece>( 960 std::make_shared<PathDiagnosticControlFlowPiece>(Start, End, 968 std::make_shared<PathDiagnosticControlFlowPiece>( 982 std::make_shared<PathDiagnosticControlFlowPiece>( 986 std::make_shared<PathDiagnosticControlFlowPiece>( 1096 std::make_shared<PathDiagnosticControlFlowPiece>(NewLoc, PrevLoc)); 1415 auto *Piece = dyn_cast<PathDiagnosticControlFlowPiece>(I->get()); 1415 auto *Piece = dyn_cast<PathDiagnosticControlFlowPiece>(I->get()); 1455 auto *PrevPiece = dyn_cast<PathDiagnosticControlFlowPiece>(Prev->get()); 1455 auto *PrevPiece = dyn_cast<PathDiagnosticControlFlowPiece>(Prev->get()); 1474 std::make_shared<PathDiagnosticControlFlowPiece>(SrcLoc, DstContext); 1493 const auto *PieceI = dyn_cast<PathDiagnosticControlFlowPiece>(I->get()); 1493 const auto *PieceI = dyn_cast<PathDiagnosticControlFlowPiece>(I->get()); 1508 PathDiagnosticControlFlowPiece *PieceNextI = nullptr; 1525 PieceNextI = dyn_cast<PathDiagnosticControlFlowPiece>(NextI->get()); 1615 const auto *PieceI = dyn_cast<PathDiagnosticControlFlowPiece>(I->get()); 1615 const auto *PieceI = dyn_cast<PathDiagnosticControlFlowPiece>(I->get()); 1629 const auto *PieceNextI = 1630 dyn_cast<PathDiagnosticControlFlowPiece>(NextI->get()); 1637 PieceNextI = dyn_cast<PathDiagnosticControlFlowPiece>(NextI->get()); 1685 const auto *PieceI = dyn_cast<PathDiagnosticControlFlowPiece>(I->get()); 1685 const auto *PieceI = dyn_cast<PathDiagnosticControlFlowPiece>(I->get()); 1776 auto *PieceI = dyn_cast<PathDiagnosticControlFlowPiece>(I->get()); 1776 auto *PieceI = dyn_cast<PathDiagnosticControlFlowPiece>(I->get()); 1792 const auto *PieceNextI = dyn_cast<PathDiagnosticControlFlowPiece>(NextI->get()); 1792 const auto *PieceNextI = dyn_cast<PathDiagnosticControlFlowPiece>(NextI->get()); 1937 const auto *FirstEdge = 1938 dyn_cast<PathDiagnosticControlFlowPiece>(Path.front().get());tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
111 ReportControlFlow(o, cast<PathDiagnosticControlFlowPiece>(P), indent); 140 const PathDiagnosticControlFlowPiece& P, 254 const PathDiagnosticControlFlowPiece& P, 270 for (PathDiagnosticControlFlowPiece::const_iterator I=P.begin(), E=P.end();usr/include/c++/7.4.0/bits/alloc_traits.h
387 using allocator_type = allocator<_Tp>; 389 using value_type = _Tp; 392 using pointer = _Tp*; 395 using const_pointer = const _Tp*; 474 construct(allocator_type& __a, _Up* __p, _Args&&... __args) 486 destroy(allocator_type& __a, _Up* __p)usr/include/c++/7.4.0/bits/allocator.h
108 class allocator: public __allocator_base<_Tp> 113 typedef _Tp* pointer; 114 typedef const _Tp* const_pointer; 115 typedef _Tp& reference; 116 typedef const _Tp& const_reference; 117 typedef _Tp value_type; 137 allocator(const allocator<_Tp1>&) throw() { }usr/include/c++/7.4.0/bits/shared_ptr.h
93 class shared_ptr : public __shared_ptr<_Tp> 107 using element_type = typename __shared_ptr<_Tp>::element_type; 236 shared_ptr(const shared_ptr<_Yp>& __r) noexcept 253 shared_ptr(shared_ptr<_Yp>&& __r) noexcept 352 shared_ptr(const weak_ptr<_Tp>& __r, std::nothrow_t) 687 inline shared_ptr<_Tp> 702 inline shared_ptr<_Tp> 705 typedef typename std::remove_const<_Tp>::type _Tp_nc; 706 return std::allocate_shared<_Tp>(std::allocator<_Tp_nc>(),usr/include/c++/7.4.0/bits/shared_ptr_base.h
882 : is_convertible<_Yp*, _Tp*>::type 882 : is_convertible<_Yp*, _Tp*>::type 956 using element_type = _Tp; 1035 : public __shared_ptr_access<_Tp, _Lp> 1038 using element_type = typename remove_extent<_Tp>::type; 1126 __shared_ptr(const __shared_ptr<_Yp, _Lp>& __r) noexcept 1138 __shared_ptr(__shared_ptr<_Yp, _Lp>&& __r) noexcept 1192 _Assignable<_Yp> 1193 operator=(const __shared_ptr<_Yp, _Lp>& __r) noexcept 1218 _Assignable<_Yp> 1219 operator=(__shared_ptr<_Yp, _Lp>&& __r) noexcept 1272 swap(__shared_ptr<_Tp, _Lp>& __other) noexcept 1321 rebind_traits<typename std::remove_cv<_Tp>::type> __traits; 1344 __shared_ptr(const __weak_ptr<_Tp, _Lp>& __r, std::nothrow_t) 1377 typename enable_if<!__has_esft_base<_Yp2>::value>::type 1378 _M_enable_shared_from_this_with(_Yp*) noexceptusr/include/c++/7.4.0/ext/new_allocator.h
63 typedef _Tp* pointer; 64 typedef const _Tp* const_pointer; 65 typedef _Tp& reference; 66 typedef const _Tp& const_reference; 67 typedef _Tp value_type; 84 new_allocator(const new_allocator<_Tp1>&) _GLIBCXX_USE_NOEXCEPT { } 111 return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp))); 130 { return size_t(-1) / sizeof(_Tp); } 135 construct(_Up* __p, _Args&&... __args) 136 { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); } 140 destroy(_Up* __p) { __p->~_Up(); }usr/include/c++/7.4.0/type_traits
215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type 1554 { typedef _Tp type; }; 1563 { typedef _Tp type; }; 1574 remove_const<typename remove_volatile<_Tp>::type>::type type; 1942 { typedef _Tp type; };