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

Derived Classes

tools/clang/include/clang/Analysis/PathDiagnostic.h
  470 class PathDiagnosticSpotPiece : public PathDiagnosticPiece {
  526 class PathDiagnosticCallPiece : public PathDiagnosticPiece {
  596 class PathDiagnosticControlFlowPiece : public PathDiagnosticPiece {

Declarations

tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
   40 class PathDiagnosticPiece;

References

include/llvm/ADT/FoldingSet.h
  221   static void Profile(const T &X, FoldingSetNodeID &ID) {
  224   static void Profile(T &X, FoldingSetNodeID &ID) {
  232   static inline bool Equals(T &X, const FoldingSetNodeID &ID, unsigned IDHash,
  240   static inline unsigned ComputeHash(T &X, FoldingSetNodeID &TempID);
  250   : public DefaultFoldingSetTrait<T> {};
  329   inline void Add(const T &x) { FoldingSetTrait<T>::Profile(x, *this); }
  329   inline void Add(const T &x) { FoldingSetTrait<T>::Profile(x, *this); }
include/llvm/Support/Casting.h
   34   using SimpleType = From; // The real type this represents...
   37   static SimpleType &getSimplifiedValue(From &Val) { return Val; }
   41   using NonConstSimpleType = typename simplify_type<From>::SimpleType;
   47   static RetType getSimplifiedValue(const From& Val) {
   57   static inline bool doit(const From &Val) {
   76   static inline bool doit(const From &Val) {
   77     return isa_impl<To, From>::doit(Val);
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*Val);
  141 template <class X, class Y> LLVM_NODISCARD inline bool isa(const Y &Val) {
  142   return isa_impl_wrap<X, const Y,
  143                        typename simplify_type<const Y>::SimpleType>::doit(Val);
  204   using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
  210       To, From, typename simplify_type<From>::SimpleType>::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) {
  227   static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  228     typename cast_retty<To, FromTy>::ret_type Res2
  236       std::is_same<X, typename simplify_type<X>::SimpleType>::value;
  236       std::is_same<X, typename simplify_type<X>::SimpleType>::value;
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  258   return cast_convert_val<X, Y,
  259                           typename simplify_type<Y>::SimpleType>::doit(Val);
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  265   return cast_convert_val<X, Y*,
  266                           typename simplify_type<Y*>::SimpleType>::doit(Val);
  342 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) {
include/llvm/Support/type_traits.h
   55 struct add_const_past_pointer { using type = const T; };
tools/clang/include/clang/Analysis/PathDiagnostic.h
  394   PathDiagnosticPiece(const PathDiagnosticPiece &) = delete;
  395   PathDiagnosticPiece &operator=(const PathDiagnosticPiece &) = delete;
  395   PathDiagnosticPiece &operator=(const PathDiagnosticPiece &) = delete;
  454 using PathDiagnosticPieceRef = std::shared_ptr<PathDiagnosticPiece>;
  470 class PathDiagnosticSpotPiece : public PathDiagnosticPiece {
  477                           PathDiagnosticPiece::Kind k,
  490   static bool classof(const PathDiagnosticPiece *P) {
  521   static bool classof(const PathDiagnosticPiece *P) {
  526 class PathDiagnosticCallPiece : public PathDiagnosticPiece {
  591   static bool classof(const PathDiagnosticPiece *P) {
  596 class PathDiagnosticControlFlowPiece : public PathDiagnosticPiece {
  657   static bool classof(const PathDiagnosticPiece *P) {
  680   static bool classof(const PathDiagnosticPiece *P) {
  696   static bool classof(const PathDiagnosticPiece *P) {
  712   static bool classof(const PathDiagnosticPiece *P) {
tools/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
   41 using PathDiagnosticPieceRef = std::shared_ptr<PathDiagnosticPiece>;
  291   static bool isPieceMessageGeneric(const PathDiagnosticPiece *Piece);
tools/clang/lib/Analysis/PathDiagnostic.cpp
   85     case PathDiagnosticPiece::Call: {
   94     case PathDiagnosticPiece::Macro: {
  107     case PathDiagnosticPiece::Event:
  108     case PathDiagnosticPiece::ControlFlow:
  109     case PathDiagnosticPiece::Note:
  110     case PathDiagnosticPiece::PopUp:
  169         const PathDiagnosticPiece *piece = I.get();
  266 static Optional<bool> comparePiece(const PathDiagnosticPiece &X,
  267                                    const PathDiagnosticPiece &Y) {
  295     case PathDiagnosticPiece::ControlFlow:
  298     case PathDiagnosticPiece::Macro:
  301     case PathDiagnosticPiece::Call:
  304     case PathDiagnosticPiece::Event:
  305     case PathDiagnosticPiece::Note:
  306     case PathDiagnosticPiece::PopUp:
 1051     const PathDiagnosticPiece *piece = I.get();
tools/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
  381       case PathDiagnosticPiece::Call:
  384       case PathDiagnosticPiece::Macro:
  387       case PathDiagnosticPiece::Event: {
  406       case PathDiagnosticPiece::ControlFlow:
  407       case PathDiagnosticPiece::Note:
  408       case PathDiagnosticPiece::PopUp:
  432       case PathDiagnosticPiece::Call: {
  443       case PathDiagnosticPiece::Macro: {
  450       case PathDiagnosticPiece::Event: {
  458       case PathDiagnosticPiece::ControlFlow:
  459       case PathDiagnosticPiece::Note:
  460       case PathDiagnosticPiece::PopUp:
 3162   PathDiagnosticPiece *LastP = PD.path.back().get();
tools/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
 2666     const PathDiagnosticPiece *Piece) {
tools/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
   93   void HandlePiece(Rewriter &R, FileID BugFileID, const PathDiagnosticPiece &P,
  679     const auto &Piece = *I->get();
  700     const auto &Piece = *I->get();
  736                                   const PathDiagnosticPiece &P,
  779   case PathDiagnosticPiece::Event: Kind = "Event"; break;
  780   case PathDiagnosticPiece::ControlFlow: Kind = "Control"; break;
  782   case PathDiagnosticPiece::Macro: Kind = "Control"; break;
  783   case PathDiagnosticPiece::Note:
  788   case PathDiagnosticPiece::Call:
  789   case PathDiagnosticPiece::PopUp:
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
   89   void ReportDiag(raw_ostream &o, const PathDiagnosticPiece& P) {
  105   void ReportPiece(raw_ostream &o, const PathDiagnosticPiece &P,
  109       case PathDiagnosticPiece::ControlFlow:
  113       case PathDiagnosticPiece::Call:
  117       case PathDiagnosticPiece::Event:
  121       case PathDiagnosticPiece::Macro:
  125       case PathDiagnosticPiece::Note:
  128       case PathDiagnosticPiece::PopUp:
  536         return E->getKind() == PathDiagnosticPiece::Note;
  626         const PathDiagnosticPiece &Piece = *Iter;
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp
  199 static Importance calculateImportance(const PathDiagnosticPiece &Piece) {
  201   case PathDiagnosticPiece::Call:
  202   case PathDiagnosticPiece::Macro:
  203   case PathDiagnosticPiece::Note:
  204   case PathDiagnosticPiece::PopUp:
  207   case PathDiagnosticPiece::Event:
  210   case PathDiagnosticPiece::ControlFlow:
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
  299 	_Assignable<const shared_ptr<_Yp>&>
  300 	operator=(const shared_ptr<_Yp>& __r) noexcept
  324 	_Assignable<shared_ptr<_Yp>>
  325 	operator=(shared_ptr<_Yp>&& __r) noexcept
  352       shared_ptr(const weak_ptr<_Tp>& __r, std::nothrow_t)
  468     struct less<shared_ptr<_Tp>> : public _Sp_less<shared_ptr<_Tp>>
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
 1344       __shared_ptr(const __weak_ptr<_Tp, _Lp>& __r, std::nothrow_t)
 1601       using element_type = typename remove_extent<_Tp>::type;
 1684       __shared_ptr<_Tp, _Lp>
 1720       _M_assign(_Tp* __ptr, const __shared_count<_Lp>& __refcount) noexcept
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1942     { typedef _Tp     type; };
 1983     { typedef _Up     type; };