Clang 19.1.0 Release Notes — Clang 19.1.0 documentation (original) (raw)

What’s New in Clang 19.1.0?

Some of the major new features and improvements to Clang are listed here. Generic improvements to Clang as a whole or to its underlying infrastructure are described first, followed by language-specific sections with improvements to Clang’s support for those languages.

C++ Language Changes

C++17 Feature Support

C++14 Feature Support

C++20 Feature Support

C++23 Feature Support

C++2c Feature Support

Resolutions to C++ Defect Reports

C Language Changes

C2y Feature Support

C23 Feature Support

Non-comprehensive list of changes in this release

New Compiler Flags

Deprecated Compiler Flags

Modified Compiler Flags

Removed Compiler Flags

Attribute Changes in Clang

Improvements to Clang’s diagnostics

Improvements to Clang’s time-trace

Improvements to Coverage Mapping

Bug Fixes in This Version

Bug Fixes to Compiler Builtins

Bug Fixes to Attribute Support

Bug Fixes to C++ Support

Bug Fixes to AST Handling

Miscellaneous Bug Fixes

Miscellaneous Clang Crashes Fixed

OpenACC Specific Changes

Target Specific Changes

AMDGPU Support

X86 Support

Arm and AArch64 Support

Android Support

Windows Support

LoongArch Support

RISC-V Support

PowerPC Support

CUDA/HIP Language Changes

CUDA Support

AIX Support

NetBSD Support

WebAssembly Support

The -mcpu=generic configuration now enables multivalue and reference-types. These proposals are standardized and available in all major engines. Enabling multivalue here only enables the language feature but does not turn on the multivalue ABI (this enables non-ABI uses of multivalue, like exnref).

AVR Support

DWARF Support in Clang

Floating Point Support in Clang

Fixed Point Support in Clang

AST Matchers

clang-format

libclang

Static Analyzer

New features

Crash and bug fixes

Improvements

Moved checkers

Sanitizers

Python Binding Changes

OpenMP Support