aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
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.