From: David Blaikie Date: Sat, 23 Feb 2013 19:30:31 +0000 (+0000) Subject: Reference the canonical commit (r175462) in the value casting release note. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04ea68c12578955c125f7df3b58432fcdb28484e;p=clang Reference the canonical commit (r175462) in the value casting release note. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175971 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index eeb9998392..504553c17a 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -108,7 +108,9 @@ instead of pointers or references - "T castAs" and "Optional getAs" (in the case of the TypeLoc hierarchy the latter is "T getAs" and you can use the boolean testability of a TypeLoc (or its 'validity') to verify that the cast succeeded). Essentially all previous 'cast' usage should be replaced with -'castAs' and 'dyn_cast' should be replaced with 'getAs'. +'castAs' and 'dyn_cast' should be replaced with 'getAs'. See r175462 for the +first example of such a change along with many examples of how code was +migrated to the new API. API change 1 ^^^^^^^^^^^^