From 5c61d97ad442b2c0bbecb617c8f21857ce1fff6d Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 13 Feb 2009 22:08:43 +0000 Subject: IRgen support for attribute used. - PR3566 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64492 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/CodeGen/CodeGenModule.h') diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 967889a92d..4c2aeb75ac 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -284,6 +284,13 @@ public: private: + /// SetGlobalValueAttributes - Set attributes for a global decl. + void SetGlobalValueAttributes(const Decl *D, + bool IsInternal, + bool IsInline, + llvm::GlobalValue *GV, + bool ForDefinition); + /// SetFunctionAttributesForDefinition - Set function attributes specific to a /// function definition. /// \param D - The ObjCMethodDecl or FunctionDecl defining \arg F. -- cgit v1.2.3