[PATCH] CONSUMABLE class attribute

Delesley Hutchins delesley at google.com
Fri Aug 30 12:03:37 PDT 2013



================
Comment at: lib/Sema/SemaDeclAttr.cpp:995
@@ -981,1 +994,3 @@
   
+  ASTContext &CurrContext = S.getASTContext();
+  const CXXMethodDecl *MD = cast<CXXMethodDecl>(D);
----------------
This block of code seems to have been cut-and-pasted 4 times.  Can you factor it into a separate function?


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



More information about the cfe-commits mailing list