]> granicus.if.org Git - clang/commitdiff
Remove old diag that alerted the user to a limitation we no longer have:-)
authorSteve Naroff <snaroff@apple.com>
Sun, 5 Oct 2008 00:12:46 +0000 (00:12 +0000)
committerSteve Naroff <snaroff@apple.com>
Sun, 5 Oct 2008 00:12:46 +0000 (00:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57086 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/RewriteBlocks.cpp

index b72076822183b2dbb3ddea979ddf552286ea1371..83fcc03aee4193ce38bc351b0795053dafd07fd4 100644 (file)
@@ -34,7 +34,6 @@ class RewriteBlocks : public ASTConsumer {
   Diagnostic &Diags;
   const LangOptions &LangOpts;
   unsigned RewriteFailedDiag;
-  unsigned NoNestedBlockCalls;
 
   ASTContext *Context;
   SourceManager *SM;
@@ -172,8 +171,6 @@ RewriteBlocks::RewriteBlocks(std::string inFile, std::string outFile,
   CurMethodDef = 0;
   RewriteFailedDiag = Diags.getCustomDiagID(Diagnostic::Warning, 
                                             "rewriting failed");
-  NoNestedBlockCalls = Diags.getCustomDiagID(Diagnostic::Warning, 
-    "Rewrite support for closure calls nested within closure blocks is incomplete");
 }
 
 ASTConsumer *clang::CreateBlockRewriter(const std::string& InFile,