diff options
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index b38633db91d..3dada6d1b76 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/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. |