sbenza accepted this revision.
This revision is now accepted and ready to land.

================
Comment at: clang-tidy/misc/MisplacedConstCheck.cpp:22
@@ +21,3 @@
+  Finder->addMatcher(
+      valueDecl(allOf(hasType(isConstQualified()),
+                      hasType(typedefType(hasDeclaration(
----------------
aaron.ballman wrote:
> sbenza wrote:
> > allOf() is unnecessary
> Good catch, that was a holdover from when I was using clang-query.
You shouldn't need it for clang-query either.


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