[cfe-commits] r41780 - /cfe/trunk/Driver/ASTStreamers.cpp

Ted Kremenek kremenek at apple.com
Fri Sep 7 16:54:15 PDT 2007


Author: kremenek
Date: Fri Sep  7 18:54:15 2007
New Revision: 41780

URL: http://llvm.org/viewvc/llvm-project?rev=41780&view=rev
Log:
-check-dead-stores now no longer prints out the function declarations
for each function.  This was the behavior prior to the following patch:

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

Modified:
    cfe/trunk/Driver/ASTStreamers.cpp

Modified: cfe/trunk/Driver/ASTStreamers.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/ASTStreamers.cpp?rev=41780&r1=41779&r2=41780&view=diff

==============================================================================
--- cfe/trunk/Driver/ASTStreamers.cpp (original)
+++ cfe/trunk/Driver/ASTStreamers.cpp Fri Sep  7 18:54:15 2007
@@ -259,6 +259,7 @@
   public:
     DeadStoreVisitor(Preprocessor& pp) : PP(pp) {}
     virtual void VisitCFG(CFG& C) { CheckDeadStores(C,PP); }
+    virtual bool printFuncDeclStart() { return false; }
   }; 
 } // end anonymous namespace
 





More information about the cfe-commits mailing list