aboutsummaryrefslogtreecommitdiff
path: root/unittests/Basic
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-11-16 04:40:11 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-11-16 04:40:11 +0000
commit3a4c8cf5c0669f48a66da2df30c7963dce8348ff (patch)
treefc60c5781d0d9b3480978b8f90b2f7d70a7dce9e /unittests/Basic
parent49a87549f4dc95ecb3d8a593b71df7c167a51f85 (diff)
clang/unittests: Fixup corresponding to Doug's r168136.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168137 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Basic')
-rw-r--r--unittests/Basic/SourceManagerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Basic/SourceManagerTest.cpp b/unittests/Basic/SourceManagerTest.cpp
index 6f404b541c..066a7e0fd1 100644
--- a/unittests/Basic/SourceManagerTest.cpp
+++ b/unittests/Basic/SourceManagerTest.cpp
@@ -39,7 +39,7 @@ protected:
SourceMgr(Diags, FileMgr),
TargetOpts(new TargetOptions) {
TargetOpts->Triple = "x86_64-apple-darwin11.1.0";
- Target = TargetInfo::CreateTargetInfo(Diags, *TargetOpts);
+ Target = TargetInfo::CreateTargetInfo(Diags, &*TargetOpts);
}
FileSystemOptions FileMgrOpts;