Home
last modified time | relevance | path

Searched refs:Rectangle (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/data-formatter-categories/
H A Dmain.cpp11 struct Rectangle : public Shape { struct
14 Rectangle(int W = 3, int H = 5) : w(W), h(H) {} in Rectangle() function
24 Rectangle r1(5,6); in main()
25 Rectangle r2(9,16); in main()
26 Rectangle r3(4,4); in main()
33 Rectangle *r_ptr = new Rectangle(9,7); in main()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dcast-value-notes.cpp63 class Rectangle : public Shape {}; class
136 if (dyn_cast_or_null<Rectangle>(C)) { in evalNonNullParamNonNullReturnReference()
154 if (isa<Triangle, Rectangle>(C)) { in evalNonNullParamNonNullReturnReference()
160 if (isa<Triangle, Rectangle, Hexagon>(C)) { in evalNonNullParamNonNullReturnReference()
166 if (isa<Circle, Rectangle, Hexagon>(C)) { in evalNonNullParamNonNullReturnReference()
194 if (dyn_cast_or_null<Rectangle>(C)) { in evalNonNullParamNonNullReturn()
212 if (isa<Triangle, Rectangle>(C)) { in evalNonNullParamNonNullReturn()
218 if (isa<Triangle, Rectangle, Hexagon>(C)) { in evalNonNullParamNonNullReturn()
224 if (isa<Circle, Rectangle, Hexagon>(C)) { in evalNonNullParamNonNullReturn()
H A Dcast-value-logic.cpp22 class Rectangle : public Shape {}; class
45 if (isa<Triangle, Rectangle, Hexagon>(A) && in test_regions_isa_variadic()
46 !isa<Rectangle, Hexagon, Circle>(B)) in test_regions_isa_variadic()
56 if (isa_and_nonnull<Triangle, Rectangle, Hexagon>(A) && in test_regions_isa_and_nonnull_variadic()
57 !isa_and_nonnull<Rectangle, Hexagon, Circle>(B)) in test_regions_isa_and_nonnull_variadic()
/llvm-project-15.0.7/clang/test/FixIt/
H A Dtypo.c11 struct Rectangle { struct
19 struct Rectangle bounds; // expected-note{{'bounds' declared here}} argument
33 Rectangle r1; // expected-error{{must use 'struct' tag to refer to type 'Rectangle'}} in test()
37 typedef struct Rectangle Rectangle; // expected-note{{'Rectangle' declared here}} in test() typedef
/llvm-project-15.0.7/clang/test/Refactor/Extract/
H A DExtractionSemicolonPolicy.cpp3 struct Rectangle { int width, height; }; struct
5 void extractStatement(const Rectangle &r) { in extractStatement()
16 void extractStatementNoSemiIf(const Rectangle &r) { in extractStatementNoSemiIf()
31 void extractStatementDontExtraneousSemi(const Rectangle &r) { in extractStatementDontExtraneousSemi()
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dunsafe-perform-selector.m21 typedef struct { int x; int y; int width; int height; } Rectangle; typedef
23 struct Struct { Rectangle r; };
45 - (Rectangle)returnsStruct; // expected-note 4 {{method 'returnsStruct' that returns 'Rectangle' de…
52 + (Rectangle)returnsStructClass; // expected-note 2 {{method 'returnsStructClass' that returns 'Rec…
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Dmagic-numbers.cpp171 struct Rectangle { struct
176Rectangle(Point<T> origin_, Dimension<T> size_, T rotation_ = 0) noexcept : origin{origin_}, size{… in Rectangle() function
184 const geometry::Rectangle<double> mandelbrotCanvas{geometry::Point<double>{-2.5, -1}, geometry::Dim… argument
H A Disolate-declaration.cpp114 class Rectangle { class
119 Rectangle(Point TopLeft, Point BottomRight) : TopLeft(TopLeft), BottomRight(BottomRight) {} in Rectangle() function in Rectangle
140 Rectangle R1({0., 0.}, {1., -2.}), R2{{0., 1.}, {1., 0.}}, R3(P1, P2), R4{P1, P2}; in f5()
/llvm-project-15.0.7/lldb/docs/use/
H A Dvariable.rst698 extracted values. As a small example, let's say we have a Rectangle class:
703 class Rectangle
709 Rectangle() : height(3), width(5) {}
710 Rectangle(int H) : height(H), width(H*2-1) {}
711 Rectangle(int H, int W) : height(H), width(W) {}
718 perimeter of Rectangle objects
720 To obtain this, we can simply attach a small Python script to the Rectangle
725 (lldb) type summary add -P Rectangle
737 (Rectangle) r1 = Area: 20, Perimeter: 18
738 (Rectangle) r2 = Area: 72, Perimeter: 36
[all …]