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.
2 parents 9dd861b + 5385027 commit 66ec2fdCopy full SHA for 66ec2fd
include/swift/SIL/SILType.h
@@ -158,6 +158,11 @@ class SILType {
158
return SILType(getSwiftRValueType(), SILValueCategory::Object);
159
}
160
161
+ /// Returns the canonical AST type referenced by this SIL type.
162
+ CanType getASTType() const {
163
+ return getSwiftRValueType();
164
+ }
165
+
166
/// Returns the Swift type referenced by this SIL type.
167
CanType getSwiftRValueType() const {
168
return CanType(value.getPointer());
0 commit comments