Sean Silva | b045514 | 2013-01-02 22:05:33 +0000 | [diff] [blame] | 1 | ===================================== |
Bill Wendling | 0a794a4b | 2013-11-20 10:13:37 +0000 | [diff] [blame] | 2 | Clang 3.5 (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 | |
Bill Wendling | 0a794a4b | 2013-11-20 10:13:37 +0000 | [diff] [blame] | 13 | These are in-progress notes for the upcoming Clang 3.5 release. You may |
| 14 | prefer the `Clang 3.4 Release Notes |
| 15 | <http://llvm.org/releases/3.4/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 |
Bill Wendling | 0a794a4b | 2013-11-20 10:13:37 +0000 | [diff] [blame] | 21 | frontend, part of the LLVM Compiler Infrastructure, release 3.5. 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 | |
Bill Wendling | 0a794a4b | 2013-11-20 10:13:37 +0000 | [diff] [blame] | 39 | What's New in Clang 3.5? |
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 | |
| 50 | Improvements to Clang's diagnostics |
| 51 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 52 | |
| 53 | Clang's diagnostics are constantly being improved to catch more issues, |
| 54 | explain them more clearly, and provide more accurate source information |
Bill Wendling | 0a794a4b | 2013-11-20 10:13:37 +0000 | [diff] [blame] | 55 | about them. The improvements since the 3.4 release include: |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 56 | |
| 57 | - ... |
| 58 | |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 59 | New Compiler Flags |
| 60 | ------------------ |
| 61 | |
Bill Wendling | 0a794a4b | 2013-11-20 10:13:37 +0000 | [diff] [blame] | 62 | ... |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 63 | |
| 64 | C Language Changes in Clang |
| 65 | --------------------------- |
| 66 | |
Renato Golin | 1588cda | 2013-12-11 09:35:10 +0000 | [diff] [blame^] | 67 | The integrated assembler is now turned on by default on ARM (and Thumb), |
| 68 | so the use of the option `-integrated-as` is now redundant on those |
| 69 | architectures. This is an important move to both *eat our own dog food* |
| 70 | and to ease cross-compilation tremendously. |
| 71 | |
| 72 | We are aware of the problems that this may cause for code bases that |
| 73 | rely on specific GNU syntax or extensions, and we're working towards |
| 74 | getting them all fixed. Please, report bugs or feature requests if |
| 75 | you find anything. In the meantime, use `-no-integrated-as` to revert |
| 76 | back the call to GNU assembler. |
Michael Gottesman | 930ecdb | 2013-06-20 23:28:10 +0000 | [diff] [blame] | 77 | |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 78 | C11 Feature Support |
| 79 | ^^^^^^^^^^^^^^^^^^^ |
| 80 | |
| 81 | ... |
| 82 | |
| 83 | C++ Language Changes in Clang |
| 84 | ----------------------------- |
| 85 | |
Bill Wendling | 61f44cc | 2013-06-04 06:17:46 +0000 | [diff] [blame] | 86 | - ... |
Rafael Espindola | 9ca6e81 | 2013-04-09 12:51:24 +0000 | [diff] [blame] | 87 | |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 88 | C++11 Feature Support |
| 89 | ^^^^^^^^^^^^^^^^^^^^^ |
| 90 | |
| 91 | ... |
| 92 | |
| 93 | Objective-C Language Changes in Clang |
| 94 | ------------------------------------- |
| 95 | |
| 96 | ... |
| 97 | |
Erik Schnetter | 489700d | 2013-11-11 06:36:33 +0000 | [diff] [blame] | 98 | OpenCL C Language Changes in Clang |
| 99 | ---------------------------------- |
| 100 | |
Bill Wendling | 0a794a4b | 2013-11-20 10:13:37 +0000 | [diff] [blame] | 101 | ... |
Erik Schnetter | 489700d | 2013-11-11 06:36:33 +0000 | [diff] [blame] | 102 | |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 103 | Internal API Changes |
| 104 | -------------------- |
| 105 | |
Bill Wendling | 0a794a4b | 2013-11-20 10:13:37 +0000 | [diff] [blame] | 106 | These are major API changes that have happened since the 3.4 release of |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 107 | Clang. If upgrading an external codebase that uses Clang as a library, |
| 108 | this section should help get you past the largest hurdles of upgrading. |
| 109 | |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 110 | ... |
| 111 | |
Ted Kremenek | 3a2291b | 2013-04-24 07:33:52 +0000 | [diff] [blame] | 112 | libclang |
| 113 | -------- |
| 114 | |
Bill Wendling | 61f44cc | 2013-06-04 06:17:46 +0000 | [diff] [blame] | 115 | ... |
Ted Kremenek | 3a2291b | 2013-04-24 07:33:52 +0000 | [diff] [blame] | 116 | |
Anna Zaks | b6219a9 | 2013-04-25 23:14:38 +0000 | [diff] [blame] | 117 | Static Analyzer |
Ted Kremenek | 004e823 | 2013-04-26 00:01:34 +0000 | [diff] [blame] | 118 | --------------- |
Anna Zaks | b6219a9 | 2013-04-25 23:14:38 +0000 | [diff] [blame] | 119 | |
Bill Wendling | 0a794a4b | 2013-11-20 10:13:37 +0000 | [diff] [blame] | 120 | ... |
Ted Kremenek | 004e823 | 2013-04-26 00:01:34 +0000 | [diff] [blame] | 121 | |
| 122 | Core Analysis Improvements |
| 123 | ========================== |
| 124 | |
Bill Wendling | 61f44cc | 2013-06-04 06:17:46 +0000 | [diff] [blame] | 125 | - ... |
Ted Kremenek | 004e823 | 2013-04-26 00:01:34 +0000 | [diff] [blame] | 126 | |
| 127 | New Issues Found |
| 128 | ================ |
| 129 | |
Bill Wendling | 61f44cc | 2013-06-04 06:17:46 +0000 | [diff] [blame] | 130 | - ... |
Anna Zaks | b6219a9 | 2013-04-25 23:14:38 +0000 | [diff] [blame] | 131 | |
Sean Silva | fe25144 | 2012-12-23 01:19:35 +0000 | [diff] [blame] | 132 | Python Binding Changes |
| 133 | ---------------------- |
| 134 | |
| 135 | The following methods have been added: |
| 136 | |
| 137 | - ... |
| 138 | |
| 139 | Significant Known Problems |
| 140 | ========================== |
| 141 | |
| 142 | Additional Information |
| 143 | ====================== |
| 144 | |
| 145 | A wide variety of additional information is available on the `Clang web |
| 146 | page <http://clang.llvm.org/>`_. The web page contains versions of the |
| 147 | API documentation which are up-to-date with the Subversion version of |
| 148 | the source code. You can access versions of these documents specific to |
| 149 | this release by going into the "``clang/docs/``" directory in the Clang |
| 150 | tree. |
| 151 | |
| 152 | If you have any questions or comments about Clang, please feel free to |
| 153 | contact us via the `mailing |
| 154 | list <http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev>`_. |