[PATCH] D117717: [clang] Ignore -fconserve-stack

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 19 14:18:25 PST 2022


MaskRay added a comment.

Assuming scan-build is clang/tools/scan-build, which is in tree and can be fixed instead.
I am not familiar with it, but from

> However, this caused issues with scan-build, as GCC is used as the compiler but clang is invoked after it with all the -f options that GCC was.

if scan-build+GCC takes all GCC recognized options and forwards them to Clang, I think it is a generally infeasible model.
GCC has dozens of options not recognized by Clang...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117717



More information about the cfe-commits mailing list