From 09a23020de552d81ad5e375b4a5175cb188b07a5 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sat, 23 Dec 2017 22:54:57 -0800 Subject: [PATCH] Update tests after detailed_name refinement: (anon) -> (anon struct)/(anon enum)/... --- tests/types/anonymous_struct.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/types/anonymous_struct.cc b/tests/types/anonymous_struct.cc index 38e4bcb7..f21b100d 100644 --- a/tests/types/anonymous_struct.cc +++ b/tests/types/anonymous_struct.cc @@ -42,7 +42,7 @@ OUTPUT: "id": 0, "usr": "c:@U@vector3@Sa@FI@x", "short_name": "x", - "detailed_name": "float vector3::(anon)::x", + "detailed_name": "float vector3::(anon struct)::x", "definition_spelling": "2:18-2:19", "definition_extent": "2:12-2:19", "declaring_type": 1, @@ -52,7 +52,7 @@ OUTPUT: "id": 1, "usr": "c:@U@vector3@Sa@FI@y", "short_name": "y", - "detailed_name": "float vector3::(anon)::y", + "detailed_name": "float vector3::(anon struct)::y", "definition_spelling": "2:21-2:22", "definition_extent": "2:12-2:22", "declaring_type": 1, @@ -62,7 +62,7 @@ OUTPUT: "id": 2, "usr": "c:@U@vector3@Sa@FI@z", "short_name": "z", - "detailed_name": "float vector3::(anon)::z", + "detailed_name": "float vector3::(anon struct)::z", "definition_spelling": "2:24-2:25", "definition_extent": "2:12-2:25", "declaring_type": 1,