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

References

tools/lldb/include/lldb/Utility/ReproducerInstrumentation.h
   31 inline void stringify_append(llvm::raw_string_ostream &ss, const T &t) {
   36 inline void stringify_append(llvm::raw_string_ostream &ss, const T *t) {
   47 inline void stringify_helper(llvm::raw_string_ostream &ss, const Head &head) {
   52 inline void stringify_helper(llvm::raw_string_ostream &ss, const Head &head,
   53                              const Tail &... tail) {
   59 template <typename... Ts> inline std::string stringify_args(const Ts &... ts) {
  201   template <typename T> T *GetObjectForIndex(unsigned idx) {
  208   template <typename T> void AddObjectForIndex(unsigned idx, T *object) {
  249       typename std::conditional<std::is_fundamental<T>::value,
  253   typedef typename std::conditional<std::is_fundamental<T>::value,
  285   template <typename T> void HandleReplayResult(const T &t) {
  287     if (std::is_fundamental<T>::value)
  290     m_index_to_object.AddObjectForIndex(result, new T(t));
  294   template <typename T> void HandleReplayResult(T *t) {
  296     if (std::is_fundamental<T>::value)
  375     static Result doit(Deserializer &deserializer,
  376                        Result (*f)(Deserialized..., Head, Tail...),
  379           template deserialized<Result, Deserialized..., Head>::doit(
  387     static Result doit(Deserializer &deserializer, Result (*f)(Deserialized...),
  387     static Result doit(Deserializer &deserializer, Result (*f)(Deserialized...),
  404   DefaultReplayer(Result (*f)(Args...)) : Replayer(), f(f) {}
  408         DeserializationHelper<Args...>::template deserialized<Result>::doit(
  412   Result (*f)(Args...);
  501   static Class *doit(Args... args) { return new Class(args...); }
  501   static Class *doit(Args... args) { return new Class(args...); }
  510     static Result doit(Class *c, Args... args) { return (c->*m)(args...); }
  510     static Result doit(Class *c, Args... args) { return (c->*m)(args...); }
  510     static Result doit(Class *c, Args... args) { return (c->*m)(args...); }
  517     static Result doit(Class *c, Args... args) { return (c->*m)(args...); }
  517     static Result doit(Class *c, Args... args) { return (c->*m)(args...); }
  524     static void doit(Class *c, Args... args) { (c->*m)(args...); }
  524     static void doit(Class *c, Args... args) { (c->*m)(args...); }
  535   template <typename T> unsigned GetIndexForObject(T *t) {
  552   void SerializeAll(const Head &head, const Tail &... tail) {
  552   void SerializeAll(const Head &head, const Tail &... tail) {
  563   template <typename T> void Serialize(T *t) {
  564     if (std::is_fundamental<T>::value) {
  575   template <typename T> void Serialize(T &t) {
  576     if (std::is_fundamental<T>::value) {
  577       m_stream.write(reinterpret_cast<const char *>(&t), sizeof(T));
  636   void Record(Serializer &serializer, Registry &registry, Result (*f)(FArgs...),
  637               const RArgs &... args) {
  652             typename std::remove_reference<Result>::type>::type>::value) {
  683   template <typename Result> Result RecordResult(Result &&r) {
  683   template <typename Result> Result RecordResult(Result &&r) {
  690     return std::forward<Result>(r);
tools/lldb/unittests/Utility/ReproducerInstrumentationTest.cpp
   65   InstrumentedFoo(const InstrumentedFoo &foo);
   66   InstrumentedFoo &operator=(const InstrumentedFoo &foo);
   66   InstrumentedFoo &operator=(const InstrumentedFoo &foo);
   91   InstrumentedFoo GetInstrumentedFoo();
   92   InstrumentedFoo &GetInstrumentedFooRef();
   93   InstrumentedFoo *GetInstrumentedFooPtr();
   94   void SetInstrumentedFoo(InstrumentedFoo *foo);
   95   void SetInstrumentedFoo(InstrumentedFoo &foo);
  101   InstrumentedFoo *m_foo_set_by_ptr = nullptr;
  102   InstrumentedFoo *m_foo_set_by_ref = nullptr;
  108 static std::vector<InstrumentedFoo *> g_foos;
  122   for (auto *foo : g_foos) {
  136 InstrumentedFoo::InstrumentedFoo(const InstrumentedFoo &foo) {
  142 InstrumentedFoo &InstrumentedFoo::operator=(const InstrumentedFoo &foo) {
  142 InstrumentedFoo &InstrumentedFoo::operator=(const InstrumentedFoo &foo) {
  201 InstrumentedFoo InstrumentedBar::GetInstrumentedFoo() {
  208 InstrumentedFoo &InstrumentedBar::GetInstrumentedFooRef() {
  211   InstrumentedFoo *foo = new InstrumentedFoo(0);
  211   InstrumentedFoo *foo = new InstrumentedFoo(0);
  216 InstrumentedFoo *InstrumentedBar::GetInstrumentedFooPtr() {
  219   InstrumentedFoo *foo = new InstrumentedFoo(0);
  219   InstrumentedFoo *foo = new InstrumentedFoo(0);
  224 void InstrumentedBar::SetInstrumentedFoo(InstrumentedFoo *foo) {
  230 void InstrumentedBar::SetInstrumentedFoo(InstrumentedFoo &foo) {
  449     InstrumentedFoo foo(0);
  454     InstrumentedFoo::E(e);
  455     InstrumentedFoo::F();
  477   InstrumentedFoo *foo = new InstrumentedFoo(0);
  477   InstrumentedFoo *foo = new InstrumentedFoo(0);
  482   InstrumentedFoo::E(e);
  483   InstrumentedFoo::F();
  487   InstrumentedFoo *foo2 = new (foo) InstrumentedFoo(0);
  487   InstrumentedFoo *foo2 = new (foo) InstrumentedFoo(0);
  492   InstrumentedFoo::E(e);
  493   InstrumentedFoo::F();
  513     InstrumentedFoo foo = bar.GetInstrumentedFoo();
  527     InstrumentedFoo::E(e);
  528     InstrumentedFoo::F();
  552     InstrumentedFoo &foo = bar.GetInstrumentedFooRef();
  562     InstrumentedFoo::E(e);
  563     InstrumentedFoo::F();
  587     InstrumentedFoo &foo = *(bar.GetInstrumentedFooPtr());
  597     InstrumentedFoo::E(e);
  598     InstrumentedFoo::F();
usr/include/c++/7.4.0/bits/move.h
   72     constexpr _Tp&&
   73     forward(typename std::remove_reference<_Tp>::type& __t) noexcept
   83     constexpr _Tp&&
   84     forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
usr/include/c++/7.4.0/type_traits
  215     : public __is_void_helper<typename remove_cv<_Tp>::type>::type
  326     : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
  354     : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
  567     : public __is_null_pointer_helper<typename remove_cv<_Tp>::type>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  588     : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
  594     : public __or_<is_arithmetic<_Tp>, is_void<_Tp>,
  594     : public __or_<is_arithmetic<_Tp>, is_void<_Tp>,
  595 		   is_null_pointer<_Tp>>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1629     { typedef _Tp   type; };
 1633     { typedef _Tp   type; };
 1979     { typedef _Tp     type; };
 1983     { typedef _Up     type; };
 1988     : public __remove_pointer_helper<_Tp, typename remove_cv<_Tp>::type>
 1988     : public __remove_pointer_helper<_Tp, typename remove_cv<_Tp>::type>
utils/unittest/googletest/include/gtest/gtest-printers.h
  407                     T* p, ::std::ostream* os) {
  416     if (IsTrue(ImplicitlyConvertible<T*, const void*>::value)) {