aaron.ballman added inline comments.

================
Comment at: clang-tidy/modernize/UseBoolLiteralsCheck.cpp:41
@@ +40,3 @@
+          // using anyOf(BINDLITERAL(), anything()).
+          anyOf(hasTrueExpression(ignoringParenImpCasts(
+                    integerLiteral().bind("trueBranchLiteral"))),
----------------
alexfh wrote:
> I think, Aaron was talking about `eachOf` matcher that will actually generate 
> a separate match for each of its submatchers.
I *knew* we had something that would do this! Thank you for the reminder, Alex. 
:-)


https://reviews.llvm.org/D23243



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to