cling icon indicating copy to clipboard operation
cling copied to clipboard

Update to most recent Clang version for C++17 and 20 support?

Open pdeitel opened this issue 4 years ago • 1 comments

Are there any plans to update the version of clang used? Would love to have C++20 support in an interactive environment.

pdeitel avatar Jun 10 '21 15:06 pdeitel

Yes, it is planed. At the moment, @vgvassilev planning the port to LLVM 13. Unfortunately this upgrade will take some time, because we need to replace the old OrcJITv1 API with the OrcJITv2 API, which is a big change and needs a lot of verification.

By the way, the Cling developers are working hard to get as many of the Cling-specific Clang patches into the Clang/LLVM upstream as possible to speed up future upgrades to new LLVM versions. You can see the progress in the slides from the monthly compiler research meeting.

SimeonEhrig avatar Jun 14 '21 08:06 SimeonEhrig

Any updates on this?

pdeitel avatar Oct 27 '22 14:10 pdeitel

Yes, there is a PR https://github.com/root-project/root/pull/10294.

SimeonEhrig avatar Oct 27 '22 14:10 SimeonEhrig

Should this issue be closed now?

Cons-Cat avatar Mar 06 '23 20:03 Cons-Cat

I think so. Let's close it.

vgvassilev avatar Mar 07 '23 07:03 vgvassilev