[PATCH] D105988: [OpenCL] NULL introduced prior to v2.0
Anastasia Stulova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 14 08:19:39 PDT 2021
Anastasia added a comment.
This seems reasonable.
================
Comment at: clang/test/SemaOpenCL/null_literal.cl:7
#define NULL ((void*)0)
----------------
I think we should remove this `NULL` definition but instead add `-finclude-default-header -fdeclare-opencl-builtins` to test the definition you are adding in the header.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105988/new/
https://reviews.llvm.org/D105988
More information about the cfe-commits
mailing list