]> granicus.if.org Git - clang/commitdiff
[Index] Update tests allowing double4 type to be "invalid"
authorAlexey Sotkin <alexey.sotkin@intel.com>
Mon, 3 Sep 2018 12:43:26 +0000 (12:43 +0000)
committerAlexey Sotkin <alexey.sotkin@intel.com>
Mon, 3 Sep 2018 12:43:26 +0000 (12:43 +0000)
Fixes test failure after r341309

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341314 91177308-0d34-0410-b5e6-96231b3b80d8

test/Index/opencl-types.cl

index d71893a22085d41473a9734d2a83bc6a81d3f5c3..75a584c3391f09d7c56e09a66d290803733bc202 100644 (file)
@@ -21,7 +21,7 @@ void kernel testFloatTypes() {
 // CHECK: VarDecl=scalarFloat:13:9 (Definition) [type=float] [typekind=Float] [isPOD=1]
 // CHECK: VarDecl=vectorFloat:14:10 (Definition) [type=float4] [typekind=Typedef] [canonicaltype=float __attribute__((ext_vector_type(4)))] [canonicaltypekind=Unexposed] [isPOD=1]
 // CHECK: VarDecl=scalarDouble:15:10 (Definition){{( \(invalid\))?}} [type=double] [typekind=Double] [isPOD=1]
-// CHECK: VarDecl=vectorDouble:16:11 (Definition) [type=double4] [typekind=Typedef] [canonicaltype=double __attribute__((ext_vector_type(4)))] [canonicaltypekind=Unexposed] [isPOD=1]
+// CHECK: VarDecl=vectorDouble:16:11 (Definition){{( \(invalid\))?}} [type=double4] [typekind=Typedef] [canonicaltype=double __attribute__((ext_vector_type(4)))] [canonicaltypekind=Unexposed] [isPOD=1]
 
 #pragma OPENCL EXTENSION cl_khr_gl_msaa_sharing : enable