summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/CodeGen/ModuleBuilder.cpp')
-rw-r--r--clang/CodeGen/ModuleBuilder.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/clang/CodeGen/ModuleBuilder.cpp b/clang/CodeGen/ModuleBuilder.cpp
index 2de81721826..16b13d1c4dd 100644
--- a/clang/CodeGen/ModuleBuilder.cpp
+++ b/clang/CodeGen/ModuleBuilder.cpp
@@ -13,28 +13,27 @@
#include "clang/CodeGen/ModuleBuilder.h"
#include "CodeGenModule.h"
-using namespace llvm;
using namespace clang;
/// Init - Create an ModuleBuilder with the specified ASTContext.
-llvm::clang::CodeGen::BuilderTy *
-llvm::clang::CodeGen::Init(ASTContext &Context, Module &M) {
+clang::CodeGen::BuilderTy *
+clang::CodeGen::Init(ASTContext &Context, llvm::Module &M) {
return new CodeGenModule(Context, M);
}
-void llvm::clang::CodeGen::Terminate(BuilderTy *B) {
+void clang::CodeGen::Terminate(BuilderTy *B) {
delete static_cast<CodeGenModule*>(B);
}
/// CodeGenFunction - Convert the AST node for a FunctionDecl into LLVM.
///
-void llvm::clang::CodeGen::CodeGenFunction(BuilderTy *B, FunctionDecl *D) {
+void clang::CodeGen::CodeGenFunction(BuilderTy *B, FunctionDecl *D) {
static_cast<CodeGenModule*>(B)->EmitFunction(D);
}
/// PrintStats - Emit statistic information to stderr.
///
-void llvm::clang::CodeGen::PrintStats(BuilderTy *B) {
+void clang::CodeGen::PrintStats(BuilderTy *B) {
static_cast<CodeGenModule*>(B)->PrintStats();
}
OpenPOWER on IntegriCloud