[llvm-commits] CVS: llvm/include/llvm/Constant.h
Jim Laskey
jlaskey at apple.com
Wed Mar 8 10:11:22 PST 2006
Changes in directory llvm/include/llvm:
Constant.h updated: 1.27 -> 1.28
---
Log message:
Get rid of the multiple copies of getStringValue. Now a Constant:: method.
---
Diffs of the changes: (+5 -0)
Constant.h | 5 +++++
1 files changed, 5 insertions(+)
Index: llvm/include/llvm/Constant.h
diff -u llvm/include/llvm/Constant.h:1.27 llvm/include/llvm/Constant.h:1.28
--- llvm/include/llvm/Constant.h:1.27 Fri Dec 16 18:19:22 2005
+++ llvm/include/llvm/Constant.h Wed Mar 8 12:11:06 2006
@@ -90,6 +90,11 @@
/// constant subsystem, which can be used in environments where this memory
/// is otherwise reported as a leak.
static void clearAllValueMaps();
+
+ /// getStringValue - Turn an LLVM constant pointer that eventually points to a
+ /// global into a string value. Return an empty string if we can't do it.
+ ///
+ std::string getStringValue(unsigned Offset = 0);
};
} // End llvm namespace
More information about the llvm-commits
mailing list