This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Avoid including <alloca.h> on FreeBSD and NetBSD
ClosedPublic

Authored by dim on Aug 7 2021, 1:00 PM.

Details

Summary

Instead, include <cstdlib> which is the canonical header containing
the declaration of alloca().

Diff Detail

Event Timeline

dim created this revision.Aug 7 2021, 1:00 PM
dim requested review of this revision.Aug 7 2021, 1:00 PM
bondhugula accepted this revision.Aug 7 2021, 9:27 PM
This revision is now accepted and ready to land.Aug 7 2021, 9:27 PM
This revision was automatically updated to reflect the committed changes.