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()); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits