mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Generate compile commands for clangd. (#855)
Fix all the diagnostics reported. Bug: https://github.com/ArthurSonzogni/FTXUI/issues/828
This commit is contained in:

committed by
ArthurSonzogni

parent
e3eb8b1cb7
commit
343e3ab226
@@ -341,7 +341,7 @@ void Canvas::DrawPointEllipse(int x1,
|
||||
int dy = x * x;
|
||||
int err = dx + dy;
|
||||
|
||||
do {
|
||||
do { // NOLINT
|
||||
DrawPoint(x1 - x, y1 + y, true, s);
|
||||
DrawPoint(x1 + x, y1 + y, true, s);
|
||||
DrawPoint(x1 + x, y1 - y, true, s);
|
||||
@@ -405,7 +405,7 @@ void Canvas::DrawPointEllipseFilled(int x1,
|
||||
int dy = x * x;
|
||||
int err = dx + dy;
|
||||
|
||||
do {
|
||||
do { // NOLINT
|
||||
for (int xx = x1 + x; xx <= x1 - x; ++xx) {
|
||||
DrawPoint(xx, y1 + y, true, s);
|
||||
DrawPoint(xx, y1 - y, true, s);
|
||||
@@ -686,7 +686,7 @@ void Canvas::DrawBlockEllipse(int x1,
|
||||
int dy = x * x;
|
||||
int err = dx + dy;
|
||||
|
||||
do {
|
||||
do { // NOLINT
|
||||
DrawBlock(x1 - x, 2 * (y1 + y), true, s);
|
||||
DrawBlock(x1 + x, 2 * (y1 + y), true, s);
|
||||
DrawBlock(x1 + x, 2 * (y1 - y), true, s);
|
||||
@@ -752,7 +752,7 @@ void Canvas::DrawBlockEllipseFilled(int x1,
|
||||
int dy = x * x;
|
||||
int err = dx + dy;
|
||||
|
||||
do {
|
||||
do { // NOLINT
|
||||
for (int xx = x1 + x; xx <= x1 - x; ++xx) {
|
||||
DrawBlock(xx, 2 * (y1 + y), true, s);
|
||||
DrawBlock(xx, 2 * (y1 - y), true, s);
|
||||
|
Reference in New Issue
Block a user