aboutsummaryrefslogtreecommitdiff
path: root/include/clang/CodeGen/ModuleBuilder.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/CodeGen/ModuleBuilder.h')
-rw-r--r--include/clang/CodeGen/ModuleBuilder.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/clang/CodeGen/ModuleBuilder.h b/include/clang/CodeGen/ModuleBuilder.h
index 9ca3648337..2ab7d2dc2b 100644
--- a/include/clang/CodeGen/ModuleBuilder.h
+++ b/include/clang/CodeGen/ModuleBuilder.h
@@ -24,13 +24,15 @@ namespace clang {
class FunctionDecl;
class FileVarDecl;
struct LangOptions;
+ class Diagnostic;
namespace CodeGen {
class CodeGenModule;
/// Init - Create an ModuleBuilder with the specified ASTContext.
CodeGenModule *Init(ASTContext &Context, const LangOptions &Features,
- llvm::Module &M, const llvm::TargetData &TD);
+ llvm::Module &M, const llvm::TargetData &TD,
+ Diagnostic &Diags);
/// CodeGenFunction - Convert the AST node for a FunctionDecl into LLVM.
///