[cfe-commits] r39779 - in /cfe/trunk/include/clang: Basic/SourceManager.h Lex/IdentifierTable.h Lex/Lexer.h Lex/MacroInfo.h
Chris Lattner
sabre at nondot.org
Thu Jul 12 08:32:57 PDT 2007
Author: lattner
Date: Thu Jul 12 10:32:57 2007
New Revision: 39779
URL: http://llvm.org/viewvc/llvm-project?rev=39779&view=rev
Log:
Improve portability to compilers where <cassert> is not implicitly
included. Patch contributed by Benoit Boissinot!
Modified:
cfe/trunk/include/clang/Basic/SourceManager.h
cfe/trunk/include/clang/Lex/IdentifierTable.h
cfe/trunk/include/clang/Lex/Lexer.h
cfe/trunk/include/clang/Lex/MacroInfo.h
Modified: cfe/trunk/include/clang/Basic/SourceManager.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/SourceManager.h?rev=39779&r1=39778&r2=39779&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/SourceManager.h (original)
+++ cfe/trunk/include/clang/Basic/SourceManager.h Thu Jul 12 10:32:57 2007
@@ -18,6 +18,7 @@
#include <vector>
#include <map>
#include <list>
+#include <cassert>
namespace llvm {
class MemoryBuffer;
Modified: cfe/trunk/include/clang/Lex/IdentifierTable.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/IdentifierTable.h?rev=39779&r1=39778&r2=39779&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/IdentifierTable.h (original)
+++ cfe/trunk/include/clang/Lex/IdentifierTable.h Thu Jul 12 10:32:57 2007
@@ -17,6 +17,7 @@
#include "clang/Basic/TokenKinds.h"
#include "llvm/ADT/StringMap.h"
#include <string>
+#include <cassert>
namespace clang {
class MacroInfo;
Modified: cfe/trunk/include/clang/Lex/Lexer.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/Lexer.h?rev=39779&r1=39778&r2=39779&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/Lexer.h (original)
+++ cfe/trunk/include/clang/Lex/Lexer.h Thu Jul 12 10:32:57 2007
@@ -19,6 +19,7 @@
#include "clang/Basic/LangOptions.h"
#include <string>
#include <vector>
+#include <cassert>
namespace llvm {
class MemoryBuffer;
Modified: cfe/trunk/include/clang/Lex/MacroInfo.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/MacroInfo.h?rev=39779&r1=39778&r2=39779&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/MacroInfo.h (original)
+++ cfe/trunk/include/clang/Lex/MacroInfo.h Thu Jul 12 10:32:57 2007
@@ -16,6 +16,7 @@
#include "clang/Lex/LexerToken.h"
#include <vector>
+#include <cassert>
namespace clang {
class Preprocessor;
More information about the cfe-commits
mailing list