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
Unit Tests
Time | Test | |
---|---|---|
400 ms | linux > HWAddressSanitizer-x86_64.TestCases::sizes.cpp |
Event Timeline
clang/lib/Parse/ParsePragma.cpp | ||
---|---|---|
3041 | 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 | ||
---|---|---|
3041 | 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 ...