[PATCH] D41815: [clang-tidy] implement check for goto
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 11 11:39:05 PST 2018
lebedev.ri added inline comments.
================
Comment at: clang-tidy/cppcoreguidelines/AvoidGotoCheck.cpp:20
+
+AST_MATCHER(GotoStmt, isForwardJumping) {
+
----------------
It would be nice to have it in standard ASTMatchers, i believe it will be useful for `else-after-return` check.
Though the ASTMatchers are stuck due to the doc-dumping script being 'broken' (see D41455)
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D41815
More information about the cfe-commits
mailing list