[FPEnv] Extended FPOptions with new attributes
authorSerge Pavlov <sepavloff@gmail.com>
Wed, 7 Aug 2019 16:31:26 +0000 (23:31 +0700)
committerSerge Pavlov <sepavloff@gmail.com>
Sun, 26 Jan 2020 14:03:53 +0000 (21:03 +0700)
commit4aea70ed3292f02aa111ff6894805e2613dd81e8
tree7d27f72fc171de68de4d9905cf748ef89db97dfa
parent4a5f9d9faf738de6ddefeb8b742e76cbaf6edc60
[FPEnv] Extended FPOptions with new attributes

This change added two new attributes, rounding mode and exception
behavior to the structure FPOptions. These attributes allow more
flexible treatment of specific floating point environment than it is
provided by #pragma STDC FENV_ACCESS.

Differential Revision: https://reviews.llvm.org/D65994
clang/include/clang/AST/Stmt.h
clang/include/clang/Basic/LangOptions.h
clang/include/clang/Sema/Sema.h
clang/lib/Parse/ParseStmt.cpp
clang/lib/Sema/SemaAttr.cpp
clang/lib/Sema/TreeTransform.h