Make member variables of AsmToken private. Remove unnecessary forward declarations...
[oota-llvm.git] / include / llvm / Type.h
index d3b2f1383fb4874a8f29734388332edcb639cf93..185258d8ff2afcd27d0b1d690d2d5f3fb4d7c6e0 100644 (file)
@@ -26,6 +26,7 @@ class raw_ostream;
 class Module;
 class LLVMContext;
 class LLVMContextImpl;
+class StringRef;
 template<class GraphType> struct GraphTraits;
 
 /// The instances of the Type class are immutable: once they are created,
@@ -327,7 +328,9 @@ public:
   unsigned getFunctionNumParams() const;
   bool isFunctionVarArg() const;
   
-  // TODO: StructType
+  StringRef getStructName() const;
+  unsigned getStructNumElements() const;
+  Type *getStructElementType(unsigned N) const;
   
   Type *getSequentialElementType() const;