================ @@ -129,19 +215,19 @@ auto inPlaceClass() { auto isOptionalNulloptConstructor() { return cxxConstructExpr( - hasOptionalType(), + hasOptionalOrDerivedType(), ---------------- martinboehme wrote: Done. https://github.com/llvm/llvm-project/pull/84138