diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2022-02-09 09:10:10 -0500 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2022-02-09 09:11:49 -0500 |
| commit | 25098736c1b6a716711a64fa45f7f34ccdbef6d1 (patch) | |
| tree | bf9617c94e3f97bca0c16a18095cd9cf8c011d49 /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | 6be7c21b57e4a45b012209974ab9038b679134f5 (diff) | |
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 fifth batch of tests being updated (there are a significant
number of other tests left to be updated).
Note, the behavior of -ast-print is broken. It prints functions with a
prototype (void) as if they have no prototype () in C. Some tests need
to disable strict prototype checking when recompiling the results of an
-ast-print invocation.
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
