Skip to content

Pin clang-format 21.1.2 for OSS formatting (#58001) - #58001

Closed
Abbondanzo wants to merge 1 commit into
react:mainfrom
Abbondanzo:export-D116500359
Closed

Pin clang-format 21.1.2 for OSS formatting (#58001)#58001
Abbondanzo wants to merge 1 commit into
react:mainfrom
Abbondanzo:export-D116500359

Conversation

@Abbondanzo

@AbbondanzoAbbondanzo commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary:

The existing npm clang-format wrapper bundles LLVM 15, causing yarn clang-format to disagree with the formatting of checked-in headers.

Replace it with checksum-pinned DotSlash artifacts for clang-format 21.1.2 across Linux, macOS, and Windows. Add a chunked formatting runner and remove the obsolete npm dependency. The runner skips generated sources and ignores dirsynchronized or vendored subtrees that maintain their own formatting.

Changelog: [Internal]

Differential Revision: D116500359

@meta-clameta-claBot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 18, 2026
@meta-codesync

Copy link
Copy Markdown

@Abbondanzo has exported this pull request. If you are a Meta employee, you can view the originating Diff in D116500359.

Summary:
The existing npm `clang-format` wrapper bundles LLVM 15, causing `yarn clang-format` to disagree with the formatting of checked-in headers.
Replace it with checksum-pinned DotSlash artifacts for `clang-format` 21.1.2 across Linux, macOS, and Windows. Add a chunked formatting runner and remove the obsolete npm dependency. The runner skips generated sources and ignores dirsynchronized or vendored subtrees that maintain their own formatting.
Changelog: [Internal]
Differential Revision: D116500359
@meta-codesyncmeta-codesyncBot changed the title Pin clang-format 21.1.2 for OSS formattingPin clang-format 21.1.2 for OSS formatting (#58001)Aug 18, 2026
@meta-codesyncmeta-codesyncBot added the Merged This PR has been merged. label Aug 19, 2026
@meta-codesync

Copy link
Copy Markdown

This pull request has been merged in 22e0eaf.

@Abbondanzo
Abbondanzo deleted the export-D116500359 branch August 19, 2026 17:29
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.MergedThis PR has been merged.meta-exportedp: FacebookPartner: FacebookPartner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@Abbondanzo