| 1 |
.. If you want to modify sections/contents permanently, you should modify both |
| 2 |
ReleaseNotes.rst and ReleaseNotesTemplate.txt. |
| 3 |
|
| 4 |
=========================================== |
| 5 |
Clang |release| |ReleaseNotesTitle| |
| 6 |
=========================================== |
| 7 |
|
| 8 |
.. contents:: |
| 9 |
:local: |
| 10 |
:depth: 2 |
| 11 |
|
| 12 |
Written by the `LLVM Team <https://llvm.org/>`_ |
| 13 |
|
| 14 |
.. only:: PreRelease |
| 15 |
|
| 16 |
.. warning:: |
| 17 |
These are in-progress notes for the upcoming Clang |version| release. |
| 18 |
Release notes for previous releases can be found on |
| 19 |
`the Releases Page <https://llvm.org/releases/>`_. |
| 20 |
|
| 21 |
Introduction |
| 22 |
============ |
| 23 |
|
| 24 |
This document contains the release notes for the Clang C/C++/Objective-C |
| 25 |
frontend, part of the LLVM Compiler Infrastructure, release |release|. Here we |
| 26 |
describe the status of Clang in some detail, including major |
| 27 |
improvements from the previous release and new feature work. For the |
| 28 |
general LLVM release notes, see `the LLVM |
| 29 |
documentation <https://llvm.org/docs/ReleaseNotes.html>`_. For the libc++ release notes, |
| 30 |
see `this page <https://libcxx.llvm.org/ReleaseNotes.html>`_. All LLVM releases |
| 31 |
may be downloaded from the `LLVM releases web site <https://llvm.org/releases/>`_. |
| 32 |
|
| 33 |
For more information about Clang or LLVM, including information about the |
| 34 |
latest release, please see the `Clang Web Site <https://clang.llvm.org>`_ or the |
| 35 |
`LLVM Web Site <https://llvm.org>`_. |
| 36 |
|
| 37 |
Potentially Breaking Changes |
| 38 |
============================ |
| 39 |
|
| 40 |
C/C++ Language Potentially Breaking Changes |
| 41 |
------------------------------------------- |
| 42 |
|
| 43 |
C++ Specific Potentially Breaking Changes |
| 44 |
----------------------------------------- |
| 45 |
|
| 46 |
ABI Changes in This Version |
| 47 |
--------------------------- |
| 48 |
|
| 49 |
AST Dumping Potentially Breaking Changes |
| 50 |
---------------------------------------- |
| 51 |
|
| 52 |
Clang Frontend Potentially Breaking Changes |
| 53 |
------------------------------------------- |
| 54 |
|
| 55 |
Clang Python Bindings Potentially Breaking Changes |
| 56 |
-------------------------------------------------- |
| 57 |
|
| 58 |
What's New in Clang |release|? |
| 59 |
============================== |
| 60 |
|
| 61 |
C++ Language Changes |
| 62 |
-------------------- |
| 63 |
|
| 64 |
C++2c Feature Support |
| 65 |
^^^^^^^^^^^^^^^^^^^^^ |
| 66 |
|
| 67 |
C++23 Feature Support |
| 68 |
^^^^^^^^^^^^^^^^^^^^^ |
| 69 |
|
| 70 |
C++20 Feature Support |
| 71 |
^^^^^^^^^^^^^^^^^^^^^ |
| 72 |
|
| 73 |
C++17 Feature Support |
| 74 |
^^^^^^^^^^^^^^^^^^^^^ |
| 75 |
|
| 76 |
Resolutions to C++ Defect Reports |
| 77 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 78 |
|
| 79 |
C Language Changes |
| 80 |
------------------ |
| 81 |
|
| 82 |
C2y Feature Support |
| 83 |
^^^^^^^^^^^^^^^^^^^ |
| 84 |
|
| 85 |
C23 Feature Support |
| 86 |
^^^^^^^^^^^^^^^^^^^ |
| 87 |
|
| 88 |
Non-comprehensive list of changes in this release |
| 89 |
------------------------------------------------- |
| 90 |
|
| 91 |
New Compiler Flags |
| 92 |
------------------ |
| 93 |
|
| 94 |
Deprecated Compiler Flags |
| 95 |
------------------------- |
| 96 |
|
| 97 |
Modified Compiler Flags |
| 98 |
----------------------- |
| 99 |
|
| 100 |
Removed Compiler Flags |
| 101 |
---------------------- |
| 102 |
|
| 103 |
Attribute Changes in Clang |
| 104 |
-------------------------- |
| 105 |
|
| 106 |
Improvements to Clang's diagnostics |
| 107 |
----------------------------------- |
| 108 |
|
| 109 |
Improvements to Clang's time-trace |
| 110 |
---------------------------------- |
| 111 |
|
| 112 |
Improvements to Coverage Mapping |
| 113 |
-------------------------------- |
| 114 |
|
| 115 |
Bug Fixes in This Version |
| 116 |
------------------------- |
| 117 |
|
| 118 |
Bug Fixes to Compiler Builtins |
| 119 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 120 |
|
| 121 |
Bug Fixes to Attribute Support |
| 122 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 123 |
|
| 124 |
Bug Fixes to C++ Support |
| 125 |
^^^^^^^^^^^^^^^^^^^^^^^^ |
| 126 |
|
| 127 |
Bug Fixes to AST Handling |
| 128 |
^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 129 |
|
| 130 |
Miscellaneous Bug Fixes |
| 131 |
^^^^^^^^^^^^^^^^^^^^^^^ |
| 132 |
|
| 133 |
Miscellaneous Clang Crashes Fixed |
| 134 |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 135 |
|
| 136 |
OpenACC Specific Changes |
| 137 |
------------------------ |
| 138 |
|
| 139 |
Target Specific Changes |
| 140 |
----------------------- |
| 141 |
|
| 142 |
AMDGPU Support |
| 143 |
^^^^^^^^^^^^^^ |
| 144 |
|
| 145 |
NVPTX Support |
| 146 |
^^^^^^^^^^^^^^ |
| 147 |
|
| 148 |
X86 Support |
| 149 |
^^^^^^^^^^^ |
| 150 |
|
| 151 |
Arm and AArch64 Support |
| 152 |
^^^^^^^^^^^^^^^^^^^^^^^ |
| 153 |
|
| 154 |
Android Support |
| 155 |
^^^^^^^^^^^^^^^ |
| 156 |
|
| 157 |
Windows Support |
| 158 |
^^^^^^^^^^^^^^^ |
| 159 |
|
| 160 |
LoongArch Support |
| 161 |
^^^^^^^^^^^^^^^^^ |
| 162 |
|
| 163 |
RISC-V Support |
| 164 |
^^^^^^^^^^^^^^ |
| 165 |
|
| 166 |
CUDA/HIP Language Changes |
| 167 |
^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 168 |
|
| 169 |
CUDA Support |
| 170 |
^^^^^^^^^^^^ |
| 171 |
|
| 172 |
AIX Support |
| 173 |
^^^^^^^^^^^ |
| 174 |
|
| 175 |
NetBSD Support |
| 176 |
^^^^^^^^^^^^^^ |
| 177 |
|
| 178 |
WebAssembly Support |
| 179 |
^^^^^^^^^^^^^^^^^^^ |
| 180 |
|
| 181 |
AVR Support |
| 182 |
^^^^^^^^^^^ |
| 183 |
|
| 184 |
DWARF Support in Clang |
| 185 |
---------------------- |
| 186 |
|
| 187 |
Floating Point Support in Clang |
| 188 |
------------------------------- |
| 189 |
|
| 190 |
Fixed Point Support in Clang |
| 191 |
---------------------------- |
| 192 |
|
| 193 |
AST Matchers |
| 194 |
------------ |
| 195 |
|
| 196 |
clang-format |
| 197 |
------------ |
| 198 |
|
| 199 |
libclang |
| 200 |
-------- |
| 201 |
|
| 202 |
Code Completion |
| 203 |
--------------- |
| 204 |
|
| 205 |
Static Analyzer |
| 206 |
--------------- |
| 207 |
|
| 208 |
New features |
| 209 |
^^^^^^^^^^^^ |
| 210 |
|
| 211 |
Crash and bug fixes |
| 212 |
^^^^^^^^^^^^^^^^^^^ |
| 213 |
|
| 214 |
Improvements |
| 215 |
^^^^^^^^^^^^ |
| 216 |
|
| 217 |
Moved checkers |
| 218 |
^^^^^^^^^^^^^^ |
| 219 |
|
| 220 |
.. _release-notes-sanitizers: |
| 221 |
|
| 222 |
Sanitizers |
| 223 |
---------- |
| 224 |
|
| 225 |
Python Binding Changes |
| 226 |
---------------------- |
| 227 |
|
| 228 |
OpenMP Support |
| 229 |
-------------- |
| 230 |
|
| 231 |
Improvements |
| 232 |
^^^^^^^^^^^^ |
| 233 |
|
| 234 |
Additional Information |
| 235 |
====================== |
| 236 |
|
| 237 |
A wide variety of additional information is available on the `Clang web |
| 238 |
page <https://clang.llvm.org/>`_. The web page contains versions of the |
| 239 |
API documentation which are up-to-date with the Git version of |
| 240 |
the source code. You can access versions of these documents specific to |
| 241 |
this release by going into the "``clang/docs/``" directory in the Clang |
| 242 |
tree. |
| 243 |
|
| 244 |
If you have any questions or comments about Clang, please feel free to |
| 245 |
contact us on the `Discourse forums (Clang Frontend category) |
| 246 |
<https://discourse.llvm.org/c/clang/6>`_. |