-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
38,115 additions
and
28,294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
//This was generated by running cake -autoconfig | ||
//This file was generated reading the variable INCLUDE inside Visual Studio Command Prompt. | ||
//echo %INCLUDE% | ||
#pragma dir "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.40.33807/include/" | ||
#pragma dir "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.40.33807/ATLMFC/include/" | ||
#pragma dir "C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Auxiliary/VS/include/" | ||
#pragma dir "C:/Program Files (x86)/Windows Kits/10/include/10.0.22000.0/ucrt/" | ||
#pragma dir "C:/Program Files (x86)/Windows Kits/10//include/10.0.22000.0//um/" | ||
#pragma dir "C:/Program Files (x86)/Windows Kits/10//include/10.0.22000.0//shared/" | ||
#pragma dir "C:/Program Files (x86)/Windows Kits/10//include/10.0.22000.0//winrt/" | ||
#pragma dir "C:/Program Files (x86)/Windows Kits/10//include/10.0.22000.0//cppwinrt/" | ||
#pragma dir "C:/Program Files (x86)/Windows Kits/NETFXSDK/4.8/include/um/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/* | ||
The objective of this output is to generate a simple yet compatible | ||
version of C89, which can serve as an intermediate language for backends. | ||
*/ | ||
|
||
/*forward declarations*/ | ||
struct _iobuf; | ||
struct __crt_locale_data; | ||
struct __crt_locale_pointers; | ||
struct __crt_multibyte_data; | ||
|
||
|
||
/*declarations*/ | ||
struct _iobuf | ||
{ | ||
void * _Placeholder; | ||
}; | ||
|
||
struct __crt_locale_data; | ||
struct __crt_locale_pointers | ||
{ | ||
struct __crt_locale_data * locinfo; | ||
struct __crt_multibyte_data * mbcinfo; | ||
}; | ||
|
||
struct __crt_multibyte_data; | ||
|
||
|
||
|
||
|
||
int __stdio_common_vfprintf(unsigned __int64 _Options, struct _iobuf * _Stream, char * _Format, struct __crt_locale_pointers * _Locale, char * _ArgList); | ||
|
||
inline unsigned __int64 *__local_stdio_printf_options(void) | ||
{ | ||
static unsigned __int64 _OptionsStorage; | ||
return &_OptionsStorage; | ||
} | ||
inline int _vfprintf_l(struct _iobuf * _Stream, char * _Format, struct __crt_locale_pointers * _Locale, char * _ArgList) | ||
{ | ||
return __stdio_common_vfprintf(( *__local_stdio_printf_options()),_Stream,_Format,_Locale,_ArgList); | ||
} | ||
struct _iobuf *__acrt_iob_func(unsigned int _Ix); | ||
inline int printf(char * _Format, ...) | ||
{ | ||
int _Result; | ||
char * _ArgList; | ||
((void)(_ArgList = (char *)(&(_Format)) + ((sizeof (_Format) + sizeof (int) - 1) & ~(sizeof (int) - 1)))); | ||
_Result = _vfprintf_l((__acrt_iob_func(1)),_Format,((void *)0),_ArgList); | ||
((void)(_ArgList = (char *)0)); | ||
return _Result; | ||
} | ||
int isalnum(int _C); | ||
char *setlocale(int _Category, char * _Locale); | ||
|
||
|
||
int main(void) | ||
{ | ||
unsigned char c = 223; | ||
printf("isalnum('\\xdf') in default C locale returned %d\n", ! !isalnum(c)); | ||
if (setlocale(2,"de_DE.iso88591")) | ||
{ | ||
printf("isalnum('\\xdf') in ISO-8859-1 locale returned %d\n", ! !isalnum(c)); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,9 @@ | ||
#pragma safety enable | ||
enum X : short { | ||
A | ||
}; | ||
|
||
int main() { | ||
enum X x = A; | ||
} | ||
|
||
_Owner int socket(); | ||
void close(_Owner int fd); | ||
|
||
int main() | ||
{ | ||
_Owner int fd; | ||
|
||
fd = socket(); | ||
if (fd < 0) | ||
{ | ||
static_set(fd, "null"); | ||
static_debug(fd); | ||
return 1; | ||
} | ||
close(fd); | ||
} |
Oops, something went wrong.