[all-commits] [llvm/llvm-project] 0e8909: Use functions with prototypes when appropriate; NFC
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Thu Mar 31 10:45:57 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0e890904ea342aba088ed2a55b537ffdb0562234
https://github.com/llvm/llvm-project/commit/0e890904ea342aba088ed2a55b537ffdb0562234
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2022-03-31 (Thu, 31 Mar 2022)
Changed paths:
M clang/test/Parser/opencl-atomics-cl20.cl
M clang/test/Parser/vector-cast-define.cl
M clang/test/Preprocessor/macro_variadic.cl
M clang/test/Sema/builtins.cl
M clang/test/SemaOpenCL/address-spaces-conversions-cl2.0.cl
M clang/test/SemaOpenCL/clang-builtin-version.cl
M clang/test/SemaOpenCL/clk_event_t.cl
M clang/test/SemaOpenCL/fdeclare-opencl-builtins.cl
M clang/test/SemaOpenCL/invalid-assignment-constant-address-space.cl
M clang/test/SemaOpenCL/invalid-pipe-builtin-cl2.0.cl
M clang/test/SemaOpenCL/invalid-pipes-cl1.2.cl
M clang/test/SemaOpenCL/sampler_t.cl
M clang/test/SemaOpenCL/shifts.cl
M clang/test/SemaOpenCL/storageclass-cl20.cl
M clang/test/SemaOpenCL/storageclass.cl
M clang/test/SemaOpenCL/vec_compare.cl
M clang/test/SemaOpenCL/vector_inc_dec_ops.cl
M clang/test/SemaOpenCL/vector_swizzle_length.cl
Log Message:
-----------
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);
More information about the All-commits
mailing list