summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-02-13 22:08:43 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-02-13 22:08:43 +0000
commit128a138a5783ee152eda2bf0633553470b35f8eb (patch)
tree029c78a836ea3fe3a497fde88af338a15c4d0833 /clang/lib/CodeGen/CodeGenModule.h
parent303284acfcb2093c3d3a10116f6f5ed5da740fd2 (diff)
downloadbcm5719-llvm-128a138a5783ee152eda2bf0633553470b35f8eb.tar.gz
bcm5719-llvm-128a138a5783ee152eda2bf0633553470b35f8eb.zip
IRgen support for attribute used.
- PR3566 llvm-svn: 64492
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 967889a92df..4c2aeb75ac2 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/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.
OpenPOWER on IntegriCloud