Skip to content

Commit 4887496

Browse files
committed
test(using): in-class using-declaration permutations
1 parent 5e879b1 commit 4887496

File tree

5 files changed

+1576
-131
lines changed

5 files changed

+1576
-131
lines changed

src/lib/AST/ASTVisitor.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ traverse(DeclTy const* D)
118118

119119
auto exp = upsert<R>(D);
120120
MRDOCS_CHECK_OR(exp, nullptr);
121-
auto& [I, isNew] = *exp;
121+
auto& I = exp->I;
122+
auto& isNew = exp->isNew;
122123

123124
// Populate the base classes with the necessary information.
124125
// Even when the object is new, we want to update the source locations
@@ -2803,6 +2804,8 @@ bool
28032804
ASTVisitor::
28042805
checkFileFilters(Decl const* D)
28052806
{
2807+
MRDOCS_SYMBOL_TRACE(D, context_);
2808+
28062809
FileInfo* fileInfo = findFileInfo(D);
28072810
MRDOCS_CHECK_OR(fileInfo, false);
28082811

0 commit comments

Comments
 (0)