[all-commits] [llvm/llvm-project] 8effeb: Add -Wreturn-local-addr, GCC alias for -Wreturn-st...

Adrian Dole via All-commits all-commits at lists.llvm.org
Thu Jan 12 10:26:05 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8effeb44f4a8ae3da8c594fdc69ac46dd6ab6f1b
      https://github.com/llvm/llvm-project/commit/8effeb44f4a8ae3da8c594fdc69ac46dd6ab6f1b
  Author: Adrian Dole <adriandole at google.com>
  Date:   2023-01-12 (Thu, 12 Jan 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/test/SemaCXX/return-stack-addr-2.cpp

  Log Message:
  -----------
  Add -Wreturn-local-addr, GCC alias for -Wreturn-stack-address

For warning compatibility with GCC.

Reviewed By: cjdb

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




More information about the All-commits mailing list