Include Missing Libraries (#2201)

Minor Style: non-auto to auto
This commit is contained in:
micttyl
2022-09-21 09:09:13 -07:00
committed by GitHub
parent b464a0ac3d
commit 2df87ddacc
4 changed files with 8 additions and 1 deletions
+1
View File
@@ -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 {
+2 -1
View File
@@ -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;