[cfe-commits] [PATCH] ASTDumper coding style fixes

Dmitri Gribenko gribozavr at gmail.com
Thu Dec 20 02:48:22 PST 2012



================
Comment at: lib/AST/ASTDumper.cpp:284
@@ -283,3 +283,3 @@
 
-  if (ValueDecl *VD = dyn_cast<ValueDecl>(D))
+  if (const ValueDecl *VD = dyn_cast<const ValueDecl>(D))
     dumpType(VD->getType());
----------------
No need for const in dyn_cast.


http://llvm-reviews.chandlerc.com/D226



More information about the cfe-commits mailing list