[llvm-commits] CVS: llvm/include/llvm/Type.h
Alkis Evlogimenos
alkis at cs.uiuc.edu
Mon Sep 27 18:59:28 PDT 2004
Changes in directory llvm/include/llvm:
Type.h updated: 1.58 -> 1.59
---
Log message:
Use class instead of struct for defining classes. This unbreaks the
build on windows. Patch contributed by Paolo Invernizzi!
---
Diffs of the changes: (+2 -1)
Index: llvm/include/llvm/Type.h
diff -u llvm/include/llvm/Type.h:1.58 llvm/include/llvm/Type.h:1.59
--- llvm/include/llvm/Type.h:1.58 Wed Sep 1 17:55:34 2004
+++ llvm/include/llvm/Type.h Mon Sep 27 20:59:17 2004
@@ -50,7 +50,8 @@
class StructType;
class PackedType;
-struct Type {
+class Type {
+public:
///===-------------------------------------------------------------------===//
/// Definitions of all of the base types for the Type system. Based on this
/// value, you can cast to a "DerivedType" subclass (see DerivedTypes.h)
More information about the llvm-commits
mailing list