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

Chris Lattner lattner at cs.uiuc.edu
Fri Jul 25 12:35:11 PDT 2003


Changes in directory llvm/include/llvm:

AbstractTypeUser.h updated: 1.8 -> 1.9

---
Log message:

Use the C++ <cassert> header, not the C <assert.h> header



---
Diffs of the changes:

Index: llvm/include/llvm/AbstractTypeUser.h
diff -u llvm/include/llvm/AbstractTypeUser.h:1.8 llvm/include/llvm/AbstractTypeUser.h:1.9
--- llvm/include/llvm/AbstractTypeUser.h:1.8	Mon Jun 30 16:58:26 2003
+++ llvm/include/llvm/AbstractTypeUser.h	Fri Jul 25 12:34:16 2003
@@ -21,15 +21,14 @@
 #ifndef LLVM_ABSTRACT_TYPE_USER_H
 #define LLVM_ABSTRACT_TYPE_USER_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
+// This is the "master" include for <cassert> Whether this file needs it or not,
+// it must always include <cassert> 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.
+// macro without having to #include <cassert> directly.
 //
-#include "Config/assert.h"
+#include <cassert>
 
 class Type;
 class DerivedType;





More information about the llvm-commits mailing list