[llvm-commits] CVS: llvm-gcc/gcc/llvm-representation.h
Chris Lattner
lattner at cs.uiuc.edu
Wed Jun 2 13:49:02 PDT 2004
Changes in directory llvm-gcc/gcc:
llvm-representation.h updated: 1.6 -> 1.7
---
Log message:
Opaque types are composites too!
This fixes test/Regression/C++Frontend/2003-09-30-ForIncrementExprBug2: http://llvm.cs.uiuc.edu/PR2 .cpp
---
Diffs of the changes: (+1 -1)
Index: llvm-gcc/gcc/llvm-representation.h
diff -u llvm-gcc/gcc/llvm-representation.h:1.6 llvm-gcc/gcc/llvm-representation.h:1.7
--- llvm-gcc/gcc/llvm-representation.h:1.6 Fri May 7 11:55:49 2004
+++ llvm-gcc/gcc/llvm-representation.h Wed Jun 2 13:45:07 2004
@@ -417,7 +417,7 @@
((TY)->ID == PointerTyID || \
(llvm_type_is_primitive(TY) && (TY)->ID != VoidTyID))
#define llvm_type_is_composite(TY) \
- (((TY)->ID == StructTyID) || ((TY)->ID == ArrayTyID))
+ (((TY)->ID == StructTyID) || ((TY)->ID == ArrayTyID) || ((TY)->ID == OpaqueTyID))
#define llvm_type_is_signed(TY) \
((TY) == SByteTy || (TY) == ShortTy || (TY) == IntTy || (TY) == LongTy)
#define llvm_type_is_unsigned(TY) \
More information about the llvm-commits
mailing list