From: Ted Kremenek Date: Fri, 7 Sep 2007 23:54:15 +0000 (+0000) Subject: -check-dead-stores now no longer prints out the function declarations X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=567a7e612673362231e8d70e4a32ad534d67d73f;p=clang -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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41780 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Driver/ASTStreamers.cpp b/Driver/ASTStreamers.cpp index d6db959d47..59be1b36e7 100644 --- a/Driver/ASTStreamers.cpp +++ b/Driver/ASTStreamers.cpp @@ -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