]> granicus.if.org Git - clang/commitdiff
-check-dead-stores now no longer prints out the function declarations
authorTed Kremenek <kremenek@apple.com>
Fri, 7 Sep 2007 23:54:15 +0000 (23:54 +0000)
committerTed Kremenek <kremenek@apple.com>
Fri, 7 Sep 2007 23:54:15 +0000 (23:54 +0000)
for each function.  This was the behavior prior to the following patch:

http://llvm.org/viewvc/llvm-project?view=rev&revision=41779

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41780 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/ASTStreamers.cpp

index d6db959d47637591496ca3d5cee016b885dbaf06..59be1b36e7a0a1fc28647d8f66f1be692e58d5b4 100644 (file)
@@ -259,6 +259,7 @@ namespace {
   public:
     DeadStoreVisitor(Preprocessor& pp) : PP(pp) {}
     virtual void VisitCFG(CFG& C) { CheckDeadStores(C,PP); }
+    virtual bool printFuncDeclStart() { return false; }
   }; 
 } // end anonymous namespace