Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Jul 18, 2024
1 parent b4b2021 commit 19548cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/symboldatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6130,7 +6130,7 @@ S* findRecordInNestedListImpl(S& thisScope, const std::string & name, bool isC)

for (const auto& u : thisScope.usingList) {
if (!u.scope)
continue;
continue;
S* nestedScope = const_cast<S*>(u.scope)->findRecordInNestedList(name, false);
if (nestedScope)
return nestedScope;
Expand Down
2 changes: 1 addition & 1 deletion test/testsymboldatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6471,7 +6471,7 @@ class TestSymbolDatabase : public TestFixture {
ASSERT_EQUALS(E0, e->enumerator());
}
{
GET_SYMBOL_DB("namespace ns {\n"
GET_SYMBOL_DB("namespace ns {\n" // #12114
" enum { V1 };\n"
" struct C1 {\n"
" enum { V2 };\n"
Expand Down

0 comments on commit 19548cd

Please sign in to comment.