aboutsummaryrefslogtreecommitdiff
path: root/tools/libclang/Indexing.cpp
diff options
context:
space:
mode:
authorDylan Noblesmith <nobled@dreamwidth.org>2012-02-20 14:00:23 +0000
committerDylan Noblesmith <nobled@dreamwidth.org>2012-02-20 14:00:23 +0000
commitc93dc7889644293e318e19d82830ea2acc45b678 (patch)
treede423914cb6cfda9e4cee58cf3d6a70bb7e7c07f /tools/libclang/Indexing.cpp
parent345032a7211a6f983d59c30c0b3fa2b96819532a (diff)
Basic: import IntrusiveRefCntPtr<> into clang namespace
The class name is long enough without the llvm:: added. Also bring in RefCountedBase and RefCountedBaseVPTR. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang/Indexing.cpp')
-rw-r--r--tools/libclang/Indexing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libclang/Indexing.cpp b/tools/libclang/Indexing.cpp
index d1af38887b..69ddc42b76 100644
--- a/tools/libclang/Indexing.cpp
+++ b/tools/libclang/Indexing.cpp
@@ -279,7 +279,7 @@ static void clang_indexSourceFile_Impl(void *UserData) {
// Configure the diagnostics.
DiagnosticOptions DiagOpts;
- llvm::IntrusiveRefCntPtr<DiagnosticsEngine>
+ IntrusiveRefCntPtr<DiagnosticsEngine>
Diags(CompilerInstance::createDiagnostics(DiagOpts, num_command_line_args,
command_line_args,
CaptureDiag,
@@ -309,7 +309,7 @@ static void clang_indexSourceFile_Impl(void *UserData) {
if (source_filename)
Args->push_back(source_filename);
- llvm::IntrusiveRefCntPtr<CompilerInvocation>
+ IntrusiveRefCntPtr<CompilerInvocation>
CInvok(createInvocationFromCommandLine(*Args, Diags));
if (!CInvok)