diff options
author | Nico Weber <thakis@chromium.org> | 2022-02-15 22:02:25 -0500 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2022-02-15 22:02:25 -0500 |
commit | 125abb61f7ae52f9dbf4b82d5f90b70ef107fb62 (patch) | |
tree | 6c109e308402c6e5081590260d9da99668fa9299 /clang/lib/Parse/ParseStmt.cpp | |
parent | 25cdf87b13eb990eb84d31211280f4b0d5d470b3 (diff) | |
download | llvm-125abb61f7ae52f9dbf4b82d5f90b70ef107fb62.zip llvm-125abb61f7ae52f9dbf4b82d5f90b70ef107fb62.tar.gz llvm-125abb61f7ae52f9dbf4b82d5f90b70ef107fb62.tar.bz2 |
Revert "Add support for floating-point option `ffp-eval-method` and for"
This reverts commit 4bafe65c2b2f1ce745894a509a6d80c87fb1c335.
Breaks at least Misc/warning-flags.c, see comments on
https://reviews.llvm.org/D109239
Diffstat (limited to 'clang/lib/Parse/ParseStmt.cpp')
-rw-r--r-- | clang/lib/Parse/ParseStmt.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/clang/lib/Parse/ParseStmt.cpp b/clang/lib/Parse/ParseStmt.cpp index cadedf6..ee07775 100644 --- a/clang/lib/Parse/ParseStmt.cpp +++ b/clang/lib/Parse/ParseStmt.cpp @@ -1153,16 +1153,6 @@ StmtResult Parser::ParseCompoundStatementBody(bool isStmtExpr) { if (R.isUsable()) Stmts.push_back(R.get()); } - // Warn the user that using option `-ffp-eval-method=source` on a - // 32-bit target and feature `sse` disabled, or using - // `pragma clang fp eval_method=source` and feature `sse` disabled, is not - // supported. - if (!PP.getTargetInfo().supportSourceEvalMethod() && - (PP.getLastFPEvalPragmaLocation().isValid() || - PP.getCurrentFPEvalMethod() == - LangOptions::FPEvalMethodKind::FEM_Source)) - Diag(Tok.getLocation(), - diag::warn_no_support_for_eval_method_source_on_m32); SourceLocation CloseLoc = Tok.getLocation(); |