r/cpp • • Feb 24 '26

Clang 22 Release Notes

https://releases.llvm.org/22.1.0/tools/clang/docs/ReleaseNotes.html

LLVM 22 was released, update your toolchains!

https://discourse.llvm.org/t/llvm-22-1-0-released/89950

118 Upvotes

27 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Feb 25 '26

[deleted] — view deleted comment

2

u/martinus int main(){[]()[[]]{{}}();} Feb 25 '26

This has been working very well for me for a long time. Sometimes it is necessary to restart clangd but mostly is works very well

1

u/max123246 Feb 25 '26

Oh I can't use vscode over ssh because the remote machine for whatever reason takes like 30 seconds to a minute to run a single git command. I think it's because the drive on the remote machine must not like lots of file operations. I keep a local copy of the repo and a copy on the remote machine that I build on

My strategy was to copy over the compile_commands.json from the remote machine to my local machine but unfortunately that would break often because the paths are hard-coded. I would try manually changing them once or twice but as you can imagine, next week you build a slightly different config for a new task and now you'd have to manually change the paths again