]> granicus.if.org Git - clang/commitdiff
Allow this to compile on compilers where <string>
authorChris Lattner <sabre@nondot.org>
Thu, 12 Jul 2007 15:30:49 +0000 (15:30 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 12 Jul 2007 15:30:49 +0000 (15:30 +0000)
doesn't imply <cassert>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39778 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Diagnostic.h

index 07d38f2d8d23283ba1a1dc3fd64cef6a0238718c..f879d195b2db244504c367add4dde8cb8e82d3ad 100644 (file)
@@ -15,6 +15,7 @@
 #define LLVM_CLANG_DIAGNOSTIC_H
 
 #include <string>
+#include <cassert>
 
 namespace clang {
   class DiagnosticClient;