Pragma 'clang fp' is extended to support a new option, 'exceptions'. It
allows to specify floating point exception behavior more flexibly.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/lib/Parse/ParsePragma.cpp | ||
---|---|---|
3054 | I think it's easier to understand if it's written to parallel the other 2 fp pragmas that have similar semantics (contract and reassociate). |
clang/lib/Parse/ParsePragma.cpp | ||
---|---|---|
3054 | It makes sense. This is a parser semantic action, they usually have names ActOn.... I didn't rename setExceptionMode , as in future we might need to set exception behavior from a place other than Parser. |
do you mean pragma clang fp ...