Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LG
| llvm/docs/LangRef.rst | ||
|---|---|---|
| 1643 | Nit: why callee and not function? We could even say explicitly the function can write the memory it returns (before it returns it), e.g., calloc. | |
Comment Actions
It was ambiguous before because this is exactly what I thought it meant. Even though the memory becomes accessible after returning, it is not accessible during the call so it should be allowed to be modified. I think this clarification makes it a lot more clear.
Nit: why callee and not function? We could even say explicitly the function can write the memory it returns (before it returns it), e.g., calloc.