Skip to content

Adding clang format and lint#7

Open
jkalias wants to merge 2 commits intomainfrom
style-linting
Open

Adding clang format and lint#7
jkalias wants to merge 2 commits intomainfrom
style-linting

Conversation

@jkalias
Copy link
Copy Markdown
Owner

@jkalias jkalias commented May 7, 2026

Fixes #5

@jkalias jkalias self-assigned this May 7, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e89e84d6da

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .clang-tidy Outdated
readability-simplify-boolean-expr,
readability-static-accessed-through-instance
WarningsAsErrors: ''
HeaderFilterRegex: '^(include|src|tests)/.*'
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Make header filter match project headers

With the documented workflow clang-tidy src/database.cc -p build, this anchored relative regex does not match included headers such as /workspace/sqlite-reflection/include/database.h; clang-tidy's help says --header-filter controls diagnostics from headers while main-file diagnostics are always displayed, and a local check with this exact pattern suppressed warnings in include/... as non-user code. Since much of this library's API and templates live in headers, linting changed .cc files will silently miss header diagnostics unless this is widened, e.g. to .*(/|^)(include|src|tests)/.* or an unanchored project path pattern.

Useful? React with 👍 / 👎.

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.

Improve code style

1 participant