[Openmp-commits] [openmp] [openmp][omptest] Include cstdlib for malloc() (PR #202021)

Paul Osmialowski via Openmp-commits openmp-commits at lists.llvm.org
Sat Jun 6 02:42:03 PDT 2026


pawosm-arm wrote:

> Copilot triggered by your comment on #154786 claims that also cstring is missing in this file, I assume for memset.

We need to agree on one rule here. The `assert()` is also used, but we don't include `cassert`, as it is included by `OmptAssertEvent.h` (included from the affected file). Similarly, `cstring` is being included by `InternalEvent.h` which is included by `OmptAssertEvent.h` (included from the affected file).

https://github.com/llvm/llvm-project/pull/202021


More information about the Openmp-commits mailing list