================
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