Skip to content

doc: bump minimum Clang version to 18#695

Merged
wgtmac merged 1 commit into
apache:mainfrom
zhjwpku:fix-clang-deducing-this
Jun 1, 2026
Merged

doc: bump minimum Clang version to 18#695
wgtmac merged 1 commit into
apache:mainfrom
zhjwpku:fix-clang-deducing-this

Conversation

@zhjwpku
Copy link
Copy Markdown
Collaborator

@zhjwpku zhjwpku commented Jun 1, 2026

ErrorCollector uses the C++23 "deducing this" feature (P0847 / explicit object parameters), which is first supported in Clang 18.

For example, the following code compiles with Clang 18+ but fails with Clang 17:

https://godbolt.org/z/17YebzKo4

ErrorCollector uses the C++23 "deducing this" feature
(P0847 / explicit object parameters), which is first
supported in Clang 18.

For example, the following code compiles with Clang 18+ but
fails with Clang 17:

https://godbolt.org/z/17YebzKo4
@wgtmac wgtmac changed the title chore(doc): bump minimum Clang version to 18 doc: bump minimum Clang version to 18 Jun 1, 2026
@wgtmac wgtmac merged commit f936553 into apache:main Jun 1, 2026
15 checks passed
@zhjwpku zhjwpku deleted the fix-clang-deducing-this branch June 1, 2026 16:05
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.

3 participants