mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 21:41:27 +01:00
Remove typed_nodes.h from tree.h and node_stack.h (#7510)
Remove toolchain/parse/typed_nodes.h from transitive imports of tree.h and node_stack.h to reduce compile-time overhead in toolchain/check. Add an explicit include of typed_nodes.h to tree_and_subtrees.cpp where it is needed for instantiating templates. Assisted-by: Antigravity with Gemini
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
#include "toolchain/base/fixed_size_value_store.h"
|
||||
#include "toolchain/lex/token_index.h"
|
||||
#include "toolchain/parse/typed_nodes.h"
|
||||
|
||||
namespace Carbon::Parse {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user