Skip to content

Commit

Permalink
[misc] Remove some unnecessary #include lines (#4265)
Browse files Browse the repository at this point in the history
  • Loading branch information
PGZXB committed Feb 14, 2022
1 parent a7f09f2 commit 150097e
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions taichi/backends/cc/codegen_cc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
#include "taichi/ir/transforms.h"
#include "taichi/util/line_appender.h"
#include "taichi/util/str.h"
#ifdef TI_WITH_LLVM
#include "taichi/llvm/llvm_program.h"
#endif
#include "cc_utils.h"

#define C90_COMPAT 0
Expand Down
1 change: 1 addition & 0 deletions taichi/backends/wasm/aot_module_builder_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include "taichi/program/aot_module.h"
#include "taichi/program/kernel.h"
#include "taichi/llvm/llvm_fwd.h"

#include "taichi/backends/wasm/codegen_wasm.h"

Expand Down
1 change: 0 additions & 1 deletion taichi/jit/jit_module.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include <functional>

#include "taichi/inc/constants.h"
#include "taichi/llvm/llvm_fwd.h"
#include "taichi/lang_util.h"
#include "taichi/program/kernel_profiler.h"

Expand Down
2 changes: 1 addition & 1 deletion taichi/system/snode_tree_buffer_manager.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "taichi/llvm/llvm_context.h"
#include "taichi/inc/constants.h"
#include "taichi/struct/snode_tree.h"
#define TI_RUNTIME_HOST
Expand All @@ -10,6 +9,7 @@ using Ptr = uint8_t *;

TLANG_NAMESPACE_BEGIN

class JITModule;
class ProgramImpl;

class SNodeTreeBufferManager {
Expand Down

0 comments on commit 150097e

Please sign in to comment.