diff options
Diffstat (limited to 'include/llvm/Value.h')
-rw-r--r-- | include/llvm/Value.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h index f59e946..164c7ee 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -75,9 +75,7 @@ public: inline bool hasName() const { return !Name.empty(); } inline const std::string &getName() const { return Name; } - virtual void setName(const std::string &name) { - Name = name; - } + void setName(const std::string &name); /// replaceAllUsesWith - Go through the uses list for this definition and make /// each use point to "V" instead of "this". After this completes, 'this's |