@@ -78,7 +78,7 @@ module C-CONVERSION
7878 => tv(V, castTypes(T', T))
7979 requires T' =/=Type T andBool notBool isBoolUType(T') andBool intInRange(V, T')
8080
81- rule cast(integerUType #as T'::UType, tv(encodedPtr(L:SymLoc, N::Int, M::Int), integerUType #as T ::UType))
81+ rule cast(integerUType #as T'::UType, tv(encodedPtr(L:SymLoc, N::Int, M::Int), integerUType #as _T ::UType))
8282 => tv(encodedPtr(L, N, M), T')
8383 requires notBool isBoolUType(T')
8484 andBool M -Int N <=Int bitSizeofType(T')
@@ -272,7 +272,7 @@ module C-CONVERSION
272272 a trap representation.
273273 }*/
274274 rule (.K => IMPL("CCV13", "Conversion from an integer to non-null pointer."))
275- ~> cast(ut(... st: pointerType(_)) #as T '::UType, tv(V:CValue, integerUType #as T::UType))
275+ ~> cast(ut(... st: pointerType(_)) #as _T '::UType, tv(V:CValue, integerUType #as T::UType))
276276 requires notBool isNullPointerConstant(tv(V, T))
277277
278278 /*@ \fromStandard{\source[n1570]{\para{6.3.2.3}{6}}}{
@@ -348,11 +348,11 @@ module C-CONVERSION
348348 [structural]
349349 rule (.K => UNDEF("CCV14",
350350 "Conversion of a function pointer to object pointer type."))
351- ~> cast(ut(_, pointerType(T'::Type)), tv(Loc :SymLoc, ut(_, pointerType(T::Type))))
351+ ~> cast(ut(_, pointerType(T'::Type)), tv(_Loc :SymLoc, ut(_, pointerType(T::Type))))
352352 requires isFunctionType(T) andBool notBool isFunctionType(T')
353353 [structural]
354354 rule (.K => lintCastingAwayQuals())
355- ~> cast(ut(_, pointerType(T'::Type)), tv(Loc :SymLoc, ut(_, pointerType(T::Type => addQualifiers(getQualifiers(T'), stripQualifiers(T))))))
355+ ~> cast(ut(_, pointerType(T'::Type)), tv(_Loc :SymLoc, ut(_, pointerType(T::Type => addQualifiers(getQualifiers(T'), stripQualifiers(T))))))
356356 requires getQualifiers(T) >Quals getQualifiers(T')
357357 [structural]
358358
0 commit comments