Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

16 lines
361 B
C++

// Copyright (c) 2020-now by the Zeek Project. See LICENSE for details.
#pragma once
#include <hilti/ast/forward.h>
namespace hilti::detail::optimizer {
/**
* Applies optimizations to an AST. The AST must have been fully processed
* before running optimization.
*/
void optimize(Builder* builder, ASTRoot* root);
} // namespace hilti::detail::optimizer