[llvm-commits] CVS: llvm/lib/VMCore/Value.cpp
Chris Lattner
sabre at nondot.org
Thu Feb 15 10:54:15 PST 2007
Changes in directory llvm/lib/VMCore:
Value.cpp updated: 1.68 -> 1.69
---
Log message:
Add a new Value::getNameStr method, which is preferred over getName.
---
Diffs of the changes: (+1 -1)
Value.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/VMCore/Value.cpp
diff -u llvm/lib/VMCore/Value.cpp:1.68 llvm/lib/VMCore/Value.cpp:1.69
--- llvm/lib/VMCore/Value.cpp:1.68 Tue Feb 13 01:53:34 2007
+++ llvm/lib/VMCore/Value.cpp Thu Feb 15 12:53:54 2007
@@ -112,7 +112,7 @@
return false;
}
-std::string Value::getName() const {
+std::string Value::getNameStr() const {
if (Name == 0) return "";
return std::string(Name->getKeyData(),
Name->getKeyData()+Name->getKeyLength());
More information about the llvm-commits
mailing list