[PATCH] D39284: Allow conditions to be decomposed with structured bindings
Zhihao Yuan via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 5 18:59:29 PST 2017
lichray updated this revision to Diff 125665.
lichray marked an inline comment as done.
lichray added a comment.
Added -Wbinding-in-condition.
Repository:
rC Clang
https://reviews.llvm.org/D39284
Files:
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/DeclSpec.h
lib/Parse/ParseExprCXX.cpp
lib/Sema/SemaDeclCXX.cpp
test/Parser/cxx1z-decomposition.cpp
test/Parser/decomposed-condition.cpp
test/SemaCXX/decomposed-condition.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39284.125665.patch
Type: text/x-patch
Size: 10112 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171206/25cee06c/attachment.bin>
More information about the cfe-commits
mailing list