Revert "[clang] use getCommonSugar in an assortment of places"

This reverts commit aff1f6310e5f4cea92c4504853d5fd824754a74f.
This commit is contained in:
Matheus Izvekov
2022-09-16 12:03:34 +02:00
parent aff1f6310e
commit 1d1a98e9a0
23 changed files with 159 additions and 222 deletions

View File

@@ -10,7 +10,7 @@ void func_1(void)
struct S0 l_19;
l_19.f2 = 419;
uint32_t l_4037 = 4294967295UL;
l_19.f2 = g_463; //%self.expect("expr ((l_4037 % (-(g_463))) | l_19.f2)", substrs=['(uint32_t) $0 = 358717883'])
l_19.f2 = g_463; //%self.expect("expr ((l_4037 % (-(g_463))) | l_19.f2)", substrs=['(unsigned int) $0 = 358717883'])
}
int main()
{

View File

@@ -3,6 +3,6 @@ int main(void)
__int128_t n = 1;
n = n + n;
return n; //%self.expect("p n", substrs=['(__int128_t) $0 = 2'])
//%self.expect("p n + 6", substrs=['(__int128_t) $1 = 8'])
//%self.expect("p n + n", substrs=['(__int128_t) $2 = 4'])
//%self.expect("p n + 6", substrs=['(__int128) $1 = 8'])
//%self.expect("p n + n", substrs=['(__int128) $2 = 4'])
}