[PATCH] D73128: [OPENMP][NVPTX]Add NVPTX specific definitions for new/delete operators.

Johannes Doerfert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 21 11:46:26 PST 2020


jdoerfert added a comment.

In D73128#1832033 <https://reviews.llvm.org/D73128#1832033>, @ABataev wrote:

> A note: this header file requires to include stdlib.h too to see the declarations of malloc/free. Shall We include it here to fix it? otherwise the error is reported that malloc and free are declared.


Including it here seems fine to me. Probably <cstdlib>


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73128/new/

https://reviews.llvm.org/D73128





More information about the cfe-commits mailing list