Update tests after improvement of function type heuristic

This commit is contained in:
Fangrui Song 2017-12-23 10:29:23 -08:00
parent 646d154b9b
commit f9f4020f3c
3 changed files with 5 additions and 5 deletions

View File

@ -53,7 +53,7 @@ OUTPUT:
"is_operator": false,
"usr": "c:@S@Foo@F@~Foo#",
"short_name": "~Foo",
"detailed_name": "void () noexcept Foo::~Foo",
"detailed_name": "void Foo::~Foo() noexcept",
"declarations": [],
"definition_spelling": "4:3-4:7",
"definition_extent": "4:3-4:12",

View File

@ -61,7 +61,7 @@ OUTPUT:
"is_operator": false,
"usr": "c:@S@Base0@F@~Base0#",
"short_name": "~Base0",
"detailed_name": "void () noexcept Base0::~Base0",
"detailed_name": "void Base0::~Base0() noexcept",
"declarations": [],
"definition_spelling": "2:11-2:17",
"definition_extent": "2:3-2:23",
@ -76,7 +76,7 @@ OUTPUT:
"is_operator": false,
"usr": "c:@S@Base1@F@~Base1#",
"short_name": "~Base1",
"detailed_name": "void () noexcept Base1::~Base1",
"detailed_name": "void Base1::~Base1() noexcept",
"declarations": [],
"definition_spelling": "5:11-5:17",
"definition_extent": "5:3-5:23",
@ -91,7 +91,7 @@ OUTPUT:
"is_operator": false,
"usr": "c:@S@Derived@F@~Derived#",
"short_name": "~Derived",
"detailed_name": "void () noexcept Derived::~Derived",
"detailed_name": "void Derived::~Derived() noexcept",
"declarations": [],
"definition_spelling": "8:3-8:11",
"definition_extent": "8:3-8:26",

View File

@ -29,7 +29,7 @@ OUTPUT:
"is_operator": false,
"usr": "c:@S@Foo@F@foo#1",
"short_name": "foo",
"detailed_name": "void () const Foo::foo",
"detailed_name": "void Foo::foo() const",
"declarations": [{
"spelling": "2:8-2:11",
"extent": "2:3-2:19",