diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-10-09 20:46:28 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-10-09 20:46:28 +0000 |
commit | 238b6a9d33bf87e23f86866885394cd453a06495 (patch) | |
tree | 72f903f2fa73aadd2f84cb3a8c176ed00a4a59e8 /include | |
parent | bc0a2bb8dc122f8daae890ec82cecfe2054859eb (diff) |
The clang driver has a fairly fancy support for executing gcc instead of
clang itself. This dates back to clang's early days and while it looks like
some of it is still used (for kext for example), other parts are probably dead.
Remove the -ccc-clang-archs option and associated code. I don't think there
is any remaining setup where clang doesn't support an architecture but it can
expect an working gcc cross compiler to be available.
A nice side effect is that tests no longer need to differentiate architectures
that are included in production builds of clang and those that are not.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165545 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/Basic/DiagnosticDriverKinds.td | 2 | ||||
-rw-r--r-- | include/clang/Driver/Driver.h | 4 | ||||
-rw-r--r-- | include/clang/Driver/Options.td | 3 |
3 files changed, 0 insertions, 9 deletions
diff --git a/include/clang/Basic/DiagnosticDriverKinds.td b/include/clang/Basic/DiagnosticDriverKinds.td index e0a89a1cc3..fd38f1fd9f 100644 --- a/include/clang/Basic/DiagnosticDriverKinds.td +++ b/include/clang/Basic/DiagnosticDriverKinds.td @@ -123,8 +123,6 @@ def warn_drv_not_using_clang_cpp : Warning< "not using the clang preprocessor due to user override">; def warn_drv_not_using_clang_cxx : Warning< "not using the clang compiler for C++ inputs">; -def warn_drv_not_using_clang_arch : Warning< - "not using the clang compiler for the '%0' architecture">; def warn_drv_clang_unsupported : Warning< "the clang compiler does not support '%0'">; def warn_drv_assuming_mfloat_abi_is : Warning< diff --git a/include/clang/Driver/Driver.h b/include/clang/Driver/Driver.h index f436e04756..3ab98f7b76 100644 --- a/include/clang/Driver/Driver.h +++ b/include/clang/Driver/Driver.h @@ -164,10 +164,6 @@ public: unsigned CCCUsePCH : 1; private: - /// Only use clang for the given architectures (only used when - /// non-empty). - std::set<llvm::Triple::ArchType> CCCClangArchs; - /// Certain options suppress the 'no input files' warning. bool SuppressMissingInputWarning : 1; diff --git a/include/clang/Driver/Options.td b/include/clang/Driver/Options.td index aeb7e1be33..af5824aa23 100644 --- a/include/clang/Driver/Options.td +++ b/include/clang/Driver/Options.td @@ -99,9 +99,6 @@ def ccc_no_clang : Flag<"-ccc-no-clang">, CCCDriverOpt, HelpText<"Disable the clang compiler">; def ccc_no_clang_cpp : Flag<"-ccc-no-clang-cpp">, CCCDriverOpt, HelpText<"Disable the clang preprocessor">; -def ccc_clang_archs : Separate<"-ccc-clang-archs">, CCCDriverOpt, - HelpText<"Comma separate list of architectures to use the clang compiler for">, - MetaVarName<"<arch-list>">; def ccc_pch_is_pch : Flag<"-ccc-pch-is-pch">, CCCDriverOpt, HelpText<"Use lazy PCH for precompiled headers">; def ccc_pch_is_pth : Flag<"-ccc-pch-is-pth">, CCCDriverOpt, |