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 /lib/VMCore/Globals.cpp | |
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 'lib/VMCore/Globals.cpp')
-rw-r--r-- | lib/VMCore/Globals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Globals.cpp b/lib/VMCore/Globals.cpp index aa4c30aab0..e01dedd597 100644 --- a/lib/VMCore/Globals.cpp +++ b/lib/VMCore/Globals.cpp @@ -187,7 +187,7 @@ void GlobalVariable::copyAttributesFrom(const GlobalValue *Src) { //===----------------------------------------------------------------------===// GlobalAlias::GlobalAlias(const Type *Ty, LinkageTypes Link, - const std::string &Name, Constant* aliasee, + const Twine &Name, Constant* aliasee, Module *ParentModule) : GlobalValue(Ty, Value::GlobalAliasVal, &Op<0>(), 1, Link, Name) { LeakDetector::addGarbageObject(this); |