1======================================= 2Clang 7.0.0 (In-Progress) Release Notes 3======================================= 4 5.. contents:: 6 :local: 7 :depth: 2 8 9Written by the `LLVM Team <http://llvm.org/>`_ 10 11.. warning:: 12 13 These are in-progress notes for the upcoming Clang 7 release. 14 Release notes for previous releases can be found on 15 `the Download Page <http://releases.llvm.org/download.html>`_. 16 17Introduction 18============ 19 20This document contains the release notes for the Clang C/C++/Objective-C 21frontend, part of the LLVM Compiler Infrastructure, release 7.0.0. Here we 22describe the status of Clang in some detail, including major 23improvements from the previous release and new feature work. For the 24general LLVM release notes, see `the LLVM 25documentation <http://llvm.org/docs/ReleaseNotes.html>`_. All LLVM 26releases may be downloaded from the `LLVM releases web 27site <http://llvm.org/releases/>`_. 28 29For more information about Clang or LLVM, including information about the 30latest release, please see the `Clang Web Site <http://clang.llvm.org>`_ or the 31`LLVM Web Site <http://llvm.org>`_. 32 33Note that if you are reading this file from a Subversion checkout or the 34main Clang web page, this document applies to the *next* release, not 35the current one. To see the release notes for a specific release, please 36see the `releases page <http://llvm.org/releases/>`_. 37 38What's New in Clang 7.0.0? 39========================== 40 41Some of the major new features and improvements to Clang are listed 42here. Generic improvements to Clang as a whole or to its underlying 43infrastructure are described first, followed by language-specific 44sections with improvements to Clang's support for those languages. 45 46Major New Features 47------------------ 48 49- ... 50 51Improvements to Clang's diagnostics 52^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 53 54- ... 55 56Non-comprehensive list of changes in this release 57------------------------------------------------- 58 59- ... 60 61New Compiler Flags 62------------------ 63 64- ... 65 66Deprecated Compiler Flags 67------------------------- 68 69The following options are deprecated and ignored. They will be removed in 70future versions of Clang. 71 72- ... 73 74New Pragmas in Clang 75----------------------- 76 77Clang now supports the ... 78 79 80Attribute Changes in Clang 81-------------------------- 82 83- Clang now supports function multiversioning with attribute 'target' on ELF 84 based x86/x86-64 environments by using indirect functions. This implementation 85 has a few minor limitations over the GCC implementation for the sake of AST 86 sanity, however it is otherwise compatible with existing code using this 87 feature for GCC. Consult the documentation for the target attribute for more 88 information. 89- ... 90 91Windows Support 92--------------- 93 94Clang's support for building native Windows programs ... 95 96 97C Language Changes in Clang 98--------------------------- 99 100- ... 101 102... 103 104C11 Feature Support 105^^^^^^^^^^^^^^^^^^^ 106 107... 108 109C++ Language Changes in Clang 110----------------------------- 111 112- ... 113 114C++1z Feature Support 115^^^^^^^^^^^^^^^^^^^^^ 116 117... 118 119Objective-C Language Changes in Clang 120------------------------------------- 121 122... 123 124OpenCL C Language Changes in Clang 125---------------------------------- 126 127... 128 129OpenMP Support in Clang 130---------------------------------- 131 132- ... 133 134Internal API Changes 135-------------------- 136 137These are major API changes that have happened since the 6.0.0 release of 138Clang. If upgrading an external codebase that uses Clang as a library, 139this section should help get you past the largest hurdles of upgrading. 140 141- ... 142 143AST Matchers 144------------ 145 146- ... 147 148clang-format 149------------ 150 151- ... 152 153libclang 154-------- 155 156... 157 158 159Static Analyzer 160--------------- 161 162- ... 163 164... 165 166Undefined Behavior Sanitizer (UBSan) 167------------------------------------ 168 169* ... 170 171Core Analysis Improvements 172========================== 173 174- ... 175 176New Issues Found 177================ 178 179- ... 180 181Python Binding Changes 182---------------------- 183 184The following methods have been added: 185 186- ... 187 188Significant Known Problems 189========================== 190 191Additional Information 192====================== 193 194A wide variety of additional information is available on the `Clang web 195page <http://clang.llvm.org/>`_. The web page contains versions of the 196API documentation which are up-to-date with the Subversion version of 197the source code. You can access versions of these documents specific to 198this release by going into the "``clang/docs/``" directory in the Clang 199tree. 200 201If you have any questions or comments about Clang, please feel free to 202contact us via the `mailing 203list <http://lists.llvm.org/mailman/listinfo/cfe-dev>`_. 204