r306660 - Revert r306653, "[OpenCL] Allow function declaration with empty argument list."

2017-06-29 Thread NAKAMURA Takumi via cfe-commits
Author: chapuni Date: Thu Jun 29 03:47:23 2017 New Revision: 306660 URL: http://llvm.org/viewvc/llvm-project?rev=306660&view=rev Log: Revert r306653, "[OpenCL] Allow function declaration with empty argument list." It broke bots. Removed: cfe/trunk/test/SemaOpenCL/funct

r306653 - [OpenCL] Allow function declaration with empty argument list.

2017-06-29 Thread Alexey Bader via cfe-commits
Author: bader Date: Thu Jun 29 01:44:10 2017 New Revision: 306653 URL: http://llvm.org/viewvc/llvm-project?rev=306653&view=rev Log: [OpenCL] Allow function declaration with empty argument list. Summary: does it make sense to enable K&R function declaration style for OpenCL? clang throws following