Sean Silva | b045514 | 2013-01-02 22:05:33 +0000 | [diff] [blame] | 1 | ===================================== |
Hans Wennborg | 0a7ec77 | 2015-01-14 18:14:03 +0000 | [diff] [blame] | 2 | Clang 3.7 (In-Progress) Release Notes |
Sean Silva | b045514 | 2013-01-02 22:05:33 +0000 | [diff] [blame] | 3 | ===================================== |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 4 | |
| 5 | .. contents:: |
| 6 | :local: |
| 7 | :depth: 2 |
| 8 | |
| 9 | Written by the `LLVM Team <http://llvm.org/>`_ |
| 10 | |
| 11 | .. warning:: |
| 12 | |
Hans Wennborg | 0a7ec77 | 2015-01-14 18:14:03 +0000 | [diff] [blame] | 13 | These are in-progress notes for the upcoming Clang 3.7 release. You may |
Aaron Ballman | d6ea914 | 2015-05-26 16:12:07 +0000 | [diff] [blame^] | 14 | prefer the `Clang 3.6 Release Notes |
| 15 | <http://llvm.org/releases/3.6.0/tools/clang/docs/ReleaseNotes.html>`_. |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 16 | |
| 17 | Introduction |
| 18 | ============ |
| 19 | |
| 20 | This document contains the release notes for the Clang C/C++/Objective-C |
Hans Wennborg | 0a7ec77 | 2015-01-14 18:14:03 +0000 | [diff] [blame] | 21 | frontend, part of the LLVM Compiler Infrastructure, release 3.7. Here we |
Sean Silva | fe25144 | 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 | |
| 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>`_. |
| 33 | |
| 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/>`_. |
| 38 | |
Hans Wennborg | 0a7ec77 | 2015-01-14 18:14:03 +0000 | [diff] [blame] | 39 | What's New in Clang 3.7? |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 40 | ======================== |
| 41 | |
| 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. |
| 46 | |
| 47 | Major New Features |
| 48 | ------------------ |
| 49 | |
Hans Wennborg | 0a7ec77 | 2015-01-14 18:14:03 +0000 | [diff] [blame] | 50 | - Feature ... |
Aaron Ballman | a4bb4b9 | 2014-01-09 23:11:13 +0000 | [diff] [blame] | 51 | |
Rafael Espindola | 3497069 | 2013-12-12 16:07:11 +0000 | [diff] [blame] | 52 | |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 53 | Improvements to Clang's diagnostics |
| 54 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 55 | |
| 56 | Clang's diagnostics are constantly being improved to catch more issues, |
| 57 | explain them more clearly, and provide more accurate source information |
Rafael Espindola | af74250 | 2014-08-22 21:59:11 +0000 | [diff] [blame] | 58 | about them. The improvements since the 3.5 release include: |
Sylvestre Ledru | 5e43f74 | 2014-07-14 18:30:23 +0000 | [diff] [blame] | 59 | |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 60 | - ... |
| 61 | |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 62 | New Compiler Flags |
| 63 | ------------------ |
| 64 | |
Reid Kleckner | 7ffc3fb | 2015-03-20 00:31:07 +0000 | [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 | |
Rafael Espindola | af74250 | 2014-08-22 21:59:11 +0000 | [diff] [blame] | 70 | The option .... |
Renato Golin | 1588cda | 2013-12-11 09:35:10 +0000 | [diff] [blame] | 71 | |
Sylvestre Ledru | 0e767b1 | 2014-07-14 18:34:37 +0000 | [diff] [blame] | 72 | |
Tyler Nowicki | db2668a | 2014-06-18 00:51:32 +0000 | [diff] [blame] | 73 | New Pragmas in Clang |
| 74 | ----------------------- |
| 75 | |
Rafael Espindola | af74250 | 2014-08-22 21:59:11 +0000 | [diff] [blame] | 76 | Clang now supports the ... |
Mark Heffernan | bd26f5e | 2014-07-21 18:08:34 +0000 | [diff] [blame] | 77 | |
Hans Wennborg | 02dc000 | 2014-08-05 00:21:23 +0000 | [diff] [blame] | 78 | Windows Support |
| 79 | --------------- |
| 80 | |
Rafael Espindola | af74250 | 2014-08-22 21:59:11 +0000 | [diff] [blame] | 81 | Clang's support for building native Windows programs ... |
Hans Wennborg | 02dc000 | 2014-08-05 00:21:23 +0000 | [diff] [blame] | 82 | |
| 83 | |
Renato Golin | f2fcddb | 2013-12-13 09:27:34 +0000 | [diff] [blame] | 84 | C Language Changes in Clang |
| 85 | --------------------------- |
| 86 | |
| 87 | ... |
| 88 | |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 89 | C11 Feature Support |
| 90 | ^^^^^^^^^^^^^^^^^^^ |
| 91 | |
| 92 | ... |
| 93 | |
| 94 | C++ Language Changes in Clang |
| 95 | ----------------------------- |
| 96 | |
Bill Wendling | 61f44cc | 2013-06-04 06:17:46 +0000 | [diff] [blame] | 97 | - ... |
Rafael Espindola | 9ca6e81 | 2013-04-09 12:51:24 +0000 | [diff] [blame] | 98 | |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 99 | C++11 Feature Support |
| 100 | ^^^^^^^^^^^^^^^^^^^^^ |
| 101 | |
| 102 | ... |
| 103 | |
| 104 | Objective-C Language Changes in Clang |
| 105 | ------------------------------------- |
| 106 | |
| 107 | ... |
| 108 | |
Erik Schnetter | 489700d | 2013-11-11 06:36:33 +0000 | [diff] [blame] | 109 | OpenCL C Language Changes in Clang |
| 110 | ---------------------------------- |
| 111 | |
Bill Wendling | 0a794a4b | 2013-11-20 10:13:37 +0000 | [diff] [blame] | 112 | ... |
Erik Schnetter | 489700d | 2013-11-11 06:36:33 +0000 | [diff] [blame] | 113 | |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 114 | Internal API Changes |
| 115 | -------------------- |
| 116 | |
Hans Wennborg | 0a7ec77 | 2015-01-14 18:14:03 +0000 | [diff] [blame] | 117 | These are major API changes that have happened since the 3.6 release of |
Sean Silva | fe25144 | 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 | |
Richard Smith | 35932cd | 2015-05-04 03:18:47 +0000 | [diff] [blame] | 121 | - Some of the `PPCallbacks` interface now deals in `MacroDefinition` |
| 122 | objects instead of `MacroDirective` objects. This allows preserving |
| 123 | full information on macros imported from modules. |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 124 | |
Richard Smith | a0334a9 | 2015-05-14 00:22:12 +0000 | [diff] [blame] | 125 | - `clang-c/Index.h` no longer `#include`\s `clang-c/Documentation.h`. |
| 126 | You now need to explicitly `#include "clang-c/Documentation.h"` if |
| 127 | you use the libclang documentation API. |
| 128 | |
Ted Kremenek | 3a2291b | 2013-04-24 07:33:52 +0000 | [diff] [blame] | 129 | libclang |
| 130 | -------- |
| 131 | |
Bill Wendling | 61f44cc | 2013-06-04 06:17:46 +0000 | [diff] [blame] | 132 | ... |
Ted Kremenek | 3a2291b | 2013-04-24 07:33:52 +0000 | [diff] [blame] | 133 | |
Anna Zaks | b6219a9 | 2013-04-25 23:14:38 +0000 | [diff] [blame] | 134 | Static Analyzer |
Ted Kremenek | 004e823 | 2013-04-26 00:01:34 +0000 | [diff] [blame] | 135 | --------------- |
Anna Zaks | b6219a9 | 2013-04-25 23:14:38 +0000 | [diff] [blame] | 136 | |
Bill Wendling | 0a794a4b | 2013-11-20 10:13:37 +0000 | [diff] [blame] | 137 | ... |
Ted Kremenek | 004e823 | 2013-04-26 00:01:34 +0000 | [diff] [blame] | 138 | |
| 139 | Core Analysis Improvements |
| 140 | ========================== |
| 141 | |
Bill Wendling | 61f44cc | 2013-06-04 06:17:46 +0000 | [diff] [blame] | 142 | - ... |
Ted Kremenek | 004e823 | 2013-04-26 00:01:34 +0000 | [diff] [blame] | 143 | |
| 144 | New Issues Found |
| 145 | ================ |
| 146 | |
Bill Wendling | 61f44cc | 2013-06-04 06:17:46 +0000 | [diff] [blame] | 147 | - ... |
Anna Zaks | b6219a9 | 2013-04-25 23:14:38 +0000 | [diff] [blame] | 148 | |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 149 | Python Binding Changes |
| 150 | ---------------------- |
| 151 | |
| 152 | The following methods have been added: |
| 153 | |
| 154 | - ... |
| 155 | |
| 156 | Significant Known Problems |
| 157 | ========================== |
| 158 | |
| 159 | Additional Information |
| 160 | ====================== |
| 161 | |
| 162 | A wide variety of additional information is available on the `Clang web |
| 163 | page <http://clang.llvm.org/>`_. The web page contains versions of the |
| 164 | API documentation which are up-to-date with the Subversion version of |
| 165 | the source code. You can access versions of these documents specific to |
| 166 | this release by going into the "``clang/docs/``" directory in the Clang |
| 167 | tree. |
| 168 | |
| 169 | If you have any questions or comments about Clang, please feel free to |
| 170 | contact us via the `mailing |
| 171 | list <http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev>`_. |