aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-04-14 07:19:20 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-04-14 07:19:20 +0000
commit55d6f50b23a1fd0a04b568787a25beb7537e6c9b (patch)
tree9d33a74fa6e3f602c14967d2d877d55fad749c71 /lib/CodeGen/CodeGenModule.h
parent7dbd8197040313d796282d4af06eccdf8a17319c (diff)
Split SetGlobalValueAttributes into definition/declaration halves.
- No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69035 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index b38633db91..3dada6d1b7 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/lib/CodeGen/CodeGenModule.h
@@ -323,11 +323,14 @@ private:
const llvm::PointerType *PTy,
const VarDecl *D);
- /// SetGlobalValueAttributes - Set attributes for a global decl.
- void SetGlobalValueAttributes(const Decl *D,
- GVALinkage Linkage,
- llvm::GlobalValue *GV,
- bool ForDefinition);
+ /// SetGVDefinitionAttributes - Set attributes for a global definition.
+ void SetGVDefinitionAttributes(const Decl *D,
+ GVALinkage Linkage,
+ llvm::GlobalValue *GV);
+
+ /// SetGVDeclarationAttributes - Set attributes for a global declaration.
+ void SetGVDeclarationAttributes(const Decl *D,
+ llvm::GlobalValue *GV);
/// SetFunctionAttributesForDefinition - Set function attributes specific to a
/// function definition.