Skip to content

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

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

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

@Abbondanzo Abbondanzo 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-cla meta-cla Bot 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

meta-codesync Bot commented Aug 18, 2026

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-codesync meta-codesync Bot changed the title Pin clang-format 21.1.2 for OSS formatting Pin clang-format 21.1.2 for OSS formatting (#58001) Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant