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