Merging r294313:
authorTom Stellard <tstellar@redhat.com>
Tue, 16 May 2017 12:00:44 +0000 (12:00 +0000)
committerTom Stellard <tstellar@redhat.com>
Tue, 16 May 2017 12:00:44 +0000 (12:00 +0000)
commitd9ff11a2c98fd83a55ca1c572edd63d56c56c017
tree1412a34ff206b9457fbc7a8e335616736f887470
parent6f1871cebb5ec9a3950bdb44dfa030dd2b4c05ec
Merging r294313:

------------------------------------------------------------------------
r294313 | stulova | 2017-02-07 11:09:41 -0500 (Tue, 07 Feb 2017) | 9 lines

[OpenCL] Accept logical NOT for pointer types in CL1.1

Fix for bug 30217 - incorrect error given for logical
NOT operation with a pointer type: corrected sema check
and improved related tests.

Review: D29038

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_40@303161 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/SemaOpenCL/invalid-logical-ops-1.1.cl [deleted file]
test/SemaOpenCL/logical-ops.cl [moved from test/SemaOpenCL/invalid-logical-ops-1.2.cl with 59% similarity]