aaron.ballman added inline comments.

================
Comment at: clang-tidy/misc/MisplacedConstCheck.cpp:23
@@ +22,3 @@
+      valueDecl(hasType(isConstQualified()),
+                hasType(typedefType(hasDeclaration(
+                    typedefDecl(hasType(pointerType(unless(pointee(
----------------
Oddly enough, I did. What's more, there's a bug with hasType that I didn't have 
time to track down. It seems `hasType(allOf(...))` always fails but 
`allOf(hasType(...), hasType(...))` works. :-(


http://reviews.llvm.org/D21036



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

Reply via email to