[all-commits] [llvm/llvm-project] 1ea584: A significant number of our tests in C accidentall...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Sun Feb 13 05:04:01 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ea584377e7897f7df5302ed9cd378d17be14fbf
      https://github.com/llvm/llvm-project/commit/1ea584377e7897f7df5302ed9cd378d17be14fbf
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2022-02-13 (Sun, 13 Feb 2022)

  Changed paths:
    M clang/test/Analysis/Inputs/expected-plists/unix-fns.c.plist
    M clang/test/Analysis/exploded-graph-rewriter/escapes.c
    M clang/test/Analysis/exploded-graph-rewriter/macros.c
    M clang/test/Analysis/expr-inspection-printState-diseq-info.c
    M clang/test/Analysis/expr-inspection-printState-eq-classes.c
    M clang/test/Analysis/expr-inspection.c
    M clang/test/Analysis/fields.c
    M clang/test/Analysis/flexible-array-members.c
    M clang/test/Analysis/flexignore.c
    M clang/test/Analysis/free.c
    M clang/test/Analysis/fuchsia_lock.c
    M clang/test/Analysis/fuchsia_lock_impl.c
    M clang/test/Analysis/func.c
    M clang/test/Analysis/gcdantipatternchecker_test.m
    M clang/test/Analysis/generics.m
    M clang/test/Analysis/global-region-invalidation.c
    M clang/test/Analysis/gmalloc.c
    M clang/test/Analysis/hangs.c
    M clang/test/Analysis/html-diag-singlefile.c
    M clang/test/Analysis/html-diag-singlefile.h
    M clang/test/Analysis/html-diags-analyze-headers.h
    M clang/test/Analysis/html-diags-multifile.c
    M clang/test/Analysis/html-diags.c
    M clang/test/Analysis/html_diagnostics/relevant_lines/notexecutedlines.c
    M clang/test/Analysis/html_diagnostics/td-hotfix.c
    M clang/test/Analysis/html_diagnostics/variable-popups-macro.c
    M clang/test/Analysis/html_diagnostics/variable-popups-multiple.c
    M clang/test/Analysis/html_diagnostics/variable-popups-simple.c
    M clang/test/Analysis/index-type.c
    M clang/test/Analysis/initialization.c
    M clang/test/Analysis/inline-not-supported.c
    M clang/test/Analysis/inline-plist.c
    M clang/test/Analysis/inline-unique-reports.c
    M clang/test/Analysis/inline.c
    M clang/test/Analysis/inline2.c
    M clang/test/Analysis/inline3.c
    M clang/test/Analysis/inlining/InlineObjCClassMethod.m
    M clang/test/Analysis/inlining/InlineObjCInstanceMethod.m
    M clang/test/Analysis/inlining/ObjCDynTypePopagation.m
    M clang/test/Analysis/inlining/RetainCountExamples.m
    M clang/test/Analysis/inlining/analysis-order.c
    M clang/test/Analysis/inlining/eager-reclamation-path-notes.c
    M clang/test/Analysis/inlining/false-positive-suppression.c
    M clang/test/Analysis/inlining/false-positive-suppression.m
    M clang/test/Analysis/inlining/inline-defensive-checks.m
    M clang/test/Analysis/inlining/path-notes.c
    M clang/test/Analysis/inlining/path-notes.m
    M clang/test/Analysis/inlining/test-always-inline-size-option.c
    M clang/test/Analysis/invalid-a-na-ly-zer-con-fig-value.c
    M clang/test/Analysis/invalid-analyzer-config-value.c
    M clang/test/Analysis/invalid-checker-option.c
    M clang/test/Analysis/invalid-deref.c
    M clang/test/Analysis/ivars.m
    M clang/test/Analysis/keychainAPI-diagnostic-visitor.m
    M clang/test/Analysis/keychainAPI.m
    M clang/test/Analysis/kmalloc-linux.c
    M clang/test/Analysis/live-variables.m
    M clang/test/Analysis/localization-aggressive.m
    M clang/test/Analysis/localization.m
    M clang/test/Analysis/logical-ops.c
    M clang/test/Analysis/loop-block-counts.c
    M clang/test/Analysis/loop-widening.c
    M clang/test/Analysis/main.c
    M clang/test/Analysis/malloc-annotations.c
    M clang/test/Analysis/malloc-custom.c
    M clang/test/Analysis/malloc-fnptr-plist.c
    M clang/test/Analysis/malloc-interprocedural.c
    M clang/test/Analysis/malloc-overflow.c
    M clang/test/Analysis/malloc-plist.c
    M clang/test/Analysis/malloc-protoype.c
    M clang/test/Analysis/malloc-sizeof.c
    M clang/test/Analysis/malloc-three-arg.c
    M clang/test/Analysis/malloc.c
    M clang/test/Analysis/malloc.m
    M clang/test/Analysis/max-nodes-suppress-on-sink.c
    M clang/test/Analysis/misc-ps-arm.m
    M clang/test/Analysis/misc-ps-eager-assume.m
    M clang/test/Analysis/misc-ps-region-store-i386.m
    M clang/test/Analysis/misc-ps-region-store-x86_64.m
    M clang/test/Analysis/misc-ps-region-store.m
    M clang/test/Analysis/misc-ps.c
    M clang/test/Analysis/misc-ps.m
    M clang/test/Analysis/mmap-writeexec.c
    M clang/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m
    M clang/test/Analysis/no-outofbounds.c
    M clang/test/Analysis/non-diagnosable-assumptions.c
    M clang/test/Analysis/nonnull.m
    M clang/test/Analysis/null-deref-path-notes.c
    M clang/test/Analysis/null-deref-path-notes.m
    M clang/test/Analysis/null-deref-ps-region.c
    M clang/test/Analysis/null-deref-ps.c
    M clang/test/Analysis/null-deref-static.m
    M clang/test/Analysis/nullability.m
    M clang/test/Analysis/objc-arc.m
    M clang/test/Analysis/objc-bool.m
    M clang/test/Analysis/objc-boxing.m
    M clang/test/Analysis/objc-for.m
    M clang/test/Analysis/objc-indirect-copy-restore.m
    M clang/test/Analysis/objc-message.m
    M clang/test/Analysis/objc-method-coverage.m
    M clang/test/Analysis/objc-radar17039661.m
    M clang/test/Analysis/offsetofexpr-callback.c
    M clang/test/Analysis/openmp-unsupported.c
    M clang/test/Analysis/out-of-bounds-false-positive.c
    M clang/test/Analysis/out-of-bounds.c
    M clang/test/Analysis/outofbound.c
    M clang/test/Analysis/padding_c.c
    M clang/test/Analysis/plist-html-macros.c
    M clang/test/Analysis/plist-macros-with-expansion-ctu.c
    M clang/test/Analysis/plist-macros-with-expansion.c
    M clang/test/Analysis/plist-output-alternate.m
    M clang/test/Analysis/plist-output.m
    M clang/test/Analysis/plist-stats-output.c
    M clang/test/Analysis/pointer-arithmetic.c
    M clang/test/Analysis/pointer-escape-on-conservative-calls.c
    M clang/test/Analysis/pr22954.c
    M clang/test/Analysis/pr_4164.c
    M clang/test/Analysis/properties.m
    M clang/test/Analysis/pthreadlock_state.c
    M clang/test/Analysis/pthreadlock_state_nottracked.c
    M clang/test/Analysis/ptr-arith.c
    M clang/test/Analysis/range_casts.c
    M clang/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m
    M clang/test/Analysis/redefined_system.c
    M clang/test/Analysis/region-store.c
    M clang/test/Analysis/retain-release-arc.m
    M clang/test/Analysis/retain-release-cf-audited.m
    M clang/test/Analysis/retain-release-compound-literal.m
    M clang/test/Analysis/retain-release-inline.m
    M clang/test/Analysis/retain-release-path-notes.m
    M clang/test/Analysis/retain-release-region-store.m
    M clang/test/Analysis/retain-release-safe.c
    M clang/test/Analysis/retain-release.m
    M clang/test/Analysis/security-syntax-checks-no-emit.c
    M clang/test/Analysis/security-syntax-checks.m
    M clang/test/Analysis/simple-stream-checks.c
    M clang/test/Analysis/solver-sym-simplification-adjustment.c
    M clang/test/Analysis/solver-sym-simplification-concreteint.c
    M clang/test/Analysis/solver-sym-simplification-no-crash2.c
    M clang/test/Analysis/solver-sym-simplification-with-proper-range-type.c
    M clang/test/Analysis/stack-addr-ps.c
    M clang/test/Analysis/stackaddrleak.c
    M clang/test/Analysis/static_local.m
    M clang/test/Analysis/stats.c
    M clang/test/Analysis/std-c-library-functions-POSIX-lookup.c
    M clang/test/Analysis/std-c-library-functions-POSIX.c
    M clang/test/Analysis/std-c-library-functions-arg-constraints-tracking-notes.c
    M clang/test/Analysis/std-c-library-functions-arg-constraints.c
    M clang/test/Analysis/std-c-library-functions-arg-weakdeps.c
    M clang/test/Analysis/std-c-library-functions-lookup.c
    M clang/test/Analysis/std-c-library-functions-restrict.c
    M clang/test/Analysis/std-c-library-functions.c
    M clang/test/Analysis/stream-error.c
    M clang/test/Analysis/stream-note.c
    M clang/test/Analysis/stream.c
    M clang/test/Analysis/string-with-signedness.c
    M clang/test/Analysis/string.c
    M clang/test/Analysis/sval-dump-int128.c
    M clang/test/Analysis/svalbuilder-float-cast.c
    M clang/test/Analysis/svalbuilder-logic.c
    M clang/test/Analysis/svalbuilder-rearrange-comparisons.c
    M clang/test/Analysis/switch-case.c
    M clang/test/Analysis/symbol-reaper.c
    M clang/test/Analysis/taint-diagnostic-visitor.c
    M clang/test/Analysis/taint-dumps.c
    M clang/test/Analysis/taint-generic.c
    M clang/test/Analysis/taint-tester.c
    M clang/test/Analysis/test-after-div-zero.c
    M clang/test/Analysis/test-include.c
    M clang/test/Analysis/track-control-dependency-conditions.m
    M clang/test/Analysis/transparent_union_bug.c
    M clang/test/Analysis/traversal-begin-end-function.c
    M clang/test/Analysis/traversal-path-unification.c
    M clang/test/Analysis/trustnonnullchecker_test.m
    M clang/test/Analysis/undef-buffers.c
    M clang/test/Analysis/undef-call.c
    M clang/test/Analysis/uninit-bug-first-iteration-init.c
    M clang/test/Analysis/uninit-const.c
    M clang/test/Analysis/uninit-exhaustive-switch-bug.c
    M clang/test/Analysis/uninit-vals-union.c
    M clang/test/Analysis/uninit-vals.c
    M clang/test/Analysis/uninit-vals.m
    M clang/test/Analysis/unix-fns.c
    M clang/test/Analysis/unreachable-code-path.c
    M clang/test/Analysis/unused-ivars.m
    M clang/test/Analysis/vector.m
    M clang/test/Analysis/vfork.c
    M clang/test/Analysis/vla-overflow.c
    M clang/test/Analysis/vla.c
    M clang/test/Analysis/weak-functions.c
    M clang/test/Analysis/yaccignore.c
    M clang/test/Analysis/z3/apsint.c
    M clang/test/CodeGen/2002-01-24-ComplexSpaceInType.c
    M clang/test/CodeGen/2002-02-13-TypeVarNameCollision.c
    M clang/test/CodeGen/2002-02-13-UnnamedLocal.c
    M clang/test/CodeGen/2002-02-17-ArgumentAddress.c
    M clang/test/CodeGen/2002-02-18-64bitConstant.c
    M clang/test/CodeGen/2002-03-14-BrokenSSA.c
    M clang/test/CodeGen/2002-03-14-QuotesInStrConst.c
    M clang/test/CodeGen/2002-04-07-SwitchStmt.c
    M clang/test/CodeGen/2002-05-23-StaticValues.c
    M clang/test/CodeGen/2002-06-25-FWriteInterfaceFailure.c
    M clang/test/CodeGen/2002-07-14-MiscListTests.c
    M clang/test/CodeGen/2002-07-17-StringConstant.c
    M clang/test/CodeGen/2002-07-30-SubregSetAssertion.c
    M clang/test/CodeGen/2002-07-30-VarArgsCallFailure.c
    M clang/test/CodeGen/2002-07-31-SubregFailure.c
    M clang/test/CodeGen/2002-08-02-UnionTest.c
    M clang/test/CodeGen/2002-09-19-StarInLabel.c
    M clang/test/CodeGen/2002-10-12-TooManyArguments.c
    M clang/test/CodeGen/2002-12-15-StructParameters.c
    M clang/test/CodeGen/2003-06-26-CFECrash.c
    M clang/test/CodeGen/2003-06-29-MultipleFunctionDefinition.c
    M clang/test/CodeGen/2003-08-18-SigSetJmp.c
    M clang/test/CodeGen/2003-08-20-BadBitfieldRef.c
    M clang/test/CodeGen/2003-08-20-PrototypeMismatch.c
    M clang/test/CodeGen/2003-08-21-BinOp-Type-Mismatch.c
    M clang/test/CodeGen/2003-08-21-StmtExpr.c
    M clang/test/CodeGen/2003-08-29-BitFieldStruct.c
    M clang/test/CodeGen/2003-08-29-HugeCharConst.c
    M clang/test/CodeGen/2003-10-29-AsmRename.c
    M clang/test/CodeGen/2003-11-01-EmptyStructCrash.c
    M clang/test/CodeGen/2003-11-16-StaticArrayInit.c
    M clang/test/CodeGen/2003-11-20-ComplexDivision.c
    M clang/test/CodeGen/2003-11-20-UnionBitfield.c
    M clang/test/CodeGen/2003-12-14-ExternInlineSupport.c
    M clang/test/CodeGen/2004-02-12-LargeAggregateCopy.c
    M clang/test/CodeGen/2004-02-13-BuiltinFrameReturnAddress.c
    M clang/test/CodeGen/2004-03-07-ExternalConstant.c
    M clang/test/CodeGen/2004-03-15-SimpleIndirectGoto.c
    M clang/test/CodeGen/2004-03-16-AsmRegisterCrash.c
    M clang/test/CodeGen/2004-06-08-OpaqueStructArg.c
    M clang/test/CodeGen/2004-11-27-StaticFunctionRedeclare.c
    M clang/test/CodeGen/2005-01-02-ConstantInits.c
    M clang/test/CodeGen/2005-02-27-MarkGlobalConstant.c
    M clang/test/CodeGen/2005-03-06-OffsetOfStructCrash.c
    M clang/test/CodeGen/2005-06-15-ExpandGotoInternalProblem.c
    M clang/test/CodeGen/2005-07-28-IncorrectWeakGlobal.c
    M clang/test/CodeGen/2005-09-24-AsmUserPrefix.c
    M clang/test/CodeGen/2005-12-04-AttributeUsed.c
    M clang/test/CodeGen/2006-01-13-Includes.c
    M clang/test/CodeGen/2006-03-03-MissingInitializer.c
    M clang/test/CodeGen/2006-05-19-SingleEltReturn.c
    M clang/test/CodeGen/2006-09-28-SimpleAsm.c
    M clang/test/CodeGen/2006-10-30-ArrayCrash.c
    M clang/test/CodeGen/2007-01-24-InlineAsmCModifier.c
    M clang/test/CodeGen/2007-02-07-AddrLabel.c
    M clang/test/CodeGen/2007-04-05-PackedBitFields-2.c
    M clang/test/CodeGen/2007-04-05-PackedBitFields.c
    M clang/test/CodeGen/2007-04-05-PackedStruct.c
    M clang/test/CodeGen/2007-04-05-UnPackedStruct.c
    M clang/test/CodeGen/2007-04-11-InlineAsmStruct.c
    M clang/test/CodeGen/2007-04-11-InlineAsmUnion.c
    M clang/test/CodeGen/2007-04-13-InlineAsmStruct2.c
    M clang/test/CodeGen/2007-04-13-InlineAsmUnion2.c
    M clang/test/CodeGen/2007-05-08-PCH.c
    M clang/test/CodeGen/2007-06-15-AnnotateAttribute.c
    M clang/test/CodeGen/2007-08-01-LoadStoreAlign.c
    M clang/test/CodeGen/2007-08-21-ComplexCst.c
    M clang/test/CodeGen/2007-09-05-ConstCtor.c
    M clang/test/CodeGen/2007-09-27-ComplexIntCompare.c
    M clang/test/CodeGen/2007-09-28-PackedUnionMember.c
    M clang/test/CodeGen/2007-10-30-Volatile.c
    M clang/test/CodeGen/2007-11-07-AlignedMemcpy.c
    M clang/test/CodeGen/2007-11-07-CopyAggregateAlign.c
    M clang/test/CodeGen/2007-11-07-ZeroAggregateAlign.c
    M clang/test/CodeGen/2007-12-16-AsmNoUnwind.c
    M clang/test/CodeGen/2008-01-21-PackedBitFields.c
    M clang/test/CodeGen/2008-02-26-inline-asm-bug.c
    M clang/test/CodeGen/2008-05-12-TempUsedBeforeDef.c
    M clang/test/CodeGen/2008-07-17-no-emit-on-error.c
    M clang/test/CodeGen/2008-07-21-mixed-var-fn-decl.c
    M clang/test/CodeGen/2008-07-22-packed-bitfield-access.c
    M clang/test/CodeGen/2008-07-29-override-alias-decl.c
    M clang/test/CodeGen/2008-07-30-implicit-initialization.c
    M clang/test/CodeGen/2008-07-30-redef-of-bitcasted-decl.c
    M clang/test/CodeGen/2008-07-31-asm-labels.c
    M clang/test/CodeGen/2008-07-31-promotion-of-compound-pointer-arithmetic.c
    M clang/test/CodeGen/2009-02-13-zerosize-union-field.c
    M clang/test/CodeGen/2009-03-13-dbg.c
    M clang/test/CodeGen/2009-04-23-dbg.c
    M clang/test/CodeGen/2009-05-22-callingconv.c
    M clang/test/CodeGen/2009-06-14-HighlyAligned.c
    M clang/test/CodeGen/2009-07-15-pad-wchar_t-array.c
    M clang/test/CodeGen/2009-07-31-DbgDeclare.c
    M clang/test/CodeGen/2009-10-20-GlobalDebug.c
    M clang/test/CodeGen/2010-02-10-PointerName.c
    M clang/test/CodeGen/2010-02-15-DbgStaticVar.c
    M clang/test/CodeGen/2010-02-16-DbgScopes.c
    M clang/test/CodeGen/2010-02-18-Dbg-VectorType.c
    M clang/test/CodeGen/2010-07-08-DeclDebugLineNo.c
    M clang/test/CodeGen/2010-08-10-DbgConstant.c
    M clang/test/CodeGen/OpaqueStruct.c
    M clang/test/CodeGen/PR2001-bitfield-reload.c
    M clang/test/CodeGen/PR2413-void-address-cast-error.c
    M clang/test/CodeGen/PR2643-null-store-to-bitfield.c
    M clang/test/CodeGen/PR2743-reference-missing-static.c
    M clang/test/CodeGen/PR32874.c
    M clang/test/CodeGen/PR3589-freestanding-libcalls.c
    M clang/test/CodeGen/PR3709-int-to-pointer-sign.c
    M clang/test/CodeGen/PowerPC/aix-constructor-attribute.c
    M clang/test/CodeGen/PowerPC/aix-destructor-attribute.c
    M clang/test/CodeGen/PowerPC/aix_alloca_align.c
    M clang/test/CodeGen/PowerPC/altivec.c
    M clang/test/CodeGen/PowerPC/builtins-ppc-p9-f128.c
    M clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-math.c
    M clang/test/CodeGen/PowerPC/builtins-ppc-xlcompat-stfiw.c
    M clang/test/CodeGen/PowerPC/ppc-sfvarargs.c
    M clang/test/CodeGen/PowerPC/ppc32-dwarf.c
    M clang/test/CodeGen/PowerPC/ppc64-dwarf.c
    M clang/test/CodeGen/PowerPC/ppc64-f128-builtins.c
    M clang/test/CodeGen/PowerPC/ppc64le-aggregates.c
    M clang/test/CodeGen/PowerPC/vector-bool-pixel-altivec-init-no-parentheses.c
    M clang/test/CodeGen/PowerPC/vector-bool-pixel-altivec-init.c
    M clang/test/CodeGen/RISCV/riscv-inline-asm.c
    M clang/test/CodeGen/RISCV/riscv-sdata-module-flag.c
    M clang/test/CodeGen/RISCV/riscv32-ilp32-ilp32f-ilp32d-abi.c
    M clang/test/CodeGen/RISCV/riscv32-ilp32d-abi.c
    M clang/test/CodeGen/RISCV/riscv32-ilp32f-abi.c
    M clang/test/CodeGen/RISCV/riscv32-ilp32f-ilp32d-abi.c
    M clang/test/CodeGen/RISCV/riscv64-lp64-abi.c
    M clang/test/CodeGen/RISCV/riscv64-lp64-lp64f-lp64d-abi.c
    M clang/test/CodeGen/RISCV/riscv64-lp64d-abi.c
    M clang/test/CodeGen/RISCV/riscv64-lp64f-lp64d-abi.c
    M clang/test/CodeGen/RISCV/rvv_errors.c
    M clang/test/CodeGen/SystemZ/s390x-packed-struct-func-arg.c
    M clang/test/CodeGen/SystemZ/systemz-inline-asm.c
    M clang/test/CodeGen/SystemZ/zos-alignment.c
    M clang/test/CodeGen/WebAssembly/wasm-arguments.c
    M clang/test/CodeGen/X86/avx-builtins.c
    M clang/test/CodeGen/X86/avx-union.c
    M clang/test/CodeGen/X86/avx512-inline-asm-kregisters-basics.c
    M clang/test/CodeGen/X86/avx512f-builtins.c
    M clang/test/CodeGen/X86/avx512fp16-abi.c
    M clang/test/CodeGen/X86/avx512fp16-builtins.c
    M clang/test/CodeGen/X86/cetintrin.c
    M clang/test/CodeGen/X86/fsgsbase-builtins.c
    M clang/test/CodeGen/X86/lwp-builtins.c
    M clang/test/CodeGen/X86/pause.c
    M clang/test/CodeGen/X86/pku.c
    M clang/test/CodeGen/X86/rd-builtins.c
    M clang/test/CodeGen/X86/sse-builtins.c
    M clang/test/CodeGen/X86/sse2-builtins.c
    M clang/test/CodeGen/X86/x86-64-inline-asm.c
    M clang/test/CodeGen/X86/x86-ssc-mark.c
    M clang/test/CodeGen/X86/x86-tsxldtrk-builtins.c
    M clang/test/CodeGen/X86/x86-uintr-builtins.c
    M clang/test/CodeGen/X86/x86-vector-width.c
    M clang/test/CodeGen/X86/x86.c
    M clang/test/CodeGen/X86/x86_32-arguments-darwin.c
    M clang/test/CodeGen/X86/x86_32-arguments-win32.c
    M clang/test/CodeGen/X86/x86_32-inline-asm.c
    M clang/test/CodeGen/X86/x86_32-xsave.c
    M clang/test/CodeGen/X86/x86_64-PR42672.c
    M clang/test/CodeGen/X86/x86_64-arguments-darwin.c
    M clang/test/CodeGen/X86/x86_64-arguments-nacl.c
    M clang/test/CodeGen/X86/x86_64-arguments-win32.c
    M clang/test/CodeGen/X86/x86_64-arguments.c
    M clang/test/CodeGen/X86/x86_64-mno-sse2.c
    M clang/test/CodeGen/X86/x86_64-xsave.c
    M clang/test/CodeGen/X86/x86_inlineasm_curly_bracket_escape.c
    M clang/test/CodeGenCXX/debug-info-composite-triviality-fwd-decl.cpp
    M clang/test/CodeGenCoroutines/coro-builtins-err.c
    M clang/test/CodeGenOpenCL/func-call-dbg-loc.cl
    M clang/test/CodeGenOpenCL/null_queue.cl

  Log Message:
  -----------
  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).




More information about the All-commits mailing list