[PATCH] D125142: [clang][auto-init] Remove -enable flag for "zero" mode

Kees Cook via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat May 7 23:04:01 PDT 2022


kees planned changes to this revision.
kees added a comment.

In D125142#3499010 <https://reviews.llvm.org/D125142#3499010>, @brooks wrote:

> It would be somewhat helpful as a transition aid if `-enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang` remained as a no-op producing a warning (a generic unused argument warning would be fine).

Ah, good point! I got fooled into thinking unknown enable options were silently ignored, but on a double-check I see I was mistaken. :) I will update this patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125142



More information about the cfe-commits mailing list