Desugar UnaryTransformType
This fixes PyROOT's handling of smart pointers, such as shared_ptr, with the new macOS SDK 14.0 resulting in a remove_extent transform.
This commit is contained in:
parent
f636e21faa
commit
3d5ba159c6
@ -788,13 +788,12 @@ namespace utils {
|
||||
return false;
|
||||
}
|
||||
case Type::UnaryTransform: {
|
||||
const UnaryTransformType* Ty = llvm::cast<UnaryTransformType>(QTy);
|
||||
if (Ty->isSugared()) {
|
||||
QT = Ty->desugar();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
//const UnaryTransformType* Ty = llvm::cast<UnaryTransformType>(QTy);
|
||||
//if (Ty->isSugared()) {
|
||||
// QT = Ty->desugar();
|
||||
// return true;
|
||||
//}
|
||||
//return false;
|
||||
}
|
||||
case Type::Auto: {
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user