Remove Support/IncludeFile.h and its only user. This is actively harmful, since
[oota-llvm.git] / lib / Support / PrettyStackTrace.cpp
index aef02e990a2dc31fd273fa4e2e909d8c585b34cd..987778a1bde66999171556f571c94c59e352dddb 100644 (file)
@@ -46,7 +46,7 @@ static unsigned PrintStack(const PrettyStackTraceEntry *Entry, raw_ostream &OS){
 /// PrintCurStackTrace - Print the current stack trace to the specified stream.
 static void PrintCurStackTrace(raw_ostream &OS) {
   // Don't print an empty trace.
-  if (PrettyStackTraceHead->get() == nullptr) return;
+  if (!PrettyStackTraceHead->get()) return;
   
   // If there are pretty stack frames registered, walk and emit them.
   OS << "Stack dump:\n";