[all-commits] [llvm/llvm-project] adc402: Use functions with prototypes when appropriate; NFC
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Tue Feb 15 13:06:59 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: adc402bf3d0565ac2bc7efbdd05f0d846e818041
https://github.com/llvm/llvm-project/commit/adc402bf3d0565ac2bc7efbdd05f0d846e818041
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2022-02-15 (Tue, 15 Feb 2022)
Changed paths:
M clang/test/CodeGen/debug-prefix-map.c
M clang/test/CodeGen/decl-in-prototype.c
M clang/test/CodeGen/decl.c
M clang/test/CodeGen/default-address-space.c
M clang/test/CodeGen/default-function-attr.c
M clang/test/CodeGen/denormalfpmode.c
M clang/test/CodeGen/dependent-lib.c
M clang/test/CodeGen/designated-initializers.c
M clang/test/CodeGen/dllexport-1.c
M clang/test/CodeGen/dllimport.c
M clang/test/CodeGen/dostmt.c
M clang/test/CodeGen/dso-local-executable.c
M clang/test/CodeGen/dump-struct-builtin.c
M clang/test/CodeGen/emit-all-decls.c
M clang/test/CodeGen/emit-summary-index.c
M clang/test/CodeGen/empty-union-init.c
M clang/test/CodeGen/enable_if.c
M clang/test/CodeGen/exceptions-seh-finally.c
M clang/test/CodeGen/exceptions-seh-leave.c
M clang/test/CodeGen/exceptions-seh-nested-finally.c
M clang/test/CodeGen/exceptions-strictfp.c
M clang/test/CodeGen/exceptions.c
M clang/test/CodeGen/exprs-strictfp.c
M clang/test/CodeGen/exprs.c
M clang/test/CodeGen/ext-int-cc.c
M clang/test/CodeGen/ext-int.c
M clang/test/CodeGen/ext-vector-indexing.c
M clang/test/CodeGen/ext-vector.c
M clang/test/CodeGen/extend-arg-64.c
M clang/test/CodeGen/extern-block-var.c
M clang/test/CodeGen/extern-weak.c
M clang/test/CodeGen/flip-dllimport.c
M clang/test/CodeGen/forceinline.c
M clang/test/CodeGen/fpconstrained.c
M clang/test/CodeGen/func-aligned.c
M clang/test/CodeGen/func-in-block.c
M clang/test/CodeGen/func-ptr-cast-decl.c
M clang/test/CodeGen/function-min-vector-width.c
M clang/test/CodeGen/function-sections.c
M clang/test/CodeGen/function-target-features.c
M clang/test/CodeGen/funique-sections.c
M clang/test/CodeGen/global-decls.c
M clang/test/CodeGen/globalinit.c
M clang/test/CodeGen/guard_nocf.c
M clang/test/CodeGen/hexagon-inline-asm-reg-names.c
M clang/test/CodeGen/iamcu-abi.c
M clang/test/CodeGen/ifunc.c
M clang/test/CodeGen/incomplete-function-type-2.c
M clang/test/CodeGen/indirect-goto.c
M clang/test/CodeGen/indirect-tls-seg-refs.c
M clang/test/CodeGen/init-memset.c
M clang/test/CodeGen/init.c
M clang/test/CodeGen/inline-asm-immediate-ubsan.c
M clang/test/CodeGen/inline-asm-intel.c
M clang/test/CodeGen/inline-asm-mixed-style.c
M clang/test/CodeGen/inline-asm-x86-flag-output.c
M clang/test/CodeGen/inline-optim.c
M clang/test/CodeGen/integer-overflow.c
M clang/test/CodeGen/label-array-aggregate-init.c
M clang/test/CodeGen/lanai-arguments.c
M clang/test/CodeGen/lanai-regparm.c
M clang/test/CodeGen/lifetime-debuginfo-1.c
M clang/test/CodeGen/lifetime.c
M clang/test/CodeGen/lifetime2.c
M clang/test/CodeGen/linkage-redecl.c
M clang/test/CodeGen/linker-option.c
M clang/test/CodeGen/loop-info-asan.c
M clang/test/CodeGen/loop-unroll.c
M clang/test/CodeGen/loop-vectorize.c
M clang/test/CodeGen/lto-newpm-pipeline.c
M clang/test/CodeGen/mandel.c
M clang/test/CodeGen/mangle-windows.c
M clang/test/CodeGen/matrix-type-builtins.c
M clang/test/CodeGen/matrix-type.c
M clang/test/CodeGen/mcu-struct-return.c
M clang/test/CodeGen/merge-attrs.c
M clang/test/CodeGen/mips-clobber-reg.c
M clang/test/CodeGen/mips-constraint-regs.c
M clang/test/CodeGen/mips-constraints-mem.c
M clang/test/CodeGen/mips-inline-asm-modifiers.c
M clang/test/CodeGen/mips-type-sizes-int128.c
M clang/test/CodeGen/mips-type-sizes.c
M clang/test/CodeGen/mips-unsigned-ext-var.c
M clang/test/CodeGen/mips-unsigned-extend.c
M clang/test/CodeGen/mips64-f128-literal.c
M clang/test/CodeGen/ms-anonymous-struct.c
M clang/test/CodeGen/ms-barriers-intrinsics.c
M clang/test/CodeGen/ms-declspecs.c
M clang/test/CodeGen/ms-inline-asm-64.c
M clang/test/CodeGen/ms-inline-asm-EVEN.c
M clang/test/CodeGen/ms-inline-asm-align.c
M clang/test/CodeGen/ms-inline-asm-avx512.c
M clang/test/CodeGen/ms-inline-asm-functions.c
M clang/test/CodeGen/ms-inline-asm-static-variable.c
M clang/test/CodeGen/ms-inline-asm-variables.c
M clang/test/CodeGen/ms-inline-asm.c
M clang/test/CodeGen/ms-intrinsics.c
M clang/test/CodeGen/ms-setjmp.c
M clang/test/CodeGen/ms_struct-bitfield-init.c
M clang/test/CodeGen/mult-alt-generic.c
M clang/test/CodeGen/mult-alt-x86.c
M clang/test/CodeGen/named_reg_global.c
M clang/test/CodeGen/no-junk-ftrunc.c
M clang/test/CodeGen/no_profile.c
M clang/test/CodeGen/nobuiltin.c
M clang/test/CodeGen/noexceptionsfpmath.c
M clang/test/CodeGen/noinline.c
M clang/test/CodeGen/nonnull.c
M clang/test/CodeGen/noplt.c
M clang/test/CodeGen/nousejumptable.c
M clang/test/CodeGen/nvptx-inlineasm-ptx.c
M clang/test/CodeGen/object-size.c
M clang/test/CodeGen/openmp_default_simd_align.c
M clang/test/CodeGen/opt-record.c
M clang/test/CodeGen/overloadable.c
M clang/test/CodeGen/override-layout.c
M clang/test/CodeGen/packed-arrays.c
M clang/test/CodeGen/packed-nest-unpacked.c
M clang/test/CodeGen/padding-init.c
M clang/test/CodeGen/partial-reinitialization2.c
M clang/test/CodeGen/pascal-wchar-string.c
M clang/test/CodeGen/pass-object-size.c
M clang/test/CodeGen/patchable-function-entry.c
M clang/test/CodeGen/pr23258.c
M clang/test/CodeGen/pr34021.c
M clang/test/CodeGen/pragma-visibility.c
M clang/test/CodeGen/pragma-weak.c
M clang/test/CodeGen/predefined-expr.c
M clang/test/CodeGen/preserve-call-conv.c
M clang/test/CodeGen/private-extern-redef.c
M clang/test/CodeGen/profile-filter.c
M clang/test/CodeGen/profile-sample-accurate.c
M clang/test/CodeGen/ps4-dllimport-dllexport.c
M clang/test/CodeGen/pseudo-probe-emit.c
M clang/test/CodeGen/redefine_extname.c
M clang/test/CodeGen/regparm-flag.c
M clang/test/CodeGen/regparm-struct.c
M clang/test/CodeGen/renderscript.c
M clang/test/CodeGen/rounding-math.c
M clang/test/CodeGen/sanitize-atomic-int-overflow.c
M clang/test/CodeGen/sanitize-recover.c
M clang/test/CodeGen/sanitizer-module-constructor.c
M clang/test/CodeGen/sanitizer-special-case-list.c
M clang/test/CodeGen/semantic-interposition.c
M clang/test/CodeGen/set-visibility-for-decls.c
M clang/test/CodeGen/setjmp.c
M clang/test/CodeGen/shared-string-literals.c
M clang/test/CodeGen/sparc-arguments.c
M clang/test/CodeGen/sparcv9-abi.c
M clang/test/CodeGen/sparcv9-dwarf.c
M clang/test/CodeGen/split-debug-output.c
M clang/test/CodeGen/split-lto-unit.c
M clang/test/CodeGen/split-stacks.c
M clang/test/CodeGen/stack-arg-probe.c
M clang/test/CodeGen/stack-clash-protection.c
M clang/test/CodeGen/stack-size-section.c
M clang/test/CodeGen/stackrealign.c
M clang/test/CodeGen/static-local-union.c
M clang/test/CodeGen/static-order.c
M clang/test/CodeGen/staticinit.c
M clang/test/CodeGen/string-literal-short-wstring.c
M clang/test/CodeGen/string-literal-unicode-conversion.c
M clang/test/CodeGen/string-literal.c
M clang/test/CodeGen/struct-init.c
M clang/test/CodeGen/struct-union-BE.c
M clang/test/CodeGen/struct.c
M clang/test/CodeGen/switch-dce.c
M clang/test/CodeGen/switch.c
M clang/test/CodeGen/sysv_abi.c
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);
This is the eleventh batch of tests being updated (there are a
significant number of other tests left to be updated).
More information about the All-commits
mailing list