[llvm-commits] [llvm] r119818 - /llvm/trunk/include/llvm/ADT/IntervalMap.h

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Nov 19 10:51:46 PST 2010


Author: stoklund
Date: Fri Nov 19 12:51:46 2010
New Revision: 119818

URL: http://llvm.org/viewvc/llvm-project?rev=119818&view=rev
Log:
Include raw_ostream.h unconditionally even if it is only used for debug code.

We don't want any clients acidentally depending on this and then failing in a
-Asserts build.

Modified:
    llvm/trunk/include/llvm/ADT/IntervalMap.h

Modified: llvm/trunk/include/llvm/ADT/IntervalMap.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/IntervalMap.h?rev=119818&r1=119817&r2=119818&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/IntervalMap.h (original)
+++ llvm/trunk/include/llvm/ADT/IntervalMap.h Fri Nov 19 12:51:46 2010
@@ -106,10 +106,8 @@
 #include <limits>
 #include <iterator>
 
-// FIXME: Remove debugging code
-#ifndef NDEBUG
+// FIXME: Remove debugging code.
 #include "llvm/Support/raw_ostream.h"
-#endif
 
 namespace llvm {
 





More information about the llvm-commits mailing list