[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

llvm-svn: 341314

clang/test/Index/opencl-types.cl

index d71893a..75a584c 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