Commit 7d912d6
[Core] Add bazel run :refresh_compile_commands for clangd (ray-project#47964)
Gives clangd the ability to fully index ray's c++ code after you run
```bazel run :refresh_compile_commands```. Gives you lsp support +
clang-tidy linting in ide to catch bad cpp practices in files based on
rules already setup in .clang-tidy.
https://github.com/ray-project/ray/blob/master/.clang-tidy A lot of
these don't seem to be followed though and seem contrary to some of the
style of existing code, but some are critical for not giving up
performance gains off of small things. Trimming down to more important
lints could be helpful.
Signed-off-by: dayshah <[email protected]>
Co-authored-by: Ruiyang Wang <[email protected]>1 parent 500b3b6 commit 7d912d6
2 files changed
+22
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
88 | 110 | | |
89 | 111 | | |
90 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | | - | |
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
| |||
0 commit comments