]> granicus.if.org Git - clang/commitdiff
PR13575: Fix test
authorJan Korous <jkorous@apple.com>
Mon, 9 Oct 2017 20:17:28 +0000 (20:17 +0000)
committerJan Korous <jkorous@apple.com>
Mon, 9 Oct 2017 20:17:28 +0000 (20:17 +0000)
Ignore OS-specific mangled name.

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

test/Index/USR/array-type.cpp

index 2ebeb7f4a1d0e26caa805424dd02fc9514d1c882..40ff20d388a5889a0a17415857d6200f921f728d 100644 (file)
@@ -3,9 +3,9 @@
 // Function template specializations differing in array type parameter should have unique USRs.
 
 template<class buffer> void foo(buffer);
-// CHECK: {{[0-9]+}}:17 | function(Gen,TS)/C++ | foo | c:@F@foo<#{n16C>#*C# | __Z3fooIA16_cEvT_ | Decl,RelSpecialization | rel: 1
+// CHECK: {{[0-9]+}}:17 | function(Gen,TS)/C++ | foo | c:@F@foo<#{n16C>#*C#
 template<> void foo<char[16]>(char[16]);
-// CHECK: {{[0-9]+}}:17 | function(Gen,TS)/C++ | foo | c:@F@foo<#{n32C>#*C# | __Z3fooIA32_cEvT_ | Decl,RelSpecialization | rel: 1
+// CHECK: {{[0-9]+}}:17 | function(Gen,TS)/C++ | foo | c:@F@foo<#{n32C>#*C#
 template<> void foo<char[32]>(char[32]);
-// CHECK: {{[0-9]+}}:17 | function(Gen,TS)/C++ | foo | c:@F@foo<#{n64C>#*C# | __Z3fooIA64_cEvT_ | Decl,RelSpecialization | rel: 1
+// CHECK: {{[0-9]+}}:17 | function(Gen,TS)/C++ | foo | c:@F@foo<#{n64C>#*C#
 template<> void foo<char[64]>(char[64]);