Page MenuHomePhabricator

[OpenCL] Improving OpenCL function pointer error checking to catch lone function designator
AcceptedPublic

Authored by neil.hickey on Dec 21 2015, 8:16 AM.

Details

Summary

An undecorated function designator implies taking the address of a function, which is illegal in OpenCL. Implementing a check for this earlier to allow the error to be reported even in the presence of other more obvious errors.

Diff Detail

Event Timeline

neil.hickey retitled this revision from to [OpenCL] Improving OpenCL function pointer error checking to catch lone function designator.
neil.hickey updated this object.
neil.hickey added a reviewer: cfe-commits.
This revision is now accepted and ready to land.Dec 30 2015, 10:39 AM