================ @@ -3636,6 +3636,10 @@ class IsTypeDeclaredInsideVisitor return {}; } + std::optional<bool> VisitUnaryTransformType(const UnaryTransformType *T) { + return CheckType(T->getBaseType()); ---------------- mizvekov wrote:
Strictly speaking, you only need to visit the base type if the `UnaryTransformType` is not sugared, which currently is the same as being dependent. Otherwise previous CheckType should have already stepped through it. https://github.com/llvm/llvm-project/pull/101517 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits