diff options
author | Egor Churaev <egor.churaev@gmail.com> | 2016-12-23 14:55:49 +0000 |
---|---|---|
committer | Egor Churaev <egor.churaev@gmail.com> | 2016-12-23 14:55:49 +0000 |
commit | 0a3f510ca42ba60aeab099e8d06fdbfe64d8a085 (patch) | |
tree | 91e803d129d9ebf7ebe0be6d30337e2d9c82178d /lib/Edit/RewriteObjCFoundationAPI.cpp | |
parent | 69ae954baa3407614ec3a949135af7d2b5acd554 (diff) | |
download | clang-0a3f510ca42ba60aeab099e8d06fdbfe64d8a085.tar.gz |
Fix problems in "[OpenCL] Enabling the usage of CLK_NULL_QUEUE as compare operand."
Summary: Fixed warnings in commit: https://reviews.llvm.org/rL290171
Reviewers: djasper, Anastasia
Subscribers: yaxunl, cfe-commits, bader
Differential Revision: https://reviews.llvm.org/D27981
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290431 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Edit/RewriteObjCFoundationAPI.cpp')
-rw-r--r-- | lib/Edit/RewriteObjCFoundationAPI.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Edit/RewriteObjCFoundationAPI.cpp b/lib/Edit/RewriteObjCFoundationAPI.cpp index 0ae1ec7e4b..2148316532 100644 --- a/lib/Edit/RewriteObjCFoundationAPI.cpp +++ b/lib/Edit/RewriteObjCFoundationAPI.cpp @@ -1076,6 +1076,7 @@ static bool rewriteToNumericBoxedExpression(const ObjCMessageExpr *Msg, case CK_CopyAndAutoreleaseBlockObject: case CK_BuiltinFnToFnPtr: case CK_ZeroToOCLEvent: + case CK_ZeroToOCLQueue: case CK_IntToOCLSampler: return false; |