[PATCH] -Wcomma, a new warning for questionable uses of the comma operator
Richard Trieu
rtrieu at google.com
Wed Aug 20 17:13:10 PDT 2014
Add another exemption for RAII objects in the LHS of the comma operator.
http://reviews.llvm.org/D3976
Files:
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaExpr.cpp
lib/Sema/SemaOverload.cpp
test/SemaCXX/warn-comma-operator.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3976.12720.patch
Type: text/x-patch
Size: 12805 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140821/0da3ed60/attachment.bin>
More information about the cfe-commits
mailing list