aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2008-04-19 04:17:09 +0000
committerNate Begeman <natebegeman@mac.com>2008-04-19 04:17:09 +0000
commit8bd4afeb876fd0015bb808eb2f3de1fe709658a7 (patch)
tree362833f12587d36e36f3a338bbb2a7be316fd346 /lib/CodeGen/CodeGenModule.h
parent532485cc6c078d9e51b517c6bbd8984deb17f0fe (diff)
Generate code for annotation attributes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49951 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index e192e9913e..d40e35e00c 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/lib/CodeGen/CodeGenModule.h
@@ -23,7 +23,7 @@ namespace llvm {
class Module;
class Constant;
class Function;
- class GlobalVariable;
+ class GlobalValue;
class TargetData;
}
@@ -39,6 +39,7 @@ namespace clang {
class TypeDecl;
struct LangOptions;
class Diagnostic;
+ class AnnotateAttr;
namespace CodeGen {
@@ -110,6 +111,8 @@ public:
void UpdateCompletedType(const TagDecl *D);
llvm::Constant *EmitGlobalInit(const Expr *E);
llvm::Constant *EmitConstantExpr(const Expr *E, CodeGenFunction *CGF = 0);
+ llvm::Constant *EmitAnnotateAttr(llvm::GlobalValue *GV,
+ const AnnotateAttr *AA, unsigned LineNo);
/// WarnUnsupported - Print out a warning that codegen doesn't support the
/// specified stmt yet.