Home
last modified time | relevance | path

Searched refs:downcast (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang/test/Analysis/Checkers/WebKit/
H A Dcall-args.cpp70 RefCountable* downcast(RefCountable*) { return nullptr; } in downcast() function
88 consume_refcntbl(downcast(provide())); in foo()
93 downcast( in foo()
169 RefCountable* downcast(RefCountable*) { return nullptr; } in downcast() function
175 consume_ref_countable_ptr(downcast(param)); in foo()
209 RefCountable* downcast(RefCountable*) { return nullptr; } in downcast() function
215 consume_ref_countable_ptr(downcast(param)); in foo()
253 RefCountable* downcast(RefCountable*) { return nullptr; } in downcast() function
281 namespace downcast { namespace
283 RefCountable* downcast(RefCountable*) { return nullptr; } in downcast() function
[all …]
H A Duncounted-local-vars.cpp70 { RefCountable *bar = downcast<RefCountable>(foo.get()); } in foo1()
77 static_cast<RefCountable *>(downcast<RefCountable>(foo.get())); in foo2()
H A Dmock-types.h46 template <typename T> T *downcast(T *t) { return t; } in downcast() function
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/
H A Dpro-type-static-cast-downcast.rst1 .. title:: clang-tidy - cppcoreguidelines-pro-type-static-cast-downcast
3 cppcoreguidelines-pro-type-static-cast-downcast
15 https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Pro-type-downcast.
H A Dpro-type-cstyle-cast.rst7 downcast, ``const_cast``, or ``reinterpret_cast``.
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/hicpp/
H A Dexplicit-conversions.rst14 - `cppcoreguidelines-pro-type-static-cast-downcast <../cppcoreguidelines/pro-type-static-cast-downc…
/llvm-project-15.0.7/clang/test/CodeGenCXX/RelativeVTablesABI/
H A Ddynamic-cast.cpp68 B *downcast(A *a) { in downcast() function
/llvm-project-15.0.7/clang/docs/
H A DUndefinedBehaviorSanitizer.rst109 width, is not equal to the original value before the downcast.
/llvm-project-15.0.7/llvm/docs/
H A DHowToSetUpLLVMStyleRTTI.rst198 downcast a type ``Base`` to a type ``Derived``, there needs to be a
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/
H A Dlist.rst195 …`cppcoreguidelines-pro-type-static-cast-downcast <cppcoreguidelines/pro-type-static-cast-downcast.…