[PATCH] D53372: [clang-tidy] Resolve readability-else-after-return false positive for constexpr if.
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 18 07:14:20 PDT 2018
aaron.ballman added inline comments.
================
Comment at: test/clang-tidy/readability-else-after-return-if-constexpr.cpp:9
+ return;
+ // CHECK-MESSAGES: [[@LINE-2]]:3: warning:
+
----------------
Please add some of the warning text -- any warning will match this.
================
Comment at: test/clang-tidy/readability-else-after-return-if-constexpr.cpp:23
+}
+// CHECK-NOT: warning:
----------------
This seems unnecessary.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D53372
More information about the cfe-commits
mailing list