[PATCH] D52839: Inform AST's UnaryOperator of FENV_ACCESS

Kevin P. Neal via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 3 11:43:42 PDT 2018


kpn created this revision.
kpn added a reviewer: rsmith.
Herald added a reviewer: javed.absar.
Herald added a subscriber: cfe-commits.

The UnaryOperator needs to know about #pragma FENV_ACCESS to eventually properly emit the constrained math intrinsics. This diff just gets the information about the pragma into that part of the AST.

The visible behavior of clang is unaffected and so this cannot yet be tested.


Repository:
  rC Clang

https://reviews.llvm.org/D52839

Files:
  include/clang/AST/Expr.h
  lib/AST/ASTImporter.cpp
  lib/Analysis/BodyFarm.cpp
  lib/CodeGen/CGObjC.cpp
  lib/CodeGen/CGStmtOpenMP.cpp
  lib/Frontend/Rewrite/RewriteModernObjC.cpp
  lib/Frontend/Rewrite/RewriteObjC.cpp
  lib/Sema/SemaDeclCXX.cpp
  lib/Sema/SemaExpr.cpp
  lib/Sema/SemaExprObjC.cpp
  lib/Sema/SemaOverload.cpp
  lib/Sema/SemaPseudoObject.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52839.168146.patch
Type: text/x-patch
Size: 23365 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181003/3903474b/attachment-0001.bin>


More information about the cfe-commits mailing list