Lines Matching refs:Shape
12 struct Shape { struct
21 class Triangle : public Shape {};
22 class Rectangle : public Shape {};
23 class Hexagon : public Shape {};
24 class Circle : public Shape {
34 void test_regions_dyn_cast(const Shape *A, const Shape *B) { in test_regions_dyn_cast()
39 void test_regions_isa(const Shape *A, const Shape *B) { in test_regions_isa()
44 void test_regions_isa_variadic(const Shape *A, const Shape *B) { in test_regions_isa_variadic()
50 void test_regions_isa_and_nonnull(const Shape *A, const Shape *B) { in test_regions_isa_and_nonnull()
55 void test_regions_isa_and_nonnull_variadic(const Shape *A, const Shape *B) { in test_regions_isa_and_nonnull_variadic()
62 void evalLogic(const Shape *S) { in evalLogic()
78 void evalLogic(const Shape *S) { in evalLogic()
94 void evalLogic(const Shape *S) { in evalLogic()
110 void evalLogic(const Shape *S) { in evalLogic()
126 void evalLogic(const Shape *S) { in evalLogic()
143 void evalLogic(const Shape *S) { in evalLogic()
160 void test_non_reference_null_region_crash(Shape s) { in test_non_reference_null_region_crash()
165 extern std::unique_ptr<Shape> foo(); in test_non_reference_temporary_crash()
170 double test_virtual_method_after_call(Shape *S) { in test_virtual_method_after_call()
178 Shape *S = makeCircle(); in test_delete_crash()