summaryrefslogtreecommitdiffstats
path: root/clang/include/clang/CodeGen/ModuleBuilder.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/include/clang/CodeGen/ModuleBuilder.h')
-rw-r--r--clang/include/clang/CodeGen/ModuleBuilder.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/include/clang/CodeGen/ModuleBuilder.h b/clang/include/clang/CodeGen/ModuleBuilder.h
index d364e1b619c..e9cb2b5bd41 100644
--- a/clang/include/clang/CodeGen/ModuleBuilder.h
+++ b/clang/include/clang/CodeGen/ModuleBuilder.h
@@ -16,6 +16,8 @@
namespace llvm {
class Module;
+}
+
namespace clang {
class ASTContext;
class FunctionDecl;
@@ -26,7 +28,7 @@ namespace CodeGen {
typedef void BuilderTy;
/// Init - Create an ModuleBuilder with the specified ASTContext.
- BuilderTy *Init(ASTContext &Context, Module &M);
+ BuilderTy *Init(ASTContext &Context, llvm::Module &M);
/// CodeGenFunction - Convert the AST node for a FunctionDecl into LLVM.
///
@@ -41,6 +43,5 @@ namespace CodeGen {
void Terminate(BuilderTy *Builder);
} // end namespace CodeGen
} // end namespace clang
-} // end namespace llvm
#endif
OpenPOWER on IntegriCloud