Attribute nothrow is only allowed on functions, so I added that. Additionally,
it lacks any documentation, so I added some. Please wordsmith!
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
include/clang/Basic/AttrDocs.td | ||
---|---|---|
2692 ↗ | (On Diff #116424) | Should probably add something about __declspec(nothrow) as well. Are the semantics really identical to noexcept? For instance, does std::terminate() get called if a function is marked __declspec(nothrow) and it throws, or does it simply crash? |
2694 ↗ | (On Diff #116424) | "does cannot" |
include/clang/Basic/AttrDocs.td | ||
---|---|---|
2692 ↗ | (On Diff #116424) | I'm unable in GCC to identify any difference between nothrow and noexcept. It DOES do std::terminate in 7.2, and presumably older versions as well. |