Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 1 | ===================================== |
Stephen Hines | 0e2c34f | 2015-03-23 12:09:02 -0700 | [diff] [blame] | 2 | Clang 3.7 (In-Progress) Release Notes |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 3 | ===================================== |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 4 | |
| 5 | .. contents:: |
| 6 | :local: |
| 7 | :depth: 2 |
| 8 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 9 | Written by the `LLVM Team <http://llvm.org/>`_ |
| 10 | |
| 11 | .. warning:: |
| 12 | |
Stephen Hines | 0e2c34f | 2015-03-23 12:09:02 -0700 | [diff] [blame] | 13 | These are in-progress notes for the upcoming Clang 3.7 release. You may |
Stephen Hines | 176edba | 2014-12-01 14:53:08 -0800 | [diff] [blame] | 14 | prefer the `Clang 3.5 Release Notes |
Stephen Hines | 0e2c34f | 2015-03-23 12:09:02 -0700 | [diff] [blame] | 15 | <http://llvm.org/releases/3.5.0/tools/clang/docs/ReleaseNotes.html>`_. |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 16 | |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 17 | Introduction |
| 18 | ============ |
| 19 | |
| 20 | This document contains the release notes for the Clang C/C++/Objective-C |
Stephen Hines | 0e2c34f | 2015-03-23 12:09:02 -0700 | [diff] [blame] | 21 | frontend, part of the LLVM Compiler Infrastructure, release 3.7. Here we |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 22 | describe the status of Clang in some detail, including major |
| 23 | improvements from the previous release and new feature work. For the |
| 24 | general LLVM release notes, see `the LLVM |
| 25 | documentation <http://llvm.org/docs/ReleaseNotes.html>`_. All LLVM |
| 26 | releases may be downloaded from the `LLVM releases web |
| 27 | site <http://llvm.org/releases/>`_. |
| 28 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 29 | For more information about Clang or LLVM, including information about |
| 30 | the latest release, please check out the main please see the `Clang Web |
| 31 | Site <http://clang.llvm.org>`_ or the `LLVM Web |
| 32 | Site <http://llvm.org>`_. |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 33 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 34 | Note that if you are reading this file from a Subversion checkout or the |
| 35 | main Clang web page, this document applies to the *next* release, not |
| 36 | the current one. To see the release notes for a specific release, please |
| 37 | see the `releases page <http://llvm.org/releases/>`_. |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 38 | |
Stephen Hines | 0e2c34f | 2015-03-23 12:09:02 -0700 | [diff] [blame] | 39 | What's New in Clang 3.7? |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 40 | ======================== |
| 41 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 42 | Some of the major new features and improvements to Clang are listed |
| 43 | here. Generic improvements to Clang as a whole or to its underlying |
| 44 | infrastructure are described first, followed by language-specific |
| 45 | sections with improvements to Clang's support for those languages. |
Chandler Carruth | fe1088d | 2013-11-07 00:26:32 +0000 | [diff] [blame] | 46 | |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 47 | Major New Features |
| 48 | ------------------ |
| 49 | |
Stephen Hines | 0e2c34f | 2015-03-23 12:09:02 -0700 | [diff] [blame] | 50 | - Feature ... |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 51 | |
| 52 | |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 53 | Improvements to Clang's diagnostics |
| 54 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 55 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 56 | Clang's diagnostics are constantly being improved to catch more issues, |
| 57 | explain them more clearly, and provide more accurate source information |
Stephen Hines | 176edba | 2014-12-01 14:53:08 -0800 | [diff] [blame] | 58 | about them. The improvements since the 3.5 release include: |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 59 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 60 | - ... |
Bill Wendling | ad0116e | 2013-12-16 19:53:36 +0000 | [diff] [blame] | 61 | |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 62 | New Compiler Flags |
| 63 | ------------------ |
| 64 | |
Pirama Arumuga Nainar | 3ea9e33 | 2015-04-08 08:57:32 -0700 | [diff] [blame] | 65 | The sized deallocation feature of C++14 is now controlled by the |
| 66 | ``-fsized-deallocation`` flag. This feature relies on library support that |
| 67 | isn't yet widely deployed, so the user must supply an extra flag to get the |
| 68 | extra functionality. |
| 69 | |
Stephen Hines | 176edba | 2014-12-01 14:53:08 -0800 | [diff] [blame] | 70 | The option .... |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 71 | |
Stephen Hines | c568f1e | 2014-07-21 00:47:37 -0700 | [diff] [blame] | 72 | |
| 73 | New Pragmas in Clang |
| 74 | ----------------------- |
| 75 | |
Stephen Hines | 176edba | 2014-12-01 14:53:08 -0800 | [diff] [blame] | 76 | Clang now supports the ... |
| 77 | |
| 78 | Windows Support |
| 79 | --------------- |
| 80 | |
| 81 | Clang's support for building native Windows programs ... |
| 82 | |
Stephen Hines | c568f1e | 2014-07-21 00:47:37 -0700 | [diff] [blame] | 83 | |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 84 | C Language Changes in Clang |
| 85 | --------------------------- |
| 86 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 87 | ... |
| 88 | |
| 89 | C11 Feature Support |
| 90 | ^^^^^^^^^^^^^^^^^^^ |
| 91 | |
| 92 | ... |
Michael Gottesman | 98d1ec1 | 2013-06-20 23:28:10 +0000 | [diff] [blame] | 93 | |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 94 | C++ Language Changes in Clang |
| 95 | ----------------------------- |
| 96 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 97 | - ... |
Eli Friedman | 6540052 | 2013-07-20 01:06:31 +0000 | [diff] [blame] | 98 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 99 | C++11 Feature Support |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 100 | ^^^^^^^^^^^^^^^^^^^^^ |
| 101 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 102 | ... |
Richard Smith | 22540da | 2013-12-12 02:20:54 +0000 | [diff] [blame] | 103 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 104 | Objective-C Language Changes in Clang |
| 105 | ------------------------------------- |
Richard Smith | 22540da | 2013-12-12 02:20:54 +0000 | [diff] [blame] | 106 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 107 | ... |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 108 | |
Erik Schnetter | a87219b | 2013-11-11 06:36:33 +0000 | [diff] [blame] | 109 | OpenCL C Language Changes in Clang |
| 110 | ---------------------------------- |
| 111 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 112 | ... |
Erik Schnetter | a87219b | 2013-11-11 06:36:33 +0000 | [diff] [blame] | 113 | |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 114 | Internal API Changes |
| 115 | -------------------- |
| 116 | |
Stephen Hines | 0e2c34f | 2015-03-23 12:09:02 -0700 | [diff] [blame] | 117 | These are major API changes that have happened since the 3.6 release of |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 118 | Clang. If upgrading an external codebase that uses Clang as a library, |
| 119 | this section should help get you past the largest hurdles of upgrading. |
| 120 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 121 | ... |
Hans Wennborg | 0437e0d | 2013-05-20 14:53:06 +0000 | [diff] [blame] | 122 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 123 | libclang |
| 124 | -------- |
| 125 | |
| 126 | ... |
Hans Wennborg | 0437e0d | 2013-05-20 14:53:06 +0000 | [diff] [blame] | 127 | |
Anna Zaks | 08741a0 | 2013-04-25 23:14:38 +0000 | [diff] [blame] | 128 | Static Analyzer |
Ted Kremenek | 1377a46 | 2013-04-26 00:01:34 +0000 | [diff] [blame] | 129 | --------------- |
Anna Zaks | 08741a0 | 2013-04-25 23:14:38 +0000 | [diff] [blame] | 130 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 131 | ... |
Sylvestre Ledru | aa7fc19 | 2013-12-13 11:30:23 +0000 | [diff] [blame] | 132 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 133 | Core Analysis Improvements |
| 134 | ========================== |
Daniel Jasper | 87ddfdd | 2013-12-11 14:41:33 +0000 | [diff] [blame] | 135 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 136 | - ... |
Daniel Jasper | 87ddfdd | 2013-12-11 14:41:33 +0000 | [diff] [blame] | 137 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 138 | New Issues Found |
| 139 | ================ |
Hans Wennborg | a6c1850 | 2013-12-02 22:38:55 +0000 | [diff] [blame] | 140 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 141 | - ... |
Hans Wennborg | a6c1850 | 2013-12-02 22:38:55 +0000 | [diff] [blame] | 142 | |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 143 | Python Binding Changes |
| 144 | ---------------------- |
| 145 | |
| 146 | The following methods have been added: |
| 147 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 148 | - ... |
| 149 | |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 150 | Significant Known Problems |
| 151 | ========================== |
| 152 | |
| 153 | Additional Information |
| 154 | ====================== |
| 155 | |
| 156 | A wide variety of additional information is available on the `Clang web |
| 157 | page <http://clang.llvm.org/>`_. The web page contains versions of the |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 158 | API documentation which are up-to-date with the Subversion version of |
Sean Silva | debc018 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 159 | the source code. You can access versions of these documents specific to |
| 160 | this release by going into the "``clang/docs/``" directory in the Clang |
| 161 | tree. |
| 162 | |
| 163 | If you have any questions or comments about Clang, please feel free to |
| 164 | contact us via the `mailing |
| 165 | list <http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev>`_. |