-
Notifications
You must be signed in to change notification settings - Fork 928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEA] Upgrade clang-format to Clang 11 and other adjustments #5187
Comments
This issue has been labeled |
This issue has been labeled |
This resolves: #5187 PR description copied from: rapidsai/cuml#3121 Depends on: rapidsai/integration#304 This PR will upgrade the clang version required to 11.0.0 in order to enable us with running clang-tidy on .cu files, while running on cuda v11. See rapidsai/raft#88 for more details. CI will not pass as the underlying conda-env still uses 8.0.1. Once we have the rapids-build-env meta package updated, this should pass. ----- ### Fixes from Clang 8.0.1 to Clang 11.0.0 (that are observed in delta) * Missing spaces * Incorrect alignment when ternary expression splits across multiple lines * Comment alignment on macros * Fixed where function signatures have line breaks * Aligning macros * Always left align pointer/reference * Don't allow single line for loops ----- To do list: * [x] Update python file * [x] Update conda environment files * [x] Run formatter to apply all changes from upgrading * [x] Add changes from #5187 * [x] Review list of new changes from 8.0.1 to 11; choose which to incorporate * [x] Get working with RAPID compose Authors: - Conor Hoekstra (https://github.com/codereport) Approvers: - AJ Schmidt (https://github.com/ajschmidt8) - Nghia Truong (https://github.com/ttnghia) - Mark Harris (https://github.com/harrism) - Dillon Cullinan (https://github.com/dillon-cullinan) URL: #6695
We need to upgrade clang-format to Clang 11. While we are at it, we will make a couple other small adjustments to the clang-format config that were overlooked:
AllowShortLoopsOnASingleLine: false
PointerAlignment: Left
(actually looks like this is already the case - don't know how I got confused)The text was updated successfully, but these errors were encountered: