[PATCH] D86233: [LangRef] Define mustprogress attribute
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 25 09:35:39 PDT 2020
jdoerfert added a comment.
@nikic @lebedev.ri @efriedma I'm fine with (the slightly modified) wording below. If you are too I suggest we go ahead.
================
Comment at: llvm/docs/LangRef.rst:1963
+ Standard <http://eel.is/c++draft/intro.progress>`_. This attribute does
+ not apply transitively to callees. This is implied by `willreturn`.
----------------
```
This attribute indicates that the function is required to return, unwind,
or interact with the environment in an observable way e.g. via a
volatile memory access, I/O, or other synchronization.
The ``mustprogress`` attribute is intended to model the
requirements of the first section of `[intro.progress] of the C++
Standard <http://eel.is/c++draft/intro.progress>`_. This attribute does
not apply transitively to callees, that means a callee might not make progress.
Note that `willreturn` implies `mustprogress`.
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86233/new/
https://reviews.llvm.org/D86233
More information about the llvm-commits
mailing list