Skip to content

wallet: sqlite: don't include sqlite files from our headers - #28040

Merged
fanquake merged 1 commit into
bitcoin:masterfrom
theuni:sqlite-no-include-from-headers
Jul 7, 2023
Merged

fanquake merged 1 commit into
bitcoin:masterfrom
theuni:sqlite-no-include-from-headers

Conversation

@theuni

@theuni theuni commented Jul 6, 2023

Copy link
Copy Markdown
Member

Only #include upstream sqlite headers from our cpp files.

Like #28039 but simpler :)

@DrahtBot

DrahtBot commented Jul 6, 2023 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK achow101, TheCharlatan, kristapsk, hebasto

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

@DrahtBot DrahtBot added the Wallet label Jul 6, 2023
@achow101

achow101 commented Jul 6, 2023

Copy link
Copy Markdown
Member

ACK bea9fc2

@maflcko maflcko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm. I wonder why iwyu can't transform those two symbols into forward decls. Output on master:

The full include-list for wallet/sqlite.h:
...
#include <sqlite3.h>    // for sqlite3_stmt, sqlite3
...

@sedited sedited left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice, ACK bea9fc2

@kristapsk kristapsk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

utACK bea9fc2

@hebasto hebasto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ACK bea9fc2, I have reviewed the code and it looks OK.

@PRADACANDI18 PRADACANDI18 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good

@fanquake
fanquake merged commit 334f45f into bitcoin:master Jul 7, 2023
@bitcoin bitcoin locked and limited conversation to collaborators Jul 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants