r366429 - Revert r366422: [OpenCL] Improve destructor support in C++ for OpenCL

2019-07-18 Thread Ilya Biryukov via cfe-commits
Author: ibiryukov Date: Thu Jul 18 04:55:33 2019 New Revision: 366429 URL: http://llvm.org/viewvc/llvm-project?rev=366429&view=rev Log: Revert r366422: [OpenCL] Improve destructor support in C++ for OpenCL Reason: this commit causes crashes in the clang compiler when building LLVM Support

Re: r366422 - [OpenCL] Improve destructor support in C++ for OpenCL

2019-07-18 Thread Ilya Biryukov via cfe-commits
Hi Marco, Your commit crashes clang when building the LLVM Support with libc++ library. I'll revert the commit to unbreak our integrate. See the details in the following bug: https://bugs.llvm.org/show_bug.cgi?id=42665 On Thu, Jul 18, 2019 at 1:42 PM Ilya Biryukov wrote: > Hi Marco, > > Your c

r366422 - [OpenCL] Improve destructor support in C++ for OpenCL

2019-07-18 Thread Marco Antognini via cfe-commits
Author: mantognini Date: Thu Jul 18 03:04:18 2019 New Revision: 366422 URL: http://llvm.org/viewvc/llvm-project?rev=366422&view=rev Log: [OpenCL] Improve destructor support in C++ for OpenCL Summary: This patch does mainly three things: 1. It fixes a false positive error detection in Sema that i