[PATCH] D157239: [clang-tidy] Implement bugprone-incorrect-enable-if
Chris Cotter via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 6 12:11:43 PDT 2023
ccotter created this revision.
Herald added subscribers: PiotrZSL, carlosgalvezp, xazax.hun.
Herald added a reviewer: njames93.
Herald added a project: All.
ccotter requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
Detects incorrect usages of std::enable_if that don't name the
nested 'type' type.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D157239
Files:
clang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
clang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
clang-tools-extra/clang-tidy/bugprone/IncDecInConditionsCheck.h
clang-tools-extra/clang-tidy/bugprone/IncorrectEnableIfCheck.cpp
clang-tools-extra/clang-tidy/bugprone/IncorrectEnableIfCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/bugprone/incorrect-enable-if.rst
clang-tools-extra/docs/clang-tidy/checks/list.rst
clang-tools-extra/test/clang-tidy/checkers/bugprone/incorrect-enable-if.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157239.547596.patch
Type: text/x-patch
Size: 13907 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230806/f5a506d9/attachment.bin>
More information about the cfe-commits
mailing list