summaryrefslogtreecommitdiffstats
path: root/unittests
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 /unittests
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 'unittests')
-rw-r--r--unittests/Basic/SourceManagerTest.cpp4
-rw-r--r--unittests/Lex/LexerTest.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/unittests/Basic/SourceManagerTest.cpp b/unittests/Basic/SourceManagerTest.cpp
index 14f5b22a0c..65d57b67b5 100644
--- a/unittests/Basic/SourceManagerTest.cpp
+++ b/unittests/Basic/SourceManagerTest.cpp
@@ -40,12 +40,12 @@ protected:
FileSystemOptions FileMgrOpts;
FileManager FileMgr;
- llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
+ IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
DiagnosticsEngine Diags;
SourceManager SourceMgr;
LangOptions LangOpts;
TargetOptions TargetOpts;
- llvm::IntrusiveRefCntPtr<TargetInfo> Target;
+ IntrusiveRefCntPtr<TargetInfo> Target;
};
class VoidModuleLoader : public ModuleLoader {
diff --git a/unittests/Lex/LexerTest.cpp b/unittests/Lex/LexerTest.cpp
index 28199c4aac..584ca10365 100644
--- a/unittests/Lex/LexerTest.cpp
+++ b/unittests/Lex/LexerTest.cpp
@@ -39,12 +39,12 @@ protected:
FileSystemOptions FileMgrOpts;
FileManager FileMgr;
- llvm::IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
+ IntrusiveRefCntPtr<DiagnosticIDs> DiagID;
DiagnosticsEngine Diags;
SourceManager SourceMgr;
LangOptions LangOpts;
TargetOptions TargetOpts;
- llvm::IntrusiveRefCntPtr<TargetInfo> Target;
+ IntrusiveRefCntPtr<TargetInfo> Target;
};
class VoidModuleLoader : public ModuleLoader {