Open xkszltl opened 4 years ago
Only clang-format would lint this file. What's your version of clang-format and what's the change you see?
It's working ok with
$ clang-format -version
clang-format version 3.9.1-19ubuntu1 (tags/RELEASE_391/rc2)
LLVM is built by us from latest release tag.
clang-format version 10.0.0 (https://github.com/llvm/llvm-project.git d32170dbd5b0d54436537b6b75beaf44324e0c28)
I don't have clang 10 to test but clang 9 also works fine.
If clang 10 changes the format, hopefully there is an option to set in .clang-format
that can restore old format.
This is what it looks like:
Release note in case you need: https://releases.llvm.org/10.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
I can see now that clang-format 10 changes the style. Don't know if there is a way to configure it to use the old style.
Linter corrects
detectron2/layers/csrc/deformable/deform_conv_cuda.cu
everytime. This file should be either excluded, or formatted in master.Instructions To Reproduce the Issue:
Expected behavior:
No code change.
Environment: