[PATCH] D87822: [FPEnv] Evaluate constant expressions under non-default rounding modes

Serge Pavlov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 24 01:59:54 PDT 2020


sepavloff updated this revision to Diff 293974.
sepavloff marked an inline comment as done.
sepavloff added a comment.

Updated patch

- improved Expr::getFPFeaturesInEffect,
- added tests for _Complex,
- added tests for constexpr,
- added chech in HandleFloatToFloatCast,
- implemented printing FPOptions in CompoundAssignOperator.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87822/new/

https://reviews.llvm.org/D87822

Files:
  clang/include/clang/AST/Expr.h
  clang/lib/AST/Expr.cpp
  clang/lib/AST/ExprConstant.cpp
  clang/lib/AST/TextNodeDumper.cpp
  clang/lib/Sema/SemaAttr.cpp
  clang/test/AST/const-fpfeatures-diag.c
  clang/test/AST/const-fpfeatures.c
  clang/test/AST/const-fpfeatures.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87822.293974.patch
Type: text/x-patch
Size: 12447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200924/278a09d0/attachment.bin>


More information about the cfe-commits mailing list