From dd0feea8e655fd121b6beb76ef0d96e229d0db13 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Wed, 12 Feb 2014 08:21:59 -0800 Subject: [PATCH] Remove more unused includes --- src/compiler/build_tables/first_set.cpp | 3 --- src/compiler/build_tables/first_set.h | 1 - src/compiler/build_tables/follow_sets.cpp | 1 - src/compiler/build_tables/item_set_closure.cpp | 4 ---- src/compiler/build_tables/item_set_transitions.cpp | 2 -- src/compiler/build_tables/perform.cpp | 1 - 6 files changed, 12 deletions(-) diff --git a/src/compiler/build_tables/first_set.cpp b/src/compiler/build_tables/first_set.cpp index 474edbea..833cc208 100644 --- a/src/compiler/build_tables/first_set.cpp +++ b/src/compiler/build_tables/first_set.cpp @@ -1,11 +1,8 @@ #include "first_set.h" #include "rule_can_be_blank.h" #include "grammar.h" -#include using std::set; -using std::vector; -using std::dynamic_pointer_cast; using namespace tree_sitter::rules; namespace tree_sitter { diff --git a/src/compiler/build_tables/first_set.h b/src/compiler/build_tables/first_set.h index 89b2b320..cf0038e1 100644 --- a/src/compiler/build_tables/first_set.h +++ b/src/compiler/build_tables/first_set.h @@ -1,7 +1,6 @@ #ifndef __tree_sitter__first_set__ #define __tree_sitter__first_set__ -#include "item.h" #include "symbol.h" #include diff --git a/src/compiler/build_tables/follow_sets.cpp b/src/compiler/build_tables/follow_sets.cpp index f209ccb6..b6191942 100644 --- a/src/compiler/build_tables/follow_sets.cpp +++ b/src/compiler/build_tables/follow_sets.cpp @@ -6,7 +6,6 @@ using std::map; using std::set; -using std::dynamic_pointer_cast; using tree_sitter::rules::Symbol; namespace tree_sitter { diff --git a/src/compiler/build_tables/item_set_closure.cpp b/src/compiler/build_tables/item_set_closure.cpp index 3580fffa..f7d50c16 100644 --- a/src/compiler/build_tables/item_set_closure.cpp +++ b/src/compiler/build_tables/item_set_closure.cpp @@ -2,10 +2,6 @@ #include "./follow_sets.h" #include "grammar.h" #include "item.h" -#include - -using std::set; -using std::vector; namespace tree_sitter { namespace build_tables { diff --git a/src/compiler/build_tables/item_set_transitions.cpp b/src/compiler/build_tables/item_set_transitions.cpp index 214c0aec..b9dae56e 100644 --- a/src/compiler/build_tables/item_set_transitions.cpp +++ b/src/compiler/build_tables/item_set_transitions.cpp @@ -3,8 +3,6 @@ #include "rule_transitions.h" #include "merge_transitions.h" -using std::make_shared; -using std::shared_ptr; using std::map; namespace tree_sitter { diff --git a/src/compiler/build_tables/perform.cpp b/src/compiler/build_tables/perform.cpp index 3ece9f46..46da6db6 100644 --- a/src/compiler/build_tables/perform.cpp +++ b/src/compiler/build_tables/perform.cpp @@ -7,7 +7,6 @@ using std::pair; using std::string; -using std::vector; using std::map; namespace tree_sitter {