[PATCH] D126943: [LLVM][Docs] Update for HowToSetUpLLVMStyleRTTI.rst, NFC.

Chris Lattner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 22:03:07 PDT 2022


lattner accepted this revision.
lattner added a comment.
This revision is now accepted and ready to land.

nice, thank you!  You might want to ping llvm weekly about this, casting.h is pretty widely used



================
Comment at: llvm/docs/HowToSetUpLLVMStyleRTTI.rst:546
+When your types are not constructible from ``nullptr`` or there isn't a simple
+way to tell when an object is invalid, you may want to use llvm::Optional.
+In those cases, you probably want something like this:
----------------
backticks around `llvm::Optional`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126943/new/

https://reviews.llvm.org/D126943



More information about the llvm-commits mailing list