HomePhabricator

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

Authored by kongyi on Aug 24 2021, 2:06 AM.

Description

[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