[all-commits] [llvm/llvm-project] 4a47da: [Sema] turns -Wfree-nonheap-object on by default

Christopher Di Bella via All-commits all-commits at lists.llvm.org
Fri Jan 15 13:49:14 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a47da2cf440c2f2006d9b04acfef4292de1e263
      https://github.com/llvm/llvm-project/commit/4a47da2cf440c2f2006d9b04acfef4292de1e263
  Author: Christopher Di Bella <cjdb at google.com>
  Date:   2021-01-15 (Fri, 15 Jan 2021)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/test/Analysis/NewDelete-intersections.mm
    M clang/test/Analysis/free.c

  Log Message:
  -----------
  [Sema] turns -Wfree-nonheap-object on by default

We'd discussed adding the warning to -Wall in D89988. This patch honours that.




More information about the All-commits mailing list