[PATCH] D19703: [clang-tidy] Improve misc-redundant-expression and decrease false-positive
Etienne Bergeron via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 28 17:18:48 PDT 2016
etienneb created this revision.
etienneb added a reviewer: alexfh.
etienneb added a subscriber: cfe-commits.
This patch is adding support for conditional expression and overloaded operators.
To decrease false-positive, this patch is adding a list of banned macro names that
has multiple variant with same integer value.
Also fixed support for template instantiation and added an unittest.
http://reviews.llvm.org/D19703
Files:
clang-tidy/misc/RedundantExpressionCheck.cpp
docs/clang-tidy/checks/misc-redundant-expression.rst
test/clang-tidy/misc-redundant-expression.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19703.55513.patch
Type: text/x-patch
Size: 10378 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160429/f623e9c7/attachment-0001.bin>
More information about the cfe-commits
mailing list