[all-commits] [llvm/llvm-project] 2dbfd0: [Clang] fix -Wvoid-ptr-dereference for gnu89

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Tue Oct 4 13:01:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2dbfd06f2a8ba6cd7cc3f587808f1ea2c61ad2c7
      https://github.com/llvm/llvm-project/commit/2dbfd06f2a8ba6cd7cc3f587808f1ea2c61ad2c7
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2022-10-04 (Tue, 04 Oct 2022)

  Changed paths:
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/Sema/no-warn-void-ptr-uneval.c

  Log Message:
  -----------
  [Clang] fix -Wvoid-ptr-dereference for gnu89

Follow up to D134702; it looks like we were still warning for gnu89
mode.

Link: https://reviews.llvm.org/D134702
Link: https://github.com/ClangBuiltLinux/linux/issues/1720#issuecomment-1265738778

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list