[PATCH] D102782: Add support for Warning Flag "-Wstack-usage="

Ana Pazos via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 19 13:51:55 PDT 2021


apazos added inline comments.


================
Comment at: clang/lib/Basic/Warnings.cpp:101
+        Opt = "no-frame-larger-than=";
+
       // Check to see if this warning starts with "no-", if so, this is a
----------------
Since GCC supports the negative option -Wno-stack-usage, I think it is best to add the negative option Wno-frame-larger-than in the td file and alias it too, to avoid this C code in here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102782/new/

https://reviews.llvm.org/D102782



More information about the cfe-commits mailing list