Update tests after detailed_name refinement: (anon) -> (anon struct)/(anon enum)/...

This commit is contained in:
Fangrui Song 2017-12-23 22:54:57 -08:00
parent cdcf75ac84
commit 09a23020de

View File

@ -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,