aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-07-12 15:30:49 +0000
committerChris Lattner <sabre@nondot.org>2007-07-12 15:30:49 +0000
commitf86638365f4801ec2d2970f7c0663e94590618b8 (patch)
tree969fe86ad76e8651b354bb01eaff9a04a798d7b6 /include/clang/Basic
parentfdd75663fffeb2058a7847975e50837e61200593 (diff)
Allow this to compile on compilers where <string>
doesn't imply <cassert>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39778 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic')
-rw-r--r--include/clang/Basic/Diagnostic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/Basic/Diagnostic.h b/include/clang/Basic/Diagnostic.h
index 07d38f2d8d..f879d195b2 100644
--- a/include/clang/Basic/Diagnostic.h
+++ b/include/clang/Basic/Diagnostic.h
@@ -15,6 +15,7 @@
#define LLVM_CLANG_DIAGNOSTIC_H
#include <string>
+#include <cassert>
namespace clang {
class DiagnosticClient;