[cfe-commits] r145257 - /cfe/trunk/docs/ReleaseNotes.html

Chandler Carruth chandlerc at gmail.com
Mon Nov 28 10:55:47 PST 2011


Author: chandlerc
Date: Mon Nov 28 12:55:47 2011
New Revision: 145257

URL: http://llvm.org/viewvc/llvm-project?rev=145257&view=rev
Log:
Add proper text for the Diagnostic API changes.

Modified:
    cfe/trunk/docs/ReleaseNotes.html

Modified: cfe/trunk/docs/ReleaseNotes.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ReleaseNotes.html?rev=145257&r1=145256&r2=145257&view=diff
==============================================================================
--- cfe/trunk/docs/ReleaseNotes.html (original)
+++ cfe/trunk/docs/ReleaseNotes.html Mon Nov 28 12:55:47 2011
@@ -162,13 +162,6 @@
   <li>NRVO for blocks.</li>
   <li>Major improvements to the interactions between serializing and
   deserializing the AST and the preprocessor -- argiris</li>
-  <li>API -- Diagnostics API shuffle:
-    <ul>
-      <li>Diagnostic became DiagnosticEngine</li>
-      <li>DiagnosticClient became DiagnosticConsumer</li>
-      <li>DiagnosticInfo became Diagnostic</li>
-    </ul>
-  </li>
   <li>Major driver and system compatibility changes:
     <ul>
       <li>Correct support for many more hardware architecture pre-defined macros
@@ -202,6 +195,19 @@
 <h3 id="apichanges">Internal API Changes</h3>
 <!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
 
+These are major API changes that have happened since the 2.9 release of Clang.
+If upgrading an external codebase that uses Clang as a library, this section
+should help get you past the largest hurdles of upgrading.
+
+<h4 id="diagnosticrename">Diagnostic class names were shuffled</h4>
+<ul>
+  <li><code>Diagnostic</code> became <code>DiagnosticEngine</code></li>
+  <li><code>DiagnosticClient</code> became <code>DiagnosticConsumer</code></li>
+  <li><code>DiagnosticInfo</code> became <code>Diagnostic</code></li>
+</ul>
+Subclasses of <code>DiagnosticConsumer</code> were also then renamed to end with
+<code>Consumer</code>.
+
 <!-- ======================================================================= -->
 <h2 id="knownproblems">Significant Known Problems</h2>
 <!-- ======================================================================= -->





More information about the cfe-commits mailing list