aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/GlobalVariable.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-11-26 18:46:40 +0000
committerChris Lattner <sabre@nondot.org>2001-11-26 18:46:40 +0000
commit6197b0fe5466f3df29946bdcd47bd2ad462ea007 (patch)
tree479a7400d4b26569d036e7cd2bff0cd659a92e7e /include/llvm/GlobalVariable.h
parentc5d1d20e2859d631bc65160726e7a656d1da4277 (diff)
downloadexternal_llvm-6197b0fe5466f3df29946bdcd47bd2ad462ea007.zip
external_llvm-6197b0fe5466f3df29946bdcd47bd2ad462ea007.tar.gz
external_llvm-6197b0fe5466f3df29946bdcd47bd2ad462ea007.tar.bz2
Implement "internal vs external linkage" which corresponds to the C notion of static
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1362 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/GlobalVariable.h')
-rw-r--r--include/llvm/GlobalVariable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/GlobalVariable.h b/include/llvm/GlobalVariable.h
index cce4aac..2be424d 100644
--- a/include/llvm/GlobalVariable.h
+++ b/include/llvm/GlobalVariable.h
@@ -24,8 +24,8 @@ class GlobalVariable : public GlobalValue {
bool Constant; // Is this a global constant?
public:
- GlobalVariable(const Type *Ty, bool isConstant, ConstPoolVal *Initializer = 0,
- const string &Name = "");
+ GlobalVariable(const Type *Ty, bool isConstant, bool isInternal,
+ ConstPoolVal *Initializer = 0, const string &Name = "");
~GlobalVariable() {}
// Specialize setName to handle symbol table majik...