standardese / cppast

Library to parse and work with the C++ AST
Other
1.7k stars 164 forks source link

Add c++2b as a permitted language version #156

Closed waitingtocompile closed 1 year ago

waitingtocompile commented 1 year ago

Clang has had some degree of support for the C++23 working draft as far back as clang 12, this brings that in as a recognised version in our internal flags.

Minor side note - cppast still treats "latest" as C++14, is this intended behaviour, or a holdover that never got updated?

foonathan commented 1 year ago

Thank you!

Minor side note - cppast still treats "latest" as C++14, is this intended behaviour, or a holdover that never got updated?

C++14 is the latest version cppast supports completely, IIRC. I unfortunately no longer have the time to actively work on the library much, and all features past C++14 are added by contributors, but there may be things missing.

I'm happy to update the latest version if support is complete, this might be the case for C++17.