[clang] [clang][NFC] Add documentation for `CastExpr::path()`. (PR #85623)

via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 19 00:31:31 PDT 2024


================
@@ -3552,6 +3552,15 @@ class CastExpr : public Expr {
   /// function that it invokes.
   NamedDecl *getConversionFunction() const;
 
+  /// Path through the class hierarchy taken by a `DerivedToBase` or
+  /// `UncheckedDerivedToBase` cast. For each derived-to-base edge in the path,
+  /// the path contains a `CXXBaseSpecifier` for the base class of that edge;
+  /// the entries are ordered from derived class to base class.
----------------
martinboehme wrote:

Thanks for pointing this out! I've fixed this -- WDYT?

https://github.com/llvm/llvm-project/pull/85623


More information about the cfe-commits mailing list