aboutsummaryrefslogtreecommitdiff
path: root/unittests/Lex/PPCallbacksTest.cpp
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/Lex/PPCallbacksTest.cpp
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/Lex/PPCallbacksTest.cpp')
-rw-r--r--unittests/Lex/PPCallbacksTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Lex/PPCallbacksTest.cpp b/unittests/Lex/PPCallbacksTest.cpp
index 6e7efa980c..b388527791 100644
--- a/unittests/Lex/PPCallbacksTest.cpp
+++ b/unittests/Lex/PPCallbacksTest.cpp
@@ -84,7 +84,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;