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 | 5352e644b35b2ba67945fbd200fe3ecb5f1a88a5 (patch) | |
tree | 7cc7221658f02db0fc8b9cfa849a468a57fbebd4 | |
parent | 6850acfcbbfd7d9d479309cfede599210dd6a6a0 (diff) | |
download | bcm5719-llvm-5352e644b35b2ba67945fbd200fe3ecb5f1a88a5.tar.gz bcm5719-llvm-5352e644b35b2ba67945fbd200fe3ecb5f1a88a5.zip |
Reference the canonical commit (r175462) in the value casting release note.
llvm-svn: 175971
-rw-r--r-- | clang/docs/ReleaseNotes.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index eeb99983927..504553c17a3 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/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 ^^^^^^^^^^^^ |