diff options
author | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-02-05 02:12:40 +0000 |
---|---|---|
committer | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-02-05 02:12:40 +0000 |
commit | e27789991d575c2e6662961f2a57b2f5c3e8a9e3 (patch) | |
tree | 3038c972e5daee2cfd7e15f595902188aa8a2554 /clang/lib/CodeGen/ModuleBuilder.cpp | |
parent | 9ef84dde4997d66069db99c3b5756be9ffdf4e0e (diff) | |
download | bcm5719-llvm-e27789991d575c2e6662961f2a57b2f5c3e8a9e3.tar.gz bcm5719-llvm-e27789991d575c2e6662961f2a57b2f5c3e8a9e3.zip |
Basic: import OwningPtr<> into clang namespace
llvm-svn: 149798
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
-rw-r--r-- | clang/lib/CodeGen/ModuleBuilder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/ModuleBuilder.cpp b/clang/lib/CodeGen/ModuleBuilder.cpp index 8aa788d9a15..ddbe27bc176 100644 --- a/clang/lib/CodeGen/ModuleBuilder.cpp +++ b/clang/lib/CodeGen/ModuleBuilder.cpp @@ -28,12 +28,12 @@ using namespace clang; namespace { class CodeGeneratorImpl : public CodeGenerator { DiagnosticsEngine &Diags; - llvm::OwningPtr<const llvm::TargetData> TD; + OwningPtr<const llvm::TargetData> TD; ASTContext *Ctx; const CodeGenOptions CodeGenOpts; // Intentionally copied in. protected: - llvm::OwningPtr<llvm::Module> M; - llvm::OwningPtr<CodeGen::CodeGenModule> Builder; + OwningPtr<llvm::Module> M; + OwningPtr<CodeGen::CodeGenModule> Builder; public: CodeGeneratorImpl(DiagnosticsEngine &diags, const std::string& ModuleName, const CodeGenOptions &CGO, llvm::LLVMContext& C) |