mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-02 16:00:30 +00:00
wip vscode intellisense support
This commit is contained in:
parent
3ab76b2312
commit
9841e2186a
5 changed files with 92 additions and 2 deletions
76
.vscode/c_cpp_properties.json
vendored
Normal file
76
.vscode/c_cpp_properties.json
vendored
Normal file
|
@ -0,0 +1,76 @@
|
|||
{
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Linux",
|
||||
"includePath": [
|
||||
"${workspaceFolder}"
|
||||
],
|
||||
"cStandard": "c11",
|
||||
"cppStandard": "c++11",
|
||||
"compilerPath": "${workspaceFolder}/o/third_party/gcc/bin/x86_64-linux-musl-gcc",
|
||||
"defines": [
|
||||
"__VSCODE_INTELLISENSE__",
|
||||
"__BIGGEST_ALIGNMENT__",
|
||||
"__SHRT_MAX__",
|
||||
"__DBL_MIN__",
|
||||
"__UINT32_MAX__",
|
||||
"NULL=(void*)0",
|
||||
"true",
|
||||
"false=(!(true))",
|
||||
"COSMOPOLITAN_C_START_=",
|
||||
"COSMOPOLITAN_C_END_=",
|
||||
"libcesque=",
|
||||
"mallocesque=",
|
||||
"pureconst=",
|
||||
"paramsnonnull(x)=",
|
||||
"alignas(x)",
|
||||
"alignof(x)",
|
||||
"artificial=",
|
||||
"nodiscard=",
|
||||
"mayalias=",
|
||||
"_Vector_size(x)=",
|
||||
"forceinline=",
|
||||
"forcealign(x)=",
|
||||
"wontreturn=",
|
||||
"textreal=",
|
||||
"vallocesque=",
|
||||
"nosideeffect=",
|
||||
"unreachable=",
|
||||
"thatispacked=",
|
||||
"nothrow=",
|
||||
"nocallback=",
|
||||
"relegated=",
|
||||
"hidden=",
|
||||
"textstartup=",
|
||||
"initarray=",
|
||||
"returnsnonnull=",
|
||||
"returnspointerwithnoaliases=",
|
||||
"printfesque(x)=",
|
||||
"attributeallocsize(x)=",
|
||||
"va_list=void*",
|
||||
"returnsaligned(x)=",
|
||||
"attributeallocalign(x)=",
|
||||
"nullterminated(x)=",
|
||||
"PAGESIZE",
|
||||
"g_loglevel",
|
||||
"int8_t=signed char",
|
||||
"int16_t=signed short int",
|
||||
"int32_t=signed int",
|
||||
"int64_t=signed long long",
|
||||
"uint8_t=unsigned char",
|
||||
"uint16_t=unsigned short int",
|
||||
"uint32_t=unsigned int",
|
||||
"uint64_t=unsigned long long",
|
||||
"errno_t=int",
|
||||
"size_t=uint64_t",
|
||||
"ssize_t=int64_t",
|
||||
"uintptr_t=uint64_t",
|
||||
"intptr_t=int64_t",
|
||||
"bool=uint8_t",
|
||||
"char16_t=uint16_t",
|
||||
"char32_t=uint32_t"
|
||||
]
|
||||
}
|
||||
],
|
||||
"version": 4
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue