summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
-rw-r--r--clang/lib/Driver/Tools.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp
index 84c3228f6d2..9cd411d6549 100644
--- a/clang/lib/Driver/Tools.cpp
+++ b/clang/lib/Driver/Tools.cpp
@@ -3968,8 +3968,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
// explicitly passed, error out. Otherwise enable rtti and emit a
// warning.
if (Triple.isPS4CPU()) {
- if (Arg *A = Args.getLastArg(options::OPT_fcxx_exceptions,
- options::OPT_fexceptions)) {
+ if (Arg *A = Args.getLastArg(options::OPT_fcxx_exceptions)) {
if (NoRTTIArg)
D.Diag(diag::err_drv_argument_not_allowed_with)
<< NoRTTIArg->getAsString(Args) << A->getAsString(Args);
OpenPOWER on IntegriCloud