Searched refs:downcast (Results 1 – 10 of 10) sorted by relevance
70 RefCountable* downcast(RefCountable*) { return nullptr; } in downcast() function88 consume_refcntbl(downcast(provide())); in foo()93 downcast( in foo()169 RefCountable* downcast(RefCountable*) { return nullptr; } in downcast() function175 consume_ref_countable_ptr(downcast(param)); in foo()209 RefCountable* downcast(RefCountable*) { return nullptr; } in downcast() function215 consume_ref_countable_ptr(downcast(param)); in foo()253 RefCountable* downcast(RefCountable*) { return nullptr; } in downcast() function281 namespace downcast { namespace283 RefCountable* downcast(RefCountable*) { return nullptr; } in downcast() function[all …]
70 { RefCountable *bar = downcast<RefCountable>(foo.get()); } in foo1()77 static_cast<RefCountable *>(downcast<RefCountable>(foo.get())); in foo2()
46 template <typename T> T *downcast(T *t) { return t; } in downcast() function
1 .. title:: clang-tidy - cppcoreguidelines-pro-type-static-cast-downcast3 cppcoreguidelines-pro-type-static-cast-downcast15 https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Pro-type-downcast.
7 downcast, ``const_cast``, or ``reinterpret_cast``.
14 - `cppcoreguidelines-pro-type-static-cast-downcast <../cppcoreguidelines/pro-type-static-cast-downc…
68 B *downcast(A *a) { in downcast() function
109 width, is not equal to the original value before the downcast.
198 downcast a type ``Base`` to a type ``Derived``, there needs to be a
195 …`cppcoreguidelines-pro-type-static-cast-downcast <cppcoreguidelines/pro-type-static-cast-downcast.…