From c4dbffa863a7dbe313e2b64a56f4aac5ade268c9 Mon Sep 17 00:00:00 2001
From: Chandler Carruth
Date: Mon, 28 Nov 2011 18:55:47 +0000
Subject: [PATCH] Add proper text for the Diagnostic API changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145257 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/ReleaseNotes.html | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html
index b41e2eb16e..62a959e5a2 100644
--- a/docs/ReleaseNotes.html
+++ b/docs/ReleaseNotes.html
@@ -162,13 +162,6 @@ prose in a section of its own. When doing that, delete the notes.
NRVO for blocks.
Major improvements to the interactions between serializing and
deserializing the AST and the preprocessor -- argiris
- API -- Diagnostics API shuffle:
-
- - Diagnostic became DiagnosticEngine
- - DiagnosticClient became DiagnosticConsumer
- - DiagnosticInfo became Diagnostic
-
-
Major driver and system compatibility changes:
- Correct support for many more hardware architecture pre-defined macros
@@ -202,6 +195,19 @@ prose in a section of its own. When doing that, delete the notes.
Internal API Changes
+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.
+
+Diagnostic class names were shuffled
+
+ Diagnostic
became DiagnosticEngine
+ DiagnosticClient
became DiagnosticConsumer
+ DiagnosticInfo
became Diagnostic
+
+Subclasses of DiagnosticConsumer
were also then renamed to end with
+Consumer
.
+
Significant Known Problems
--
2.50.1