Home
last modified time | relevance | path

Searched refs:MultiDerived (Results 1 – 25 of 42) sorted by relevance

12

/dports/devel/swig/swig-4.0.2/Examples/test-suite/
H A Druby_minherit_shared_ptr.i7 %shared_ptr(MultiDerived)
23 class MultiDerived : public Base1, public Interface1 {
26 MultiDerived(int v1, int v2) : Base1(v1), multi(v2) {} in MultiDerived() function
36 int DerivedCheck(const MultiDerived& m) { in DerivedCheck()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-type-static-cast-downcast.cpp12 class MultiDerived : public Base, public Base2 { class
36 auto P2 = static_cast<Base*>(new MultiDerived()); // OK, upcast to a public base in pointers()
37 auto P3 = static_cast<Base2*>(new MultiDerived()); // OK, upcast to a public base in pointers()
H A Dcppcoreguidelines-pro-type-cstyle-cast.cpp35 class MultiDerived : public Base, public Base2 { class
59 auto P2 = (Base*)new MultiDerived(); // OK, upcast to a public base in pointers()
60 auto P3 = (Base2*)new MultiDerived(); // OK, upcast to a public base in pointers()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-type-static-cast-downcast.cpp12 class MultiDerived : public Base, public Base2 { class
36 auto P2 = static_cast<Base*>(new MultiDerived()); // OK, upcast to a public base in pointers()
37 auto P3 = static_cast<Base2*>(new MultiDerived()); // OK, upcast to a public base in pointers()
H A Dcppcoreguidelines-pro-type-cstyle-cast.cpp35 class MultiDerived : public Base, public Base2 { class
59 auto P2 = (Base*)new MultiDerived(); // OK, upcast to a public base in pointers()
60 auto P3 = (Base2*)new MultiDerived(); // OK, upcast to a public base in pointers()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-type-static-cast-downcast.cpp12 class MultiDerived : public Base, public Base2 { class
36 auto P2 = static_cast<Base*>(new MultiDerived()); // OK, upcast to a public base in pointers()
37 auto P3 = static_cast<Base2*>(new MultiDerived()); // OK, upcast to a public base in pointers()
H A Dcppcoreguidelines-pro-type-cstyle-cast.cpp35 class MultiDerived : public Base, public Base2 { class
59 auto P2 = (Base*)new MultiDerived(); // OK, upcast to a public base in pointers()
60 auto P3 = (Base2*)new MultiDerived(); // OK, upcast to a public base in pointers()
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-type-static-cast-downcast.cpp12 class MultiDerived : public Base, public Base2 { class
36 auto P2 = static_cast<Base*>(new MultiDerived()); // OK, upcast to a public base in pointers()
37 auto P3 = static_cast<Base2*>(new MultiDerived()); // OK, upcast to a public base in pointers()
H A Dcppcoreguidelines-pro-type-cstyle-cast.cpp35 class MultiDerived : public Base, public Base2 { class
59 auto P2 = (Base*)new MultiDerived(); // OK, upcast to a public base in pointers()
60 auto P3 = (Base2*)new MultiDerived(); // OK, upcast to a public base in pointers()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-type-static-cast-downcast.cpp12 class MultiDerived : public Base, public Base2 { class
36 auto P2 = static_cast<Base*>(new MultiDerived()); // OK, upcast to a public base in pointers()
37 auto P3 = static_cast<Base2*>(new MultiDerived()); // OK, upcast to a public base in pointers()
H A Dcppcoreguidelines-pro-type-cstyle-cast.cpp35 class MultiDerived : public Base, public Base2 { class
59 auto P2 = (Base*)new MultiDerived(); // OK, upcast to a public base in pointers()
60 auto P3 = (Base2*)new MultiDerived(); // OK, upcast to a public base in pointers()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/tools/extra/test/clang-tidy/
H A Dcppcoreguidelines-pro-type-static-cast-downcast.cpp12 class MultiDerived : public Base, public Base2 { class
36 auto P2 = static_cast<Base*>(new MultiDerived()); // OK, upcast to a public base in pointers()
37 auto P3 = static_cast<Base2*>(new MultiDerived()); // OK, upcast to a public base in pointers()
H A Dcppcoreguidelines-pro-type-cstyle-cast.cpp35 class MultiDerived : public Base, public Base2 { class
59 auto P2 = (Base*)new MultiDerived(); // OK, upcast to a public base in pointers()
60 auto P3 = (Base2*)new MultiDerived(); // OK, upcast to a public base in pointers()
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-type-static-cast-downcast.cpp12 class MultiDerived : public Base, public Base2 { class
36 auto P2 = static_cast<Base*>(new MultiDerived()); // OK, upcast to a public base in pointers()
37 auto P3 = static_cast<Base2*>(new MultiDerived()); // OK, upcast to a public base in pointers()
H A Dcppcoreguidelines-pro-type-cstyle-cast.cpp35 class MultiDerived : public Base, public Base2 { class
59 auto P2 = (Base*)new MultiDerived(); // OK, upcast to a public base in pointers()
60 auto P3 = (Base2*)new MultiDerived(); // OK, upcast to a public base in pointers()
/dports/devel/llvm10/llvm-10.0.1.src/tools/clang/tools/extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-type-static-cast-downcast.cpp12 class MultiDerived : public Base, public Base2 { class
36 auto P2 = static_cast<Base*>(new MultiDerived()); // OK, upcast to a public base in pointers()
37 auto P3 = static_cast<Base2*>(new MultiDerived()); // OK, upcast to a public base in pointers()
H A Dcppcoreguidelines-pro-type-cstyle-cast.cpp35 class MultiDerived : public Base, public Base2 { class
59 auto P2 = (Base*)new MultiDerived(); // OK, upcast to a public base in pointers()
60 auto P3 = (Base2*)new MultiDerived(); // OK, upcast to a public base in pointers()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-type-static-cast-downcast.cpp12 class MultiDerived : public Base, public Base2 { class
36 auto P2 = static_cast<Base*>(new MultiDerived()); // OK, upcast to a public base in pointers()
37 auto P3 = static_cast<Base2*>(new MultiDerived()); // OK, upcast to a public base in pointers()
H A Dcppcoreguidelines-pro-type-cstyle-cast.cpp35 class MultiDerived : public Base, public Base2 { class
59 auto P2 = (Base*)new MultiDerived(); // OK, upcast to a public base in pointers()
60 auto P3 = (Base2*)new MultiDerived(); // OK, upcast to a public base in pointers()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-type-static-cast-downcast.cpp12 class MultiDerived : public Base, public Base2 { class
36 auto P2 = static_cast<Base*>(new MultiDerived()); // OK, upcast to a public base in pointers()
37 auto P3 = static_cast<Base2*>(new MultiDerived()); // OK, upcast to a public base in pointers()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-type-static-cast-downcast.cpp12 class MultiDerived : public Base, public Base2 { class
36 auto P2 = static_cast<Base*>(new MultiDerived()); // OK, upcast to a public base in pointers()
37 auto P3 = static_cast<Base2*>(new MultiDerived()); // OK, upcast to a public base in pointers()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-type-static-cast-downcast.cpp12 class MultiDerived : public Base, public Base2 { class
36 auto P2 = static_cast<Base*>(new MultiDerived()); // OK, upcast to a public base in pointers()
37 auto P3 = static_cast<Base2*>(new MultiDerived()); // OK, upcast to a public base in pointers()
/dports/devel/llvm13/llvm-project-13.0.1.src/clang-tools-extra/test/clang-tidy/checkers/
H A Dcppcoreguidelines-pro-type-static-cast-downcast.cpp12 class MultiDerived : public Base, public Base2 { class
36 auto P2 = static_cast<Base*>(new MultiDerived()); // OK, upcast to a public base in pointers()
37 auto P3 = static_cast<Base2*>(new MultiDerived()); // OK, upcast to a public base in pointers()
/dports/devel/llvm80/llvm-8.0.1.src/tools/clang/tools/extra/test/clang-tidy/
H A Dcppcoreguidelines-pro-type-static-cast-downcast.cpp12 class MultiDerived : public Base, public Base2 { class
36 auto P2 = static_cast<Base*>(new MultiDerived()); // OK, upcast to a public base in pointers()
37 auto P3 = static_cast<Base2*>(new MultiDerived()); // OK, upcast to a public base in pointers()
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/tools/extra/test/clang-tidy/
H A Dcppcoreguidelines-pro-type-static-cast-downcast.cpp12 class MultiDerived : public Base, public Base2 { class
36 auto P2 = static_cast<Base*>(new MultiDerived()); // OK, upcast to a public base in pointers()
37 auto P3 = static_cast<Base2*>(new MultiDerived()); // OK, upcast to a public base in pointers()

12