[cfe-commits] r39778 - /cfe/trunk/include/clang/Basic/Diagnostic.h

Chris Lattner sabre at nondot.org
Thu Jul 12 08:30:49 PDT 2007


Author: lattner
Date: Thu Jul 12 10:30:49 2007
New Revision: 39778

URL: http://llvm.org/viewvc/llvm-project?rev=39778&view=rev
Log:
Allow this to compile on compilers where <string>
doesn't imply <cassert>.

Modified:
    cfe/trunk/include/clang/Basic/Diagnostic.h

Modified: cfe/trunk/include/clang/Basic/Diagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Diagnostic.h?rev=39778&r1=39777&r2=39778&view=diff

==============================================================================
--- cfe/trunk/include/clang/Basic/Diagnostic.h (original)
+++ cfe/trunk/include/clang/Basic/Diagnostic.h Thu Jul 12 10:30:49 2007
@@ -15,6 +15,7 @@
 #define LLVM_CLANG_DIAGNOSTIC_H
 
 #include <string>
+#include <cassert>
 
 namespace clang {
   class DiagnosticClient;





More information about the cfe-commits mailing list