[PATCH] D91485: [clang-tidy] ElseAfterReturn check wont suggest fixes if preprocessor branches are involved
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 18 10:16:54 PST 2020
njames93 updated this revision to Diff 306143.
njames93 added a comment.
Added test cases to ensure clang-tidy doesn't crash.
Expanded auto out.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91485/new/
https://reviews.llvm.org/D91485
Files:
clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp
clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.h
clang-tools-extra/test/clang-tidy/checkers/readability-else-after-return-pp-no-crash.cpp
clang-tools-extra/test/clang-tidy/checkers/readability-else-after-return.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91485.306143.patch
Type: text/x-patch
Size: 9388 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201118/58345f2b/attachment-0001.bin>
More information about the cfe-commits
mailing list