[all-commits] [llvm/llvm-project] c0141f: Downgrade implicit int and implicit function decla...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Thu Sep 15 00:10:42 PDT 2022


  Branch: refs/heads/release/15.x
  Home:   https://github.com/llvm/llvm-project
  Commit: c0141f3c300fbc002cf79404fa0b82b4cb1191df
      https://github.com/llvm/llvm-project/commit/c0141f3c300fbc002cf79404fa0b82b4cb1191df
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2022-09-15 (Thu, 15 Sep 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/test/C/drs/dr0xx.c
    M clang/test/C/drs/dr1xx.c
    M clang/test/CodeGen/PowerPC/builtins-ppc-p8vector.c
    M clang/test/CodeGen/builtins-arm-msvc-compat-only.c
    M clang/test/CodeGen/neon-crypto.c
    M clang/test/Driver/cxx_for_opencl.clcpp
    M clang/test/FixIt/fixit.c
    M clang/test/Frontend/fixed_point_errors.c
    M clang/test/Frontend/fixed_point_not_enabled.c
    M clang/test/Frontend/system-header-line-directive.c
    M clang/test/Headers/arm-cmse-header-ns.c
    M clang/test/Modules/config_macros.m
    M clang/test/Modules/malformed-overload.m
    M clang/test/Modules/modulemap-locations.m
    M clang/test/OpenMP/declare_mapper_messages.c
    M clang/test/PCH/chain-macro-override.c
    M clang/test/Parser/altivec.c
    M clang/test/Parser/attributes.c
    M clang/test/Parser/declarators.c
    M clang/test/Parser/objc-forcollection-neg-2.m
    M clang/test/Preprocessor/macro_paste_msextensions.c
    M clang/test/Sema/__try.c
    M clang/test/Sema/aarch64-tme-errors.c
    M clang/test/Sema/address_spaces.c
    M clang/test/Sema/auto-type.c
    M clang/test/Sema/bitfield.c
    M clang/test/Sema/block-args.c
    M clang/test/Sema/block-literal.c
    M clang/test/Sema/builtin-setjmp.c
    M clang/test/Sema/builtins.c
    M clang/test/Sema/crash-invalid-builtin.c
    M clang/test/Sema/cxx-as-c.c
    M clang/test/Sema/function.c
    M clang/test/Sema/implicit-builtin-decl.c
    M clang/test/Sema/implicit-decl.c
    M clang/test/Sema/implicit-int.c
    M clang/test/Sema/implicit-intel-builtin-decl.c
    M clang/test/Sema/implicit-ms-builtin-decl.c
    M clang/test/Sema/invalid-decl.c
    M clang/test/Sema/invalid-struct-init.c
    M clang/test/Sema/redefinition.c
    M clang/test/Sema/typo-correction.c
    M clang/test/Sema/varargs.c
    M clang/test/Sema/vla.c
    M clang/test/SemaObjC/builtin_objc_lib_functions.m
    M clang/test/SemaObjC/builtin_objc_nslog.m
    M clang/test/SemaObjC/ivar-lookup-resolution-builtin.m
    M clang/test/SemaObjC/protocols.m
    M clang/test/SemaOpenCL/invalid-pipes-cl1.2.cl

  Log Message:
  -----------
  Downgrade implicit int and implicit function declaration to warning only

The changes in Clang 15.0.0 which enabled these diagnostics as a
warning which defaulted to an error caused disruption for people
working on distributions such as Gentoo. There was an explicit request
to downgrade these to be warning-only in Clang 15.0.1 with the
expectation that Clang 16 will default the diagnostics to an error.

See
https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
for more details on the discussion.

See https://reviews.llvm.org/D133800 for the public review of these
changes.




More information about the All-commits mailing list