[PATCH] D31745: [OpenCL] Added diagnostic for implicit declaration of function in OpenCL
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 6 07:28:37 PDT 2017
yaxunl added a comment.
What happens if user declared a function without parameter as `void f();` instead of `void f(void)` then try to use it? Will this be treated as implicit declaration and results in an error instead of warning?
https://reviews.llvm.org/D31745
More information about the cfe-commits
mailing list