[llvm-commits] CVS: llvm/include/llvm/AbstractTypeUser.h GlobalVariable.h Instruction.h Pass.h

John Criswell criswell at cs.uiuc.edu
Mon Jun 30 17:02:34 PDT 2003


Changes in directory llvm/include/llvm:

AbstractTypeUser.h updated: 1.7 -> 1.8
GlobalVariable.h updated: 1.21 -> 1.22
Instruction.h updated: 1.41 -> 1.42
Pass.h updated: 1.34 -> 1.35

---
Log message:

Merged in autoconf branch.  This provides configuration via the autoconf
system.


---
Diffs of the changes:

Index: llvm/include/llvm/AbstractTypeUser.h
diff -u llvm/include/llvm/AbstractTypeUser.h:1.7 llvm/include/llvm/AbstractTypeUser.h:1.8
--- llvm/include/llvm/AbstractTypeUser.h:1.7	Wed Jun 18 14:22:33 2003
+++ llvm/include/llvm/AbstractTypeUser.h	Mon Jun 30 16:58:26 2003
@@ -21,7 +21,16 @@
 #ifndef LLVM_ABSTRACT_TYPE_USER_H
 #define LLVM_ABSTRACT_TYPE_USER_H
 
-#include <assert.h>
+//
+// This is the "master" include for assert.h
+// Whether this file needs it or not, it must always include assert.h for the
+// files which include llvm/AbstractTypeUser.h
+//
+// In this way, most every LLVM source file will have access to the assert()
+// macro without having to #include <assert.h> directly.
+//
+#include "Config/assert.h"
+
 class Type;
 class DerivedType;
 


Index: llvm/include/llvm/GlobalVariable.h
diff -u llvm/include/llvm/GlobalVariable.h:1.21 llvm/include/llvm/GlobalVariable.h:1.22
--- llvm/include/llvm/GlobalVariable.h:1.21	Sat Jun 21 22:07:32 2003
+++ llvm/include/llvm/GlobalVariable.h	Mon Jun 30 16:58:26 2003
@@ -14,6 +14,7 @@
 #define LLVM_GLOBAL_VARIABLE_H
 
 #include "llvm/GlobalValue.h"
+
 class Module;
 class Constant;
 class PointerType;


Index: llvm/include/llvm/Instruction.h
diff -u llvm/include/llvm/Instruction.h:1.41 llvm/include/llvm/Instruction.h:1.42
--- llvm/include/llvm/Instruction.h:1.41	Sat Jun 21 22:07:32 2003
+++ llvm/include/llvm/Instruction.h	Mon Jun 30 16:58:26 2003
@@ -9,6 +9,7 @@
 #define LLVM_INSTRUCTION_H
 
 #include "llvm/User.h"
+
 template<typename SC> struct ilist_traits;
 template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass,
          typename SubClass> class SymbolTableListTraits;


Index: llvm/include/llvm/Pass.h
diff -u llvm/include/llvm/Pass.h:1.34 llvm/include/llvm/Pass.h:1.35
--- llvm/include/llvm/Pass.h:1.34	Sat Jun 21 22:07:32 2003
+++ llvm/include/llvm/Pass.h	Mon Jun 30 16:58:26 2003
@@ -22,7 +22,6 @@
 #ifndef LLVM_PASS_H
 #define LLVM_PASS_H
 
-#include <assert.h>
 #include <vector>
 #include <map>
 #include <iosfwd>





More information about the llvm-commits mailing list