[all-commits] [llvm/llvm-project] 5fc482: [clang] Don't generate warn-stack-size when the wa...

Yi Kong via All-commits all-commits at lists.llvm.org
Wed Aug 25 00:01:13 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fc4828aa6c6df03bd98b1f066e85655383d0cce
      https://github.com/llvm/llvm-project/commit/5fc4828aa6c6df03bd98b1f066e85655383d0cce
  Author: Yi Kong <yikong at google.com>
  Date:   2021-08-25 (Wed, 25 Aug 2021)

  Changed paths:
    M clang/lib/CodeGen/CodeGenFunction.cpp
    A clang/test/Misc/backend-stack-frame-diagnostics-attributes.cpp

  Log Message:
  -----------
  [clang] Don't generate warn-stack-size when the warning is ignored

8ace12130526 introduced a regression for code that explicitly ignores the
-Wframe-larger-than= warning. Make sure we don't generate the
warn-stack-size attribute for that case.

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




More information about the All-commits mailing list