]> granicus.if.org Git - clang/commitdiff
Improve portability to compilers where <cassert> is not implicitly
authorChris Lattner <sabre@nondot.org>
Thu, 12 Jul 2007 15:32:57 +0000 (15:32 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 12 Jul 2007 15:32:57 +0000 (15:32 +0000)
included.  Patch contributed by Benoit Boissinot!

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

include/clang/Basic/SourceManager.h
include/clang/Lex/IdentifierTable.h
include/clang/Lex/Lexer.h
include/clang/Lex/MacroInfo.h

index ef0ac0ba981915e0b04f79db4bb38d351ce43b09..e7f0d30a1fadf3b38e9b035a0ddd0987bb1d5d1a 100644 (file)
@@ -18,6 +18,7 @@
 #include <vector>
 #include <map>
 #include <list>
+#include <cassert>
 
 namespace llvm {
 class MemoryBuffer;
index 4edba600948edc157c6c1e8fdbfe2fd952f54530..0320164f9a224ad47d93f9ecaac52dac33099690 100644 (file)
@@ -17,6 +17,7 @@
 #include "clang/Basic/TokenKinds.h"
 #include "llvm/ADT/StringMap.h"
 #include <string> 
+#include <cassert> 
 
 namespace clang {
   class MacroInfo;
index db0c7183d218759fa4b27c4bfb969e002003f541..eda96080163f74e1582bdf2128e235321b1a0b28 100644 (file)
@@ -19,6 +19,7 @@
 #include "clang/Basic/LangOptions.h"
 #include <string>
 #include <vector>
+#include <cassert>
 
 namespace llvm {
   class MemoryBuffer;
index ad489de744357a3ef7493aac623d069ae226323a..ea1a06d33e32ace8a3dbdf5ab47f1021d617f597 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "clang/Lex/LexerToken.h"
 #include <vector>
+#include <cassert>
 
 namespace clang {
   class Preprocessor;