diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-02-23 19:30:31 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-02-23 19:30:31 +0000 |
commit | 04ea68c12578955c125f7df3b58432fcdb28484e (patch) | |
tree | 6366de9315a50a002e386230a8259f744b496e03 /docs/ReleaseNotes.rst | |
parent | a62e561843c1d0ea26044acf91b3a8ccd5b1d12a (diff) | |
download | clang-04ea68c12578955c125f7df3b58432fcdb28484e.tar.gz clang-04ea68c12578955c125f7df3b58432fcdb28484e.tar.bz2 clang-04ea68c12578955c125f7df3b58432fcdb28484e.tar.xz |
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
Diffstat (limited to 'docs/ReleaseNotes.rst')
-rw-r--r-- | docs/ReleaseNotes.rst | 4 |
1 files changed, 3 insertions, 1 deletions
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<T> 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 ^^^^^^^^^^^^ |