JSSpecCompiler: Refactor CompilerPass to accept TranslationUnitRef

This commit is contained in:
Dan Klishch
2023-09-29 19:43:19 -04:00
committed by Andrew Kaster
parent 24682f5dcf
commit 61fa00d46c
8 changed files with 48 additions and 13 deletions

View File

@@ -52,7 +52,7 @@ RecursionDecision RecursiveASTVisitor::recurse(Tree root, NodeSubtreePointer& po
return RecursionDecision::Continue;
}
void GenericASTPass::run()
void GenericASTPass::process_function()
{
run_in_subtree(m_function->m_ast);
}