Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/3041
Note: Links to docs will display an error until the docs builds have been completed. ❌ 3 New FailuresAs of commit 88d244f with merge base 057e432 ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D56139927 |
Summary: We are updating to clang-formatter 18. The current clang-format in coreml code has duplicate key. Deleting one of them. Differential Revision: D56139927
33ef245 to
fed1270
Compare
|
This pull request was exported from Phabricator. Differential Revision: D56139927 |
| @@ -1,5 +1,4 @@ | |||
| BasedOnStyle: WebKit | |||
| BreakBeforeBraces: Attach | |||
There was a problem hiding this comment.
@cymbalrush BreakBeforeBraces was defined twice in this class. With the new clang-format 18, it doesn't allow to have duplicate keys.
Deleting one of them
There was a problem hiding this comment.
Here's an example error when running lintrunner
Advice (CLANGFORMAT) command-failed
COMMAND (exit code 1)
/home/mnachin/local/miniconda3/envs/executorch_docs/bin/clang-format
-style=file /data/users/mnachin/fbsource/fbcode/executorch/backends/apple/
coreml/runtime/util/objc_safe_cast.h
STDERR
/data/users/mnachin/fbsource/fbcode/executorch/backends/
apple/coreml/.clang-format:23:1: error: duplicated mapping key
'BreakBeforeBraces'
BreakBeforeBraces: Custom
^~~~~~~~~~~~~~~~~
Error reading /data/users/mnachin/fbsource/fbcode/executorch/backends/
apple/coreml/.clang-format: Invalid argument
STDOUT
(empty)
Summary: Pull Request resolved: pytorch#3041 We are updating to clang-formatter 18. The current clang-format in coreml code has duplicate key. Deleting one of them. Differential Revision: D56139927
|
This pull request was exported from Phabricator. Differential Revision: D56139927 |
fed1270 to
88d244f
Compare
|
This pull request has been merged in 7c81155. |
Summary:
We are updating to clang-formatter 18.
The current clang-format in coreml code has duplicate key. Deleting one of them. It didn't complain in the old clang-formatter 12
Differential Revision: D56139927