From: Chandler Carruth
Date: Mon, 28 Nov 2011 19:06:34 +0000 (+0000)
Subject: Fill in a section for the instantiation -> expansion rename. Not great,
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d727b79b0a1249bed5bd777008096202c91016b;p=clang
Fill in a section for the instantiation -> expansion rename. Not great,
but better.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145258 91177308-0d34-0410-b5e6-96231b3b80d8
---
diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html
index 62a959e5a2..18dedcc136 100644
--- a/docs/ReleaseNotes.html
+++ b/docs/ReleaseNotes.html
@@ -155,8 +155,6 @@ prose in a section of its own. When doing that, delete the notes.
CFI-based debug info -- nlewycky/espindola details
ObjC ARC -- get a blurb from rjmccall
ObjC related result type/instancetype
- API -- The term "instantiation" w.r.t. macros in APIs has been completely
- replaced by the term "expansion".
Thread Safety attributes and correctness analysis added to Clang.
API -- Many opaque typedefs in Sema around AST nodes are gone.
NRVO for blocks.
@@ -199,6 +197,28 @@ 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.
+Switched terminology from "instantiation" to "expansion"
+ for macros
+A great deal of comments and code changes fell out of this, but also every API
+relating to macros with the word "instantiation" (or some variant thereof) was
+renamed. An incomplete list of the most note-worthy ones is here:
+
+ MacroInstantiation
became MacroExpansion
+ SourceManager::getInstantiationLoc
became
+ SourceManager::getExpansionLoc
+ SourceManager::getInstantiationRange
became
+ SourceManager::getExpansionRange
+ SourceManager::getImmediateInstantiationRange
became
+ SourceManager::getImmediateExpansionRange
+ SourceManager::getDecomposedInstantiationLoc
became
+ SourceManager::getDecomposedExpansionLoc
+ SourceManager::getInstantiationColumnNumber
became
+ SourceManager::getExpansionColumnNumber
+ SourceManager::getInstantiationLineNumber
became
+ SourceManager::getExpansionLineNumber
+
+
+
Diagnostic class names were shuffled
Diagnostic
became DiagnosticEngine