Aaron Ballman
1ea584377e
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 ninth batch of tests being updated (there are a
significant number of other tests left to be updated).
2022-02-13 08:03:40 -05:00
Michael Benfield
cf49cae278
[Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable
...
These are intended to mimic warnings available in gcc.
Differential Revision: https://reviews.llvm.org/D100581
2021-06-01 15:38:48 -07:00
Arthur Eubanks
3a0b6dc3e8
Revert "[Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable"
...
This reverts commit 14dfb3831c
.
More false positives, see D100581.
2021-05-17 12:16:10 -07:00
Michael Benfield
14dfb3831c
[Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable
...
These are intended to mimic warnings available in gcc.
Reviewed By: aeubanks
Differential Revision: https://reviews.llvm.org/D100581
2021-05-17 11:02:26 -07:00
Eric Christopher
85e5156598
Migrate most of the rest of test/FrontendC from llvm and migrate
...
most of them to FileCheck.
llvm-svn: 136159
2011-07-26 22:17:02 +00:00