Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Jul 23, 2024
1 parent 1c1ed6e commit 9df76c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/testsymboldatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4994,22 +4994,22 @@ class TestSymbolDatabase : public TestFixture {
"template <typename T>\n"
"auto optional<T>::value() const & -> T const & {}\n"
"optional<int> i;");

ASSERT_EQUALS(5, db->scopeList.size());
ASSERT_EQUALS(3, db->functionScopes.size());

const Scope *f = db->functionScopes[0];
ASSERT(f->function->hasBody());
ASSERT(!f->function->isConst());
ASSERT(f->function->hasTrailingReturnType());
ASSERT(f->function->hasLvalRefQualifier());

f = db->functionScopes[1];
ASSERT(f->function->hasBody());
ASSERT(!f->function->isConst());
ASSERT(f->function->hasTrailingReturnType());
ASSERT(f->function->hasRvalRefQualifier());

f = db->functionScopes[2];
ASSERT(f->function->hasBody());
ASSERT(f->function->isConst());
Expand Down

0 comments on commit 9df76c2

Please sign in to comment.