summaryrefslogtreecommitdiffstats
path: root/clang/lib/Index/USRGeneration.cpp
diff options
context:
space:
mode:
authorAnastasia Stulova <anastasia.stulova@arm.com>2017-02-16 12:27:47 +0000
committerAnastasia Stulova <anastasia.stulova@arm.com>2017-02-16 12:27:47 +0000
commit58984e7087bc530ac2fae06b3ef15a4f1bc118f9 (patch)
treea11b867cfc2d17c70b6e9e73f7e97429791d848b /clang/lib/Index/USRGeneration.cpp
parentb1701e0b058113a0d1a9c624e480859b26f1345c (diff)
downloadbcm5719-llvm-58984e7087bc530ac2fae06b3ef15a4f1bc118f9.tar.gz
bcm5719-llvm-58984e7087bc530ac2fae06b3ef15a4f1bc118f9.zip
[OpenCL] Correct ndrange_t implementation
Removed ndrange_t as Clang builtin type and added as a struct type in the OpenCL header. Use type name to do the Sema checking in enqueue_kernel and modify IR generation accordingly. Review: D28058 Patch by Dmitry Borisenkov! llvm-svn: 295311
Diffstat (limited to 'clang/lib/Index/USRGeneration.cpp')
-rw-r--r--clang/lib/Index/USRGeneration.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Index/USRGeneration.cpp b/clang/lib/Index/USRGeneration.cpp
index 3960074b5a4..73dddd9a8b3 100644
--- a/clang/lib/Index/USRGeneration.cpp
+++ b/clang/lib/Index/USRGeneration.cpp
@@ -654,7 +654,6 @@ void USRGenerator::VisitType(QualType T) {
case BuiltinType::OCLEvent:
case BuiltinType::OCLClkEvent:
case BuiltinType::OCLQueue:
- case BuiltinType::OCLNDRange:
case BuiltinType::OCLReserveID:
case BuiltinType::OCLSampler:
IgnoreResults = true;
OpenPOWER on IntegriCloud