forked from OSchip/llvm-project
Reference the canonical commit (r175462) in the value casting release note.
llvm-svn: 175971
This commit is contained in:
parent
6850acfcbb
commit
5352e644b3
|
@ -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
|
||||
^^^^^^^^^^^^
|
||||
|
|
Loading…
Reference in New Issue