[all-commits] [llvm/llvm-project] e66c2d: -Wframe-larger-than=: improve error with an invali...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Apr 24 20:11:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e66c2db7996ed0ce8cd27548a623ce62246be33b
      https://github.com/llvm/llvm-project/commit/e66c2db7996ed0ce8cd27548a623ce62246be33b
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-04-24 (Mon, 24 Apr 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/Wframe-larger-than.c

  Log Message:
  -----------
  -Wframe-larger-than=: improve error with an invalid argument

Remove a FIXME. For simplicity, the error message for the missing argument case
has changed from err_drv_missing_argument to err_drv_invalid_argument_to_option,
which should be fine.




More information about the All-commits mailing list