diff options
author | Douglas Yung <douglas.yung@sony.com> | 2018-05-16 00:27:43 +0000 |
---|---|---|
committer | Douglas Yung <douglas.yung@sony.com> | 2018-05-16 00:27:43 +0000 |
commit | dd41a5831496b9acbc92c43916a2d4466b6c82de (patch) | |
tree | 39c7ac35f4c3484547d8d49174e57ddf3ccdb678 /lib/Frontend/CompilerInvocation.cpp | |
parent | 2f3b3999e2b6a14cfb87fae4d0a18db8ece7ae71 (diff) | |
download | clang-dd41a5831496b9acbc92c43916a2d4466b6c82de.tar.gz |
Revert commits r332160, r332164, r332236.
It was decided this is the wrong approach to fix this issue.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332421 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | lib/Frontend/CompilerInvocation.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp index b8e05b523e..05e5196e32 100644 --- a/lib/Frontend/CompilerInvocation.cpp +++ b/lib/Frontend/CompilerInvocation.cpp @@ -2751,16 +2751,6 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK, << A->getAsString(Args) << A->getValue(); } } - // The PS4 requires version 6 of the clang ABI. - if (T.isPS4()) { - // Issue a warning if another version of the ABI was requested. - if (Args.getLastArg(OPT_fclang_abi_compat_EQ) && - Opts.getClangABICompat() != LangOptions::ClangABI::Ver6) { - Diags.Report(diag::warn_drv_ignored_clang_abi_version) - << 6; - } - Opts.setClangABICompat(LangOptions::ClangABI::Ver6); - } } static bool isStrictlyPreprocessorAction(frontend::ActionKind Action) { |