forked from OSchip/llvm-project
Revert r231008 (and dependent r231019).
As Chandler responded on the initial commit, just directly setting the triple through -Xclang option to the driver creates havoc on other platforms. The driver test should specifically go into test/Driver and test the cc1 commandline itself. llvm-svn: 231063
This commit is contained in:
parent
cf0805b872
commit
34d761d893
|
@ -3448,7 +3448,6 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
|
|||
Args.AddLastArg(CmdArgs, options::OPT_objcmt_migrate_all);
|
||||
Args.AddLastArg(CmdArgs, options::OPT_objcmt_migrate_readonly_property);
|
||||
Args.AddLastArg(CmdArgs, options::OPT_objcmt_migrate_readwrite_property);
|
||||
Args.AddLastArg(CmdArgs, options::OPT_objcmt_migrate_property_dot_syntax);
|
||||
Args.AddLastArg(CmdArgs, options::OPT_objcmt_migrate_annotation);
|
||||
Args.AddLastArg(CmdArgs, options::OPT_objcmt_migrate_instancetype);
|
||||
Args.AddLastArg(CmdArgs, options::OPT_objcmt_migrate_nsmacros);
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
// RUN: %clang_cc1 -objcmt-migrate-property-dot-syntax -mt-migrate-directory %t %s -x objective-c -fobjc-runtime-has-weak -fobjc-arc -triple x86_64-apple-darwin11
|
||||
// RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result
|
||||
// RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c -fobjc-runtime-has-weak -fobjc-arc %s.result
|
||||
// RUN: rm -rf %t.1
|
||||
// RUN: %clang -fsyntax-only -objcmt-migrate-property-dot-syntax -Xclang -mt-migrate-directory -Xclang %t.1 %s -Xclang -triple -Xclang x86_64-apple-darwin11
|
||||
|
||||
// rdar://18498572
|
||||
@interface NSObject @end
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
// RUN: %clang_cc1 -objcmt-migrate-property-dot-syntax -mt-migrate-directory %t %s -x objective-c -fobjc-runtime-has-weak -fobjc-arc -triple x86_64-apple-darwin11
|
||||
// RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result
|
||||
// RUN: %clang_cc1 -fblocks -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c -fobjc-runtime-has-weak -fobjc-arc %s.result
|
||||
// RUN: rm -rf %t.1
|
||||
// RUN: %clang -fsyntax-only -objcmt-migrate-property-dot-syntax -Xclang -mt-migrate-directory -Xclang %t.1 %s -Xclang -triple -Xclang x86_64-apple-darwin11
|
||||
|
||||
// rdar://18498572
|
||||
@interface NSObject @end
|
||||
|
|
Loading…
Reference in New Issue