mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 14:11:05 +01:00
@@ -29,6 +29,7 @@ cc_library(
|
||||
hdrs = ["parse_subtree_consumer.h"],
|
||||
deps = [
|
||||
"//common:check",
|
||||
"//toolchain/parser:parse_node_kind",
|
||||
"//toolchain/parser:parse_tree",
|
||||
"@llvm-project//llvm:Support",
|
||||
],
|
||||
|
||||
@@ -5,6 +5,10 @@
|
||||
#include "toolchain/semantics/parse_subtree_consumer.h"
|
||||
|
||||
#include "common/check.h"
|
||||
#include "llvm/ADT/None.h"
|
||||
#include "llvm/ADT/Optional.h"
|
||||
#include "toolchain/parser/parse_node_kind.h"
|
||||
#include "toolchain/parser/parse_tree.h"
|
||||
|
||||
namespace Carbon {
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <iterator>
|
||||
|
||||
#include "llvm/ADT/Optional.h"
|
||||
#include "toolchain/parser/parse_node_kind.h"
|
||||
#include "toolchain/parser/parse_tree.h"
|
||||
|
||||
namespace Carbon {
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#ifndef CARBON_TOOLCHAIN_SEMANTICS_SEMANTICS_IR_H_
|
||||
#define CARBON_TOOLCHAIN_SEMANTICS_SEMANTICS_IR_H_
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "toolchain/parser/parse_tree.h"
|
||||
#include "toolchain/semantics/node_store.h"
|
||||
@@ -24,7 +25,7 @@ class SemanticsIR {
|
||||
}
|
||||
|
||||
// Prints the node information.
|
||||
void Print(llvm::raw_ostream& out, Semantics::NodeRef node_ref) const;
|
||||
auto Print(llvm::raw_ostream& out, Semantics::NodeRef node_ref) const -> void;
|
||||
|
||||
private:
|
||||
friend class SemanticsIRFactory;
|
||||
|
||||
Reference in New Issue
Block a user