Changes in directory llvm/include/llvm:
Value.h updated: 1.97 -> 1.98 --- Log message: Add a new Value::getNameStr method, which is preferred over getName. --- Diffs of the changes: (+2 -1) Value.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/include/llvm/Value.h diff -u llvm/include/llvm/Value.h:1.97 llvm/include/llvm/Value.h:1.98 --- llvm/include/llvm/Value.h:1.97 Wed Feb 14 21:39:17 2007 +++ llvm/include/llvm/Value.h Thu Feb 15 12:53:54 2007 @@ -87,7 +87,8 @@ // All values can potentially be named... inline bool hasName() const { return Name != 0; } - std::string getName() const; + std::string getName() const { return getNameStr(); } + std::string getNameStr() const; ValueName *getValueName() const { return Name; } void setName(const std::string &name); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits