[PATCH] D133800: [Clang 15.0.1] Downgrade implicit int and implicit function declaration to warning only

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 13 12:26:30 PDT 2022


aaron.ballman created this revision.
aaron.ballman added reviewers: mgorny, thieta, tstellar.
Herald added a subscriber: jdoerfert.
Herald added a project: All.
aaron.ballman requested review of this revision.
Herald added a project: clang.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133800

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133800.459839.patch
Type: text/x-patch
Size: 56408 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220913/92a8c241/attachment-0001.bin>


More information about the cfe-commits mailing list