[libc] add atof, strtof and strtod · llvm/llvm-project@87c0160 (original) (raw)

`@@ -495,6 +495,7 @@ def StdC : StandardSpec<"stdc"> {

`

495

495

` FunctionSpec<"labs", RetValSpec, [ArgSpec]>,

`

496

496

` FunctionSpec<"llabs", RetValSpec, [ArgSpec]>,

`

497

497

``

``

498

`+

FunctionSpec<"atof", RetValSpec, [ArgSpec]>,

`

498

499

` FunctionSpec<"atoi", RetValSpec, [ArgSpec]>,

`

499

500

` FunctionSpec<"atol", RetValSpec, [ArgSpec]>,

`

500

501

` FunctionSpec<"atoll", RetValSpec, [ArgSpec]>,

`

`@@ -505,6 +506,8 @@ def StdC : StandardSpec<"stdc"> {

`

505

506

``

506

507

` FunctionSpec<"qsort", RetValSpec, [ArgSpec, ArgSpec, ArgSpec, ArgSpec]>,

`

507

508

``

``

509

`+

FunctionSpec<"strtod", RetValSpec, [ArgSpec, ArgSpec]>,

`

``

510

`+

FunctionSpec<"strtof", RetValSpec, [ArgSpec, ArgSpec]>,

`

508

511

` FunctionSpec<"strtol", RetValSpec, [ArgSpec, ArgSpec, ArgSpec]>,

`

509

512

` FunctionSpec<"strtoll", RetValSpec, [ArgSpec, ArgSpec, ArgSpec]>,

`

510

513

` FunctionSpec<"strtoul", RetValSpec, [ArgSpec, ArgSpec, ArgSpec]>,

`