mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 14:00:16 +02:00
Library Forwarding: Avoid de-sugaring pointee types
Doing so would accidentally resolve typedefs before. This code isn't needed now that integers are mapped to fixed-size equivalents anyway.
This commit is contained in:
1 parent
a4c1aaa6bc
commit
8e1aaa0559
1 file changed
+1
-1
@@ -429,7 +429,7 @@ void AnalysisAction::ParseInterface(clang::ASTContext& context) {
|
||||
check_struct_type(param_type.getTypePtr());
|
||||
types.emplace(context.getCanonicalType(param_type.getTypePtr()), RepackedType { });
|
||||
} else if (param_type->isPointerType()) {
|
||||
auto pointee_type = param_type->getPointeeType()->getLocallyUnqualifiedSingleStepDesugaredType();
|
||||
auto pointee_type = param_type->getPointeeType();
|
||||
|
||||
if (pointee_type->isIntegerType()) {
|
||||
// Add builtin pointee type to type list
|
||||
|
||||
Reference in new issue
Block a user