From 1cd1069b688629f3c0fe99604ecc8d9969911fb8 Mon Sep 17 00:00:00 2001 From: Dylan Noblesmith Date: Mon, 13 Feb 2012 12:32:21 +0000 Subject: drop more llvm:: prefixes on OwningPtr<> More cleanup after r149798. llvm-svn: 150379 --- clang/tools/libclang/Indexing.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'clang/tools/libclang/Indexing.cpp') diff --git a/clang/tools/libclang/Indexing.cpp b/clang/tools/libclang/Indexing.cpp index a70a3415431..0d6da2824da 100644 --- a/clang/tools/libclang/Indexing.cpp +++ b/clang/tools/libclang/Indexing.cpp @@ -280,7 +280,7 @@ static void clang_indexSourceFile_Impl(void *UserData) { llvm::CrashRecoveryContextReleaseRefCleanup > DiagCleanup(Diags.getPtr()); - llvm::OwningPtr > + OwningPtr > Args(new std::vector()); // Recover resources if we crash before exiting this method. @@ -312,7 +312,7 @@ static void clang_indexSourceFile_Impl(void *UserData) { if (CInvok->getFrontendOpts().Inputs.empty()) return; - llvm::OwningPtr BufOwner(new MemBufferOwner()); + OwningPtr BufOwner(new MemBufferOwner()); // Recover resources if we crash before exiting this method. llvm::CrashRecoveryContextCleanupRegistrar @@ -337,13 +337,13 @@ static void clang_indexSourceFile_Impl(void *UserData) { ASTUnit *Unit = ASTUnit::create(CInvok.getPtr(), Diags, /*CaptureDiagnostics=*/true); - llvm::OwningPtr CXTU(new CXTUOwner(MakeCXTranslationUnit(Unit))); + OwningPtr CXTU(new CXTUOwner(MakeCXTranslationUnit(Unit))); // Recover resources if we crash before exiting this method. llvm::CrashRecoveryContextCleanupRegistrar CXTUCleanup(CXTU.get()); - llvm::OwningPtr IndexAction; + OwningPtr IndexAction; IndexAction.reset(new IndexingFrontendAction(client_data, CB, index_options, CXTU->getTU())); @@ -496,14 +496,14 @@ static void clang_indexTranslationUnit_Impl(void *UserData) { ? index_callbacks_size : sizeof(CB); memcpy(&CB, client_index_callbacks, ClientCBSize); - llvm::OwningPtr IndexCtx; + OwningPtr IndexCtx; IndexCtx.reset(new IndexingContext(client_data, CB, index_options, TU)); // Recover resources if we crash before exiting this method. llvm::CrashRecoveryContextCleanupRegistrar IndexCtxCleanup(IndexCtx.get()); - llvm::OwningPtr IndexConsumer; + OwningPtr IndexConsumer; IndexConsumer.reset(new IndexingConsumer(*IndexCtx)); // Recover resources if we crash before exiting this method. -- cgit v1.2.3