diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-11-16 04:40:11 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-11-16 04:40:11 +0000 |
commit | 3a4c8cf5c0669f48a66da2df30c7963dce8348ff (patch) | |
tree | fc60c5781d0d9b3480978b8f90b2f7d70a7dce9e | |
parent | 49a87549f4dc95ecb3d8a593b71df7c167a51f85 (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
-rw-r--r-- | unittests/Basic/SourceManagerTest.cpp | 2 | ||||
-rw-r--r-- | unittests/Lex/LexerTest.cpp | 2 | ||||
-rw-r--r-- | unittests/Lex/PPCallbacksTest.cpp | 2 | ||||
-rw-r--r-- | unittests/Lex/PreprocessingRecordTest.cpp | 2 |
4 files changed, 4 insertions, 4 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; diff --git a/unittests/Lex/LexerTest.cpp b/unittests/Lex/LexerTest.cpp index e95cd023ab..ed4c815a8a 100644 --- a/unittests/Lex/LexerTest.cpp +++ b/unittests/Lex/LexerTest.cpp @@ -39,7 +39,7 @@ protected: TargetOpts(new TargetOptions) { TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; - Target = TargetInfo::CreateTargetInfo(Diags, *TargetOpts); + Target = TargetInfo::CreateTargetInfo(Diags, &*TargetOpts); } FileSystemOptions FileMgrOpts; 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; diff --git a/unittests/Lex/PreprocessingRecordTest.cpp b/unittests/Lex/PreprocessingRecordTest.cpp index 815081aa7e..6056d55f9c 100644 --- a/unittests/Lex/PreprocessingRecordTest.cpp +++ b/unittests/Lex/PreprocessingRecordTest.cpp @@ -40,7 +40,7 @@ protected: TargetOpts(new TargetOptions) { TargetOpts->Triple = "x86_64-apple-darwin11.1.0"; - Target = TargetInfo::CreateTargetInfo(Diags, *TargetOpts); + Target = TargetInfo::CreateTargetInfo(Diags, &*TargetOpts); } FileSystemOptions FileMgrOpts; |