[all-commits] [llvm/llvm-project] e95993: [Sema] Put existing warning under -Wexcess-initial...

rsandifo-arm via All-commits all-commits at lists.llvm.org
Wed May 6 03:29:17 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e959931092d54330ce33f0c1a8479c978d39f655
      https://github.com/llvm/llvm-project/commit/e959931092d54330ce33f0c1a8479c978d39f655
  Author: Richard Sandiford <richard.sandiford at arm.com>
  Date:   2020-05-06 (Wed, 06 May 2020)

  Changed paths:
    M clang/docs/DiagnosticsReference.rst
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/test/Misc/warning-flags.c
    M clang/test/Sema/array-init.c
    M clang/test/Sema/init.c

  Log Message:
  -----------
  [Sema] Put existing warning under -Wexcess-initializers

I have a follow-on patch that uses an alternative wording for
ext_excess_initializers in some cases.  This patch puts it and
a couple of related warnings under their own -W option in order
to avoid a regression in Misc/warning-flags.c.

Differential Revision: https://reviews.llvm.org/D79244




More information about the All-commits mailing list