--------------------------------------------------------------
| 110 | |
| 111 | // -------------------------------------------------------------- |
| 112 | static string |
| 113 | GenerateRandomIntConstant(void) |
| 114 | { |
| 115 | string val; |
| 116 | // Int constant - Max 8 Hex digits on 32-bit platforms |
| 117 | if (CGOptions::ccomp() || !CGOptions::longlong()) |
| 118 | val = "0x" + RandomHexDigits( 8 ); |
| 119 | else |
| 120 | val = "0x" + RandomHexDigits( 8 ) + "L"; |
| 121 | |
| 122 | return val; |
| 123 | } |
| 124 | |
| 125 | // -------------------------------------------------------------- |
| 126 | static string |
no test coverage detected