Re: r368561 - [OpenCL] Ignore parentheses for sampler initialization

2019-08-14 Thread Hans Wennborg via cfe-commits
behalf of Sven van > Haastregt via cfe-commits > Sent: 12 August 2019 13:44 > To: cfe-commits@lists.llvm.org > Subject: r368561 - [OpenCL] Ignore parentheses for sampler initialization > > Author: svenvh > Date: Mon Aug 12 05:44:26 2019 > New Revision: 368561 > >

Re: r368561 - [OpenCL] Ignore parentheses for sampler initialization

2019-08-13 Thread Anastasia Stulova via cfe-commits
Hi Hans, Can this be merged into the release 9.0 branch please? Thank you! Anastasia From: cfe-commits on behalf of Sven van Haastregt via cfe-commits Sent: 12 August 2019 13:44 To: cfe-commits@lists.llvm.org Subject: r368561 - [OpenCL] Ignore parentheses

r368561 - [OpenCL] Ignore parentheses for sampler initialization

2019-08-12 Thread Sven van Haastregt via cfe-commits
Author: svenvh Date: Mon Aug 12 05:44:26 2019 New Revision: 368561 URL: http://llvm.org/viewvc/llvm-project?rev=368561&view=rev Log: [OpenCL] Ignore parentheses for sampler initialization The sampler handling logic in SemaInit.cpp would inadvertently treat parentheses around sampler arguments as