diff options
Diffstat (limited to 'CodeGen/CodeGenModule.h')
-rw-r--r-- | CodeGen/CodeGenModule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CodeGen/CodeGenModule.h b/CodeGen/CodeGenModule.h index acfb3349e6..6653e50881 100644 --- a/CodeGen/CodeGenModule.h +++ b/CodeGen/CodeGenModule.h @@ -67,6 +67,7 @@ public: llvm::Module &getModule() const { return TheModule; } CodeGenTypes &getTypes() { return Types; } Diagnostic &getDiags() const { return Diags; } + const llvm::TargetData &getTargetData() const { return TheTargetData; } llvm::Constant *GetAddrOfFunctionDecl(const FunctionDecl *D, bool isDefinition); |