We have in place support for parsing #pragma FENV_ACCESS, but that information is then discarded with a warning to the user that we don't support it.
This patch gets us one step closer by getting the info down into the AST.
| Paths 
 |  Differential  D49865  
Inform the AST of #pragma FENV_ACCESS use ClosedPublic Authored by kpn on Jul 26 2018, 10:07 AM. 
Details Summary We have in place support for parsing #pragma FENV_ACCESS, but that information is then discarded with a warning to the user that we don't support it. This patch gets us one step closer by getting the info down into the AST. 
Diff Detail 
 Event TimelineComment Actions Thanks, this is definitely a step in the right direction. 
 rsmith added inline comments. This revision is now accepted and ready to land.Jul 30 2018, 12:56 PM Comment Actions Thanks for the fast turnaround! I don't have commit access, can I get you to commit it for me? And can I get you to put my email address <kevin.neal@sas.com> in the commit message? I'll start looking at Sema like you said. kpn marked an inline comment as done.Comment Actions This includes the change to pass the annotation token when FENV_ACCESS is turned off. 
Revision Contents 
 
Diff 160626 cfe/trunk/include/clang/AST/Expr.h
 cfe/trunk/include/clang/Basic/LangOptions.h
 cfe/trunk/include/clang/Basic/TokenKinds.def
 cfe/trunk/include/clang/Parse/Parser.h
 cfe/trunk/include/clang/Sema/Sema.h
 
 cfe/trunk/lib/Parse/ParsePragma.cpp
 cfe/trunk/lib/Parse/ParseStmt.cpp
 cfe/trunk/lib/Parse/Parser.cpp
 cfe/trunk/lib/Sema/SemaAttr.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||