We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Cppyy::ResolveType
1 parent 639fdc4 commit bf8374eCopy full SHA for bf8374e
clingwrapper/src/clingwrapper.cxx
@@ -492,6 +492,9 @@ Cppyy::TCppType_t Cppyy::ResolveType(TCppType_t type) {
492
if (Cppyy::GetTypeAsString(type) != "std::byte")
493
return Cpp::GetIntegerTypeFromEnumType(canonType);
494
}
495
+ if (Cpp::HasTypeQualifier(canonType, Cpp::QualKind::Restrict)) {
496
+ return Cpp::RemoveTypeQualifier(canonType, Cpp::QualKind::Restrict);
497
+ }
498
499
return canonType;
500
0 commit comments