[llvm-commits] CVS: llvm/include/llvm/Analysis/DSSupport.h

Chris Lattner lattner at cs.uiuc.edu
Wed Nov 6 23:22:04 PST 2002


Changes in directory llvm/include/llvm/Analysis:

DSSupport.h updated: 1.4 -> 1.5

---
Log message:

Expose isPointerType to clients of dsanalysis


---
Diffs of the changes:

Index: llvm/include/llvm/Analysis/DSSupport.h
diff -u llvm/include/llvm/Analysis/DSSupport.h:1.4 llvm/include/llvm/Analysis/DSSupport.h:1.5
--- llvm/include/llvm/Analysis/DSSupport.h:1.4	Wed Nov  6 12:02:26 2002
+++ llvm/include/llvm/Analysis/DSSupport.h	Wed Nov  6 23:21:15 2002
@@ -26,6 +26,11 @@
   enum { PointerShift = 3,     // 64bit ptrs = 3, 32 bit ptrs = 2
          PointerSize = 1 << PointerShift
   };
+
+  // isPointerType - Return true if this first class type is big enough to hold
+  // a pointer.
+  //
+  bool isPointerType(const Type *Ty);
 };
 
 //===----------------------------------------------------------------------===//





More information about the llvm-commits mailing list