Aaron Ballman
1c2558021c
Use functions with prototypes when appropriate; NFC
...
A significant number of our tests in C accidentally use functions
without prototypes. This patch converts the function signatures to have
a prototype for the situations where the test is not specific to K&R C
declarations. e.g.,
void func();
becomes
void func(void);
This is the final batch of tests being updated to add prototypes,
hopefully.
2022-02-24 15:30:13 -05:00
Zahira Ammarguellat
1592d88aa7
Add support for floating-point option `ffp-eval-method` and for
...
`pragma clang fp eval_method`.
Differential Revision: https://reviews.llvm.org/D109239
2022-02-23 15:00:18 -08:00
Florian Hahn
09193f20a1
Revert "Add support for floating-point option `ffp-eval-method` and for"
...
This reverts commit 32b73bc6ab
.
This breaks builds on macOS in some configurations, because
__FLT_EVAL_METHOD__ is set to an unexpected value.
E.g.
https://green.lab.llvm.org/green/job/clang-stage1-RA/28282/consoleFull#129538464349ba4694-19c4-4d7e-bec5-911270d8a58c
More details available in the review thread
https://reviews.llvm.org/D109239
2022-02-18 11:04:00 +00:00
Zahira Ammarguellat
32b73bc6ab
Add support for floating-point option `ffp-eval-method` and for
...
`pragma clang fp eval_method`.
https://reviews.llvm.org/D109239
2022-02-17 08:59:21 -08:00
Nico Weber
125abb61f7
Revert "Add support for floating-point option `ffp-eval-method` and for"
...
This reverts commit 4bafe65c2b
.
Breaks at least Misc/warning-flags.c, see comments on
https://reviews.llvm.org/D109239
2022-02-15 22:02:25 -05:00
Zahira Ammarguellat
4bafe65c2b
Add support for floating-point option `ffp-eval-method` and for
...
`pragma clang fp eval_method`.
2022-02-15 13:59:27 -08:00