summaryrefslogtreecommitdiff
path: root/include/llvm/GlobalValue.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-29 07:12:03 +0000
committerChris Lattner <sabre@nondot.org>2009-12-29 07:12:03 +0000
commit5a96f93573439be771ce9609fa2a5754c94485b6 (patch)
tree3b65a041478a5ebda6f1ffacdf9f3c7693dffbcb /include/llvm/GlobalValue.h
parent223497e1ef756176152ece14c3cac6213714425e (diff)
downloadllvm-5a96f93573439be771ce9609fa2a5754c94485b6.tar.gz
llvm-5a96f93573439be771ce9609fa2a5754c94485b6.tar.bz2
llvm-5a96f93573439be771ce9609fa2a5754c94485b6.tar.xz
sink twine.h down out of Value.h. It is annoying that you need
to #include Twine.h just to give a twine a default value. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92247 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/GlobalValue.h')
-rw-r--r--include/llvm/GlobalValue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/GlobalValue.h b/include/llvm/GlobalValue.h
index b8d219c726..9875a83310 100644
--- a/include/llvm/GlobalValue.h
+++ b/include/llvm/GlobalValue.h
@@ -56,7 +56,7 @@ public:
protected:
GlobalValue(const Type *ty, ValueTy vty, Use *Ops, unsigned NumOps,
- LinkageTypes linkage, const Twine &Name = "")
+ LinkageTypes linkage, const Twine &Name)
: Constant(ty, vty, Ops, NumOps), Parent(0),
Linkage(linkage), Visibility(DefaultVisibility), Alignment(0) {
setName(Name);