[PATCH] D31308: [clang-tidy] new check readability-no-alternative-tokens
Matthias Gehre via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 23 14:15:30 PDT 2017
mgehre created this revision.
Herald added a subscriber: mgorny.
Flags (and replaces) the alternative tokens for binary and unary
operators, such as ``not`` (for ``!``), ``bitand`` (for ``&``), ``or`` (for ``||``)
or ``not_eq`` (for ``!=``).
https://reviews.llvm.org/D31308
Files:
clang-tidy/readability/CMakeLists.txt
clang-tidy/readability/NoAlternativeTokensCheck.cpp
clang-tidy/readability/NoAlternativeTokensCheck.h
clang-tidy/readability/ReadabilityTidyModule.cpp
docs/ReleaseNotes.rst
docs/clang-tidy/checks/list.rst
docs/clang-tidy/checks/readability-no-alternative-tokens.rst
test/clang-tidy/readability-no-alternative-tokens.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31308.92866.patch
Type: text/x-patch
Size: 9007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170323/56c5adf5/attachment-0001.bin>
More information about the cfe-commits
mailing list