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 | fe40a35075be31b5cb830891605982c6a40c454c (patch) | |
tree | 8aafabfd9f959d4b1c0fc7cf6ed2ded3ca6f7ce9 /clang | |
parent | f8715de59984b77cc10bbe5939c64a3d4a257942 (diff) | |
download | bcm5719-llvm-fe40a35075be31b5cb830891605982c6a40c454c.tar.gz bcm5719-llvm-fe40a35075be31b5cb830891605982c6a40c454c.zip |
clang/unittests: Fixup corresponding to Doug's r168136.
llvm-svn: 168137
Diffstat (limited to 'clang')
-rw-r--r-- | clang/unittests/Basic/SourceManagerTest.cpp | 2 | ||||
-rw-r--r-- | clang/unittests/Lex/LexerTest.cpp | 2 | ||||
-rw-r--r-- | clang/unittests/Lex/PPCallbacksTest.cpp | 2 | ||||
-rw-r--r-- | clang/unittests/Lex/PreprocessingRecordTest.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/clang/unittests/Basic/SourceManagerTest.cpp b/clang/unittests/Basic/SourceManagerTest.cpp index 6f404b541cc..066a7e0fd18 100644 --- a/clang/unittests/Basic/SourceManagerTest.cpp +++ b/clang/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/clang/unittests/Lex/LexerTest.cpp b/clang/unittests/Lex/LexerTest.cpp index e95cd023ab9..ed4c815a8a0 100644 --- a/clang/unittests/Lex/LexerTest.cpp +++ b/clang/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/clang/unittests/Lex/PPCallbacksTest.cpp b/clang/unittests/Lex/PPCallbacksTest.cpp index 6e7efa980c9..b3885277914 100644 --- a/clang/unittests/Lex/PPCallbacksTest.cpp +++ b/clang/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/clang/unittests/Lex/PreprocessingRecordTest.cpp b/clang/unittests/Lex/PreprocessingRecordTest.cpp index 815081aa7e1..6056d55f9c8 100644 --- a/clang/unittests/Lex/PreprocessingRecordTest.cpp +++ b/clang/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; |