mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-05 17:30:27 +00:00
wip on intellisense (again)
This commit is contained in:
parent
9841e2186a
commit
7642710155
18 changed files with 242 additions and 52 deletions
57
.vscode/c_cpp_properties.json
vendored
57
.vscode/c_cpp_properties.json
vendored
|
@ -8,19 +8,9 @@
|
|||
"cStandard": "c11",
|
||||
"cppStandard": "c++11",
|
||||
"compilerPath": "${workspaceFolder}/o/third_party/gcc/bin/x86_64-linux-musl-gcc",
|
||||
"forcedInclude": ["${workspaceFolder}/.vscode/vscode.h"],
|
||||
"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)",
|
||||
|
@ -28,12 +18,34 @@
|
|||
"artificial=",
|
||||
"nodiscard=",
|
||||
"mayalias=",
|
||||
"_Vector_size(x)=",
|
||||
"forceinline=",
|
||||
"forcealign(x)=",
|
||||
"scanfesque(x)=",
|
||||
"strftimeesque(x)=",
|
||||
"wontreturn=",
|
||||
"textreal=",
|
||||
"mallocesque=",
|
||||
"callocesque=",
|
||||
"vallocesque=",
|
||||
"reallocesque=",
|
||||
"strlenesque=",
|
||||
"memcpyesque=",
|
||||
"hasatleast=",
|
||||
"noinline=",
|
||||
"textexit=",
|
||||
"returnstwice=",
|
||||
"textwindows=",
|
||||
"privileged=",
|
||||
"compatfn=",
|
||||
"noinstrument=",
|
||||
"nodebuginfo=",
|
||||
"interruptfn=",
|
||||
"optimizespeed=",
|
||||
"forcealignargpointer=",
|
||||
"noasan=",
|
||||
"noubsan=",
|
||||
"testonly=",
|
||||
"donothing=",
|
||||
"nosideeffect=",
|
||||
"unreachable=",
|
||||
"thatispacked=",
|
||||
|
@ -47,28 +59,9 @@
|
|||
"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"
|
||||
"nullterminated(x)="
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue