danielmarjamaki added a comment.

In http://reviews.llvm.org/D16310#337563, @LegalizeAdulthood wrote:

> In http://reviews.llvm.org/D16310#335844, @danielmarjamaki wrote:
>
> > There were some new interesting warnings and imho they were TP.
>
>
> TP?


Sorry.. True Positive


================
Comment at: clang-tidy/misc/MisplacedWideningCastCheck.cpp:32
@@ +31,3 @@
+  auto CXXReinterpretCastB = 
cxxReinterpretCastExpr(has(BinaryOp)).bind("cast");
+  auto CXXReinterpretCastU = cxxReinterpretCastExpr(has(UnaryOp)).bind("cast");
+
----------------
I would like to use a anyOf(cStyleCastExpr(..), cxxStaticCastExpr(..), ..) ... 
would that be possible somehow?

I would also like to use anyOf(binaryOperator(..), unaryOperator(..)) is that 
possible?


http://reviews.llvm.org/D16310



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

Reply via email to