Clang 20.1.0 Release Notes - Clang 20.1.0 Documentation

Clang 20.1.0 Release Notes - Clang 20.1.0 Documentation

From the release notes:

C++ Language Changes

  • Allow single element access of GCC vector/ext_vector_type object to be constant expression. Supports the V.xyzw syntax and other tidbits as seen in OpenCL. Selecting multiple elements is left as a future work.
  • Implement CWG1815. Support lifetime extension of temporary created by aggregate initialization using a default member initializer.
  • Accept C++26 user-defined static_assert messages in C++11 as an extension.
  • Add __builtin_elementwise_popcount builtin for integer types only.
  • Add __builtin_elementwise_fmod builtin for floating point types only.
  • Add __builtin_elementwise_minimum and __builtin_elementwise_maximum builtin for floating point types only.
  • The builtin type alias __builtin_common_type has been added to improve the performance of std::common_type.

C++2c Feature Support

C++23 Feature Support

C++20 Feature Support

  • Implemented module level lookup for C++20 modules. (#90154)

Add a Comment

Comments are closed.

Comments (0)

There are currently no comments on this entry.