summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/Indexing.cpp
diff options
context:
space:
mode:
authorDylan Noblesmith <nobled@dreamwidth.org>2012-02-13 12:32:21 +0000
committerDylan Noblesmith <nobled@dreamwidth.org>2012-02-13 12:32:21 +0000
commit1cd1069b688629f3c0fe99604ecc8d9969911fb8 (patch)
tree135548ad7f7dd66f6bfd2f1fb531c0e221e686b1 /clang/tools/libclang/Indexing.cpp
parent01b2c9e82fa70dd94076daedbdb090a430581637 (diff)
downloadbcm5719-llvm-1cd1069b688629f3c0fe99604ecc8d9969911fb8.tar.gz
bcm5719-llvm-1cd1069b688629f3c0fe99604ecc8d9969911fb8.zip
drop more llvm:: prefixes on OwningPtr<>
More cleanup after r149798. llvm-svn: 150379
Diffstat (limited to 'clang/tools/libclang/Indexing.cpp')
-rw-r--r--clang/tools/libclang/Indexing.cpp12
1 files changed, 6 insertions, 6 deletions
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<DiagnosticsEngine> >
DiagCleanup(Diags.getPtr());
- llvm::OwningPtr<std::vector<const char *> >
+ OwningPtr<std::vector<const char *> >
Args(new std::vector<const char*>());
// 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<MemBufferOwner> BufOwner(new MemBufferOwner());
+ OwningPtr<MemBufferOwner> BufOwner(new MemBufferOwner());
// Recover resources if we crash before exiting this method.
llvm::CrashRecoveryContextCleanupRegistrar<MemBufferOwner>
@@ -337,13 +337,13 @@ static void clang_indexSourceFile_Impl(void *UserData) {
ASTUnit *Unit = ASTUnit::create(CInvok.getPtr(), Diags,
/*CaptureDiagnostics=*/true);
- llvm::OwningPtr<CXTUOwner> CXTU(new CXTUOwner(MakeCXTranslationUnit(Unit)));
+ OwningPtr<CXTUOwner> CXTU(new CXTUOwner(MakeCXTranslationUnit(Unit)));
// Recover resources if we crash before exiting this method.
llvm::CrashRecoveryContextCleanupRegistrar<CXTUOwner>
CXTUCleanup(CXTU.get());
- llvm::OwningPtr<IndexingFrontendAction> IndexAction;
+ OwningPtr<IndexingFrontendAction> 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<IndexingContext> IndexCtx;
+ OwningPtr<IndexingContext> IndexCtx;
IndexCtx.reset(new IndexingContext(client_data, CB, index_options, TU));
// Recover resources if we crash before exiting this method.
llvm::CrashRecoveryContextCleanupRegistrar<IndexingContext>
IndexCtxCleanup(IndexCtx.get());
- llvm::OwningPtr<IndexingConsumer> IndexConsumer;
+ OwningPtr<IndexingConsumer> IndexConsumer;
IndexConsumer.reset(new IndexingConsumer(*IndexCtx));
// Recover resources if we crash before exiting this method.
OpenPOWER on IntegriCloud