diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-07-25 06:02:13 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-07-25 06:02:13 +0000 |
commit | 92ccf70ad448eb02f9f273d2c70ae4708b3bd0f2 (patch) | |
tree | 79e29e5f8e24b6c70ff964e42d9b438c3b11eddf /include/llvm/GlobalValue.h | |
parent | 8b5ee823c2393d15c74e2dda0c46f8a2c6f40dc8 (diff) | |
download | llvm-92ccf70ad448eb02f9f273d2c70ae4708b3bd0f2.tar.gz llvm-92ccf70ad448eb02f9f273d2c70ae4708b3bd0f2.tar.bz2 llvm-92ccf70ad448eb02f9f273d2c70ae4708b3bd0f2.tar.xz |
Finish migrating VMCore to StringRef/Twine based APIs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77051 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/GlobalValue.h')
-rw-r--r-- | include/llvm/GlobalValue.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/GlobalValue.h b/include/llvm/GlobalValue.h index d53d49bfec..7b0de34d9c 100644 --- a/include/llvm/GlobalValue.h +++ b/include/llvm/GlobalValue.h @@ -90,7 +90,7 @@ public: bool hasSection() const { return !Section.empty(); } const std::string &getSection() const { return Section; } - void setSection(const std::string &S) { Section = S; } + void setSection(const StringRef &S) { Section = S; } /// If the usage is empty (except transitively dead constants), then this /// global value can can be safely deleted since the destructor will |