summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDouglas Yung <douglas.yung@sony.com>2018-05-16 00:27:43 +0000
committerDouglas Yung <douglas.yung@sony.com>2018-05-16 00:27:43 +0000
commit9a40ff502f7ee68ffec7bb2197cf35b90ca052d3 (patch)
tree0292fc654c1b4ffc68c1b67ca20c93d8ad135302 /clang/lib/Frontend/CompilerInvocation.cpp
parentec8236ead1487e6a2d4f55a594c1a0144407a6c6 (diff)
downloadbcm5719-llvm-9a40ff502f7ee68ffec7bb2197cf35b90ca052d3.tar.gz
bcm5719-llvm-9a40ff502f7ee68ffec7bb2197cf35b90ca052d3.zip
Revert commits r332160, r332164, r332236.
It was decided this is the wrong approach to fix this issue. llvm-svn: 332421
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index b8e05b523ef..05e5196e32d 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/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) {
OpenPOWER on IntegriCloud