Skip to content

Testing clang-tidy (?) - #201

Closed
dacap wants to merge 1 commit into
aseprite:update-clang-tidy-reviewfrom
dacap:test-clang-tidy
Closed

Testing clang-tidy (?)#201
dacap wants to merge 1 commit into
aseprite:update-clang-tidy-reviewfrom
dacap:test-clang-tidy

Conversation

@dacap

@dacap dacap commented Sep 3, 2026

Copy link
Copy Markdown
Member

Testing, close

@aseprite-bot

Copy link
Copy Markdown
Collaborator

clang-tidy review says "All clean, LGTM! 👍"

@aseprite-bot aseprite-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clang-tidy made some suggestions

Comment thread examples/listscreens.cpp

// crash?
char* ptr = nullptr;
*ptr = 1;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: Dereference of null pointer (loaded from variable 'ptr') [clang-analyzer-core.NullDereference]

  *ptr = 1;
       ^
Additional context

examples/listscreens.cpp:41: 'ptr' initialized to a null pointer value

  char* ptr = nullptr;
  ^

examples/listscreens.cpp:42: Dereference of null pointer (loaded from variable 'ptr')

  *ptr = 1;
       ^

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@dacap dacap closed this Sep 3, 2026
@dacap
dacap deleted the test-clang-tidy branch September 3, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants