[PATCH] D123901: [LLVM][Casting.h] Update dyn_cast machinery to provide more control over how the casting is performed.
Sheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 9 06:29:31 PDT 2022
0x59616e added a comment.
In D123901#3709642 <https://reviews.llvm.org/D123901#3709642>, @whisperity wrote:
> I got here from D131319 <https://reviews.llvm.org/D131319>, but I am not sure why this change is only touching comments but not the hand-written documentation. Is this `CastInfo` an internal detail that should not be publicly documented to the everyday documentation reader? Are the old-style "classof" method and enums still applicable?
The old style classof is still valid.
Here is the document about the new CastInfo :
https://llvm.org/docs/HowToSetUpLLVMStyleRTTI.html#advanced-use-cases
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123901/new/
https://reviews.llvm.org/D123901
More information about the llvm-commits
mailing list