File tree Expand file tree Collapse file tree
csharp/ql/src/semmle/code/csharp/ir Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55private import internal.IRTypeInternal
66
7+ cached
78private newtype TIRType =
89 TIRVoidType ( ) or
910 TIRUnknownType ( ) or
Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ private IRType getIRTypeForPRValue(Type type) {
144144
145145string getOpaqueTagIdentityString ( Type tag ) { result = tag .getQualifiedName ( ) }
146146
147+ cached
147148private newtype TCSharpType =
148149 TPRValueType ( Type type ) { exists ( getIRTypeForPRValue ( type ) ) } or
149150 TGLValueAddressType ( Type type ) { any ( ) } or
@@ -163,6 +164,7 @@ class CSharpType extends TCSharpType {
163164 * Gets the `IRType` that represents this `CSharpType`. Many different `CSharpType`s can map to a
164165 * single `IRType`.
165166 */
167+ cached
166168 abstract IRType getIRType ( ) ;
167169
168170 /**
You can’t perform that action at this time.
0 commit comments