[PATCH] D54604: Automatic variable initialization
JF Bastien via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 13 13:46:29 PST 2018
jfb updated this revision to Diff 178129.
jfb marked 3 inline comments as done.
jfb added a comment.
- Don't document 'zero'.
- Make drv_trivial_auto_var_init_zero_disabled an error instead of a warning.
- Change the parameter: we only have [[clang::uninitialized]] now.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54604/new/
https://reviews.llvm.org/D54604
Files:
include/clang/Basic/Attr.td
include/clang/Basic/AttrDocs.td
include/clang/Basic/DiagnosticDriverKinds.td
include/clang/Basic/LangOptions.def
include/clang/Basic/LangOptions.h
include/clang/Driver/Options.td
include/clang/Driver/ToolChain.h
lib/CodeGen/CGDecl.cpp
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInvocation.cpp
lib/Sema/SemaDeclAttr.cpp
test/CodeGenCXX/auto-var-init.cpp
test/CodeGenCXX/trivial-auto-var-init-attribute.cpp
test/CodeGenCXX/trivial-auto-var-init.cpp
test/Driver/clang_f_opts.c
test/Misc/warning-flags.c
test/Sema/attr-uninitialized.c
test/Sema/uninit-variables.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54604.178129.patch
Type: text/x-patch
Size: 81022 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181213/9bbe3f43/attachment-0001.bin>
More information about the cfe-commits
mailing list