[OpenCL] Fix qualifiers check on binding references to temporaries
authorOle Strohm <olemarius.strohm@arm.com>
Wed, 23 Jun 2021 09:52:58 +0000 (10:52 +0100)
committerOle Strohm <olemarius.strohm@arm.com>
Tue, 29 Jun 2021 09:03:57 +0000 (10:03 +0100)
commit78d309ce197c30593450e792b0c2dc7a575f0050
tree1ace17b16c9dd7addeb61e4f5e4b802ce9cd623d
parentd6b64612bd92cda8b53ef348fb578983124c600f
[OpenCL] Fix qualifiers check on binding references to temporaries

Fix the qualifiers check from PR49733.

Fixes: PR49733

Reviewed By: Anastasia

Differential Revision: https://reviews.llvm.org/D103962
clang/lib/Sema/SemaInit.cpp