[PATCH] D15366: [Clang] Use autos in lib/AST/ASTImporter.cpp

Eugene Zelenko via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 10 11:11:39 PST 2015


Eugene.Zelenko added inline comments.

================
Comment at: lib/AST/ASTImporter.cpp:5855
@@ -5888,3 +5854,3 @@
   }
-  else if (ObjCProtocolDecl *PD = dyn_cast<ObjCProtocolDecl>(D)) {
+  else if (auto *PD = dyn_cast<ObjCProtocolDecl>(D)) {
     if (!PD->getDefinition())
----------------
aaron.ballman wrote:
> Can you fix the formatting here while you're at it? (Same below.)
Sorry, I do see problem. Could you please elaborate more?


Repository:
  rL LLVM

http://reviews.llvm.org/D15366





More information about the cfe-commits mailing list