[llvm-commits] [llvm] r92006 - /llvm/trunk/include/llvm/Analysis/LoopInfo.h

Chris Lattner clattner at apple.com
Wed Dec 23 09:52:29 PST 2009


Please pull the dump() implementation out of line.  We don't want to  
include debug.h from other headers.  Thanks!

-Chris

On Dec 23, 2009, at 9:24 AM, David Greene <greened at obbligato.org> wrote:

> Author: greened
> Date: Wed Dec 23 11:24:22 2009
> New Revision: 92006
>
> URL: http://llvm.org/viewvc/llvm-project?rev=92006&view=rev
> Log:
>
> Convert debug messages to use dbgs().  Generally this means
> s/errs/dbgs/g except for certain special cases.
>
> Modified:
>    llvm/trunk/include/llvm/Analysis/LoopInfo.h
>
> Modified: llvm/trunk/include/llvm/Analysis/LoopInfo.h
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/LoopInfo.h?rev=92006&r1=92005&r2=92006&view=diff
>
> === 
> === 
> === 
> =====================================================================
> --- llvm/trunk/include/llvm/Analysis/LoopInfo.h (original)
> +++ llvm/trunk/include/llvm/Analysis/LoopInfo.h Wed Dec 23 11:24:22  
> 2009
> @@ -37,6 +37,7 @@
> #include "llvm/ADT/SmallVector.h"
> #include "llvm/Analysis/Dominators.h"
> #include "llvm/Support/CFG.h"
> +#include "llvm/Support/Debug.h"
> #include "llvm/Support/raw_ostream.h"
> #include <algorithm>
>
> @@ -480,7 +481,7 @@
>   }
>
>   void dump() const {
> -    print(errs());
> +    print(dbgs());
>   }
>
> protected:
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list