diff options
author | Vitaly Buka <vitalybuka@google.com> | 2019-10-07 23:57:11 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2019-10-07 23:57:11 +0000 |
commit | a182e258515d4c93396169f00c9d6ee385fbe7ec (patch) | |
tree | f7cc58858f024646b3ecdc4fa9f2ec12f7faa311 /include | |
parent | 2aa330f90a2d5fbb207d038dace1527cb86b19eb (diff) | |
download | clang-a182e258515d4c93396169f00c9d6ee385fbe7ec.tar.gz |
[clang] Accept -ftrivial-auto-var-init in clang-cl
Reviewers: eugenis, rnk
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D68608
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373992 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/Driver/Options.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index 1c4794d1ac..8346d149dc 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -1715,10 +1715,10 @@ def fstack_protector : Flag<["-"], "fstack-protector">, Group<f_Group>, "alloca, which are of greater size than ssp-buffer-size (default: 8 bytes). " "All variable sized calls to alloca are considered vulnerable">; def ftrivial_auto_var_init : Joined<["-"], "ftrivial-auto-var-init=">, Group<f_Group>, - Flags<[CC1Option]>, HelpText<"Initialize trivial automatic stack variables: uninitialized (default)" + Flags<[CC1Option, CoreOption]>, HelpText<"Initialize trivial automatic stack variables: uninitialized (default)" " | pattern">, Values<"uninitialized,pattern">; def enable_trivial_var_init_zero : Joined<["-"], "enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang">, - Flags<[CC1Option]>, + Flags<[CC1Option, CoreOption]>, HelpText<"Trivial automatic variable initialization to zero is only here for benchmarks, it'll eventually be removed, and I'm OK with that because I'm only using it to benchmark">; def fstandalone_debug : Flag<["-"], "fstandalone-debug">, Group<f_Group>, Flags<[CoreOption]>, HelpText<"Emit full debug info for all types used by the program">; |