reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Support/Casting.h
   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,
  165   using ret_type = To &;       // Normal case, return Ty&
  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/include/clang/Analysis/PathDiagnostic.h
  568   std::shared_ptr<PathDiagnosticEventPiece> getCallEnterEvent() const;
  569   std::shared_ptr<PathDiagnosticEventPiece>
  571   std::shared_ptr<PathDiagnosticEventPiece> getCallExitEvent() const;
tools/clang/lib/Analysis/PathDiagnostic.cpp
  985 std::shared_ptr<PathDiagnosticEventPiece>
 1001   return std::make_shared<PathDiagnosticEventPiece>(callEnter, Out.str());
 1004 std::shared_ptr<PathDiagnosticEventPiece>
 1020   return std::make_shared<PathDiagnosticEventPiece>(callEnterWithin, Out.str());
 1023 std::shared_ptr<PathDiagnosticEventPiece>
 1046   return std::make_shared<PathDiagnosticEventPiece>(callReturn, Out.str());
tools/clang/lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp
  143   return std::make_shared<PathDiagnosticEventPiece>(Pos, OS.str(), true);
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypeChecker.cpp
  142   return std::make_shared<PathDiagnosticEventPiece>(Pos, OS.str(), true);
tools/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
  975   return std::make_shared<PathDiagnosticEventPiece>(Pos, OS.str(), true);
tools/clang/lib/StaticAnalyzer/Checkers/InnerPointerChecker.cpp
  302   return std::make_shared<PathDiagnosticEventPiece>(Pos, OS.str(), true);
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp
 1027   auto Piece = std::make_shared<PathDiagnosticEventPiece>(
tools/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.cpp
  109     return std::make_shared<PathDiagnosticEventPiece>(L, ErrorText);
tools/clang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp
  646   return std::make_shared<PathDiagnosticEventPiece>(Pos,
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
  764     return std::make_shared<PathDiagnosticEventPiece>(L, BR.getDescription(),
 3351   auto P = std::make_shared<PathDiagnosticEventPiece>(Pos, Msg, true);
tools/clang/lib/StaticAnalyzer/Checkers/MoveChecker.cpp
  329   return std::make_shared<PathDiagnosticEventPiece>(Pos, OS.str(), true);
tools/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp
  326   return std::make_shared<PathDiagnosticEventPiece>(Pos, InfoText, true);
tools/clang/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp
  272     return std::make_shared<PathDiagnosticEventPiece>(
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
  371 static std::shared_ptr<PathDiagnosticEventPiece>
  417   return std::make_shared<PathDiagnosticEventPiece>(L, os.str());
  421 static std::shared_ptr<PathDiagnosticEventPiece>
  448   return std::make_shared<PathDiagnosticEventPiece>(L, os.str());
  497     return std::make_shared<PathDiagnosticEventPiece>(Pos, os.str());
  539     return std::make_shared<PathDiagnosticEventPiece>(Pos, os.str());
  592   auto P = std::make_shared<PathDiagnosticEventPiece>(Pos, os.str());
  808   return std::make_shared<PathDiagnosticEventPiece>(L, os.str());
tools/clang/lib/StaticAnalyzer/Checkers/Taint.cpp
  226   return std::make_shared<PathDiagnosticEventPiece>(L, "Taint originated here");
tools/clang/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp
  127     return std::make_shared<PathDiagnosticEventPiece>(
tools/clang/lib/StaticAnalyzer/Checkers/ValistChecker.cpp
   88       return std::make_shared<PathDiagnosticEventPiece>(L, BR.getDescription(),
  400   return std::make_shared<PathDiagnosticEventPiece>(Pos, Msg, true);
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
  341 static PathDiagnosticEventPiece *
  342 eventsDescribeSameCondition(PathDiagnosticEventPiece *X,
  343                             PathDiagnosticEventPiece *Y) {
  391         if (auto *nextEvent =
  392             dyn_cast<PathDiagnosticEventPiece>(path.front().get())) {
  393           auto *event = cast<PathDiagnosticEventPiece>(piece.get());
  393           auto *event = cast<PathDiagnosticEventPiece>(piece.get());
  397           if (auto *pieceToKeep =
  451         auto &event = cast<PathDiagnosticEventPiece>(*piece);
  451         auto &event = cast<PathDiagnosticEventPiece>(*piece);
 1253       auto p = std::make_shared<PathDiagnosticEventPiece>(
 1297           auto PE = std::make_shared<PathDiagnosticEventPiece>(L, str);
 1514       const auto *EV = dyn_cast<PathDiagnosticEventPiece>(NextI->get());
 1514       const auto *EV = dyn_cast<PathDiagnosticEventPiece>(NextI->get());
 1633       if (isa<PathDiagnosticEventPiece>(NextI->get())) {
 1732     const auto *PieceI = dyn_cast<PathDiagnosticEventPiece>(I->get());
 1732     const auto *PieceI = dyn_cast<PathDiagnosticEventPiece>(I->get());
 1741     const auto *PieceNextI = dyn_cast<PathDiagnosticEventPiece>(NextI->get());
 1741     const auto *PieceNextI = dyn_cast<PathDiagnosticEventPiece>(NextI->get());
 3006       auto piece = std::make_unique<PathDiagnosticEventPiece>(
 3020         auto ConvertedPiece = std::make_shared<PathDiagnosticEventPiece>(
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  316   auto P = std::make_shared<PathDiagnosticEventPiece>(
  705   return std::make_shared<PathDiagnosticEventPiece>(L, os.str());
 1118     auto EventPiece = std::make_shared<PathDiagnosticEventPiece>(L, Out.str());
 1520   return std::make_shared<PathDiagnosticEventPiece>(L, os.str());
 1590     auto X = std::make_shared<PathDiagnosticEventPiece>(L, os.str());
 1733 static std::shared_ptr<PathDiagnosticEventPiece>
 1747   return std::make_shared<PathDiagnosticEventPiece>(
 2128   return std::make_shared<PathDiagnosticEventPiece>(L, OS.str());
 2145     if (auto *ev = dyn_cast<PathDiagnosticEventPiece>(piece.get()))
 2145     if (auto *ev = dyn_cast<PathDiagnosticEventPiece>(piece.get()))
 2313   return std::make_shared<PathDiagnosticEventPiece>(
 2518   auto event = std::make_shared<PathDiagnosticEventPiece>(Loc, Message);
 2543   auto event = std::make_shared<PathDiagnosticEventPiece>(Loc, Out.str());
 2579   auto event = std::make_shared<PathDiagnosticEventPiece>(Loc, Out.str());
 2619   auto event = std::make_shared<PathDiagnosticEventPiece>(Loc, Out.str());
 2902     auto Piece = std::make_shared<PathDiagnosticEventPiece>(Loc, *Msg);
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
  979     if (const auto *EP = dyn_cast<PathDiagnosticEventPiece>(subPiece.get())) {
  979     if (const auto *EP = dyn_cast<PathDiagnosticEventPiece>(subPiece.get())) {
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
  118         ReportEvent(o, cast<PathDiagnosticEventPiece>(P), indent, depth,
  142   void ReportEvent(raw_ostream &o, const PathDiagnosticEventPiece& P,
  310 void PlistPrinter::ReportEvent(raw_ostream &o, const PathDiagnosticEventPiece& P,
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/move.h
   46     inline _GLIBCXX_CONSTEXPR _Tp*
   47     __addressof(_Tp& __r) _GLIBCXX_NOEXCEPT
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
  277 	shared_ptr(unique_ptr<_Yp, _Del>&& __r)
  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
  653 	__shared_count(std::unique_ptr<_Tp, _Del>&& __r) : _M_pi(0)
  660 	  using _Ptr = typename unique_ptr<_Tp, _Del>::pointer;
  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
 1157 	__shared_ptr(unique_ptr<_Yp, _Del>&& __r)
 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*) noexcept
 1386 	static _Tp1*
 1387 	_S_raw_ptr(_Tp1* __ptr)
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
  811     { typedef unique_ptr<_Tp> __single_object; };
  823     inline typename _MakeUniq<_Tp>::__single_object
  825     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
usr/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
  581     : public __or_<is_lvalue_reference<_Tp>,
  582                    is_rvalue_reference<_Tp>>::type
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  601     : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
  602                           is_void<_Tp>>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
  638     : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
 1554     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1942     { typedef _Tp     type; };