[llvm] 2d21851 - [llvm] Remove useless headers in example BrainF (#93701)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 8 06:33:46 PDT 2024
Author: FantasqueX
Date: 2024-06-08T21:33:43+08:00
New Revision: 2d21851fd560bd7a8f5d5cce22dc1c4966dc4092
URL: https://github.com/llvm/llvm-project/commit/2d21851fd560bd7a8f5d5cce22dc1c4966dc4092
DIFF: https://github.com/llvm/llvm-project/commit/2d21851fd560bd7a8f5d5cce22dc1c4966dc4092.diff
LOG: [llvm] Remove useless headers in example BrainF (#93701)
Added:
Modified:
llvm/examples/BrainF/BrainF.cpp
llvm/examples/BrainF/BrainFDriver.cpp
Removed:
################################################################################
diff --git a/llvm/examples/BrainF/BrainF.cpp b/llvm/examples/BrainF/BrainF.cpp
index 1c7cacba4fff8..ac01961735e13 100644
--- a/llvm/examples/BrainF/BrainF.cpp
+++ b/llvm/examples/BrainF/BrainF.cpp
@@ -37,7 +37,6 @@
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Type.h"
-#include "llvm/Support/Casting.h"
#include <cstdlib>
#include <iostream>
diff --git a/llvm/examples/BrainF/BrainFDriver.cpp b/llvm/examples/BrainF/BrainFDriver.cpp
index 6448347969236..98fa735e1491f 100644
--- a/llvm/examples/BrainF/BrainFDriver.cpp
+++ b/llvm/examples/BrainF/BrainFDriver.cpp
@@ -28,7 +28,6 @@
#include "llvm/Bitcode/BitcodeWriter.h"
#include "llvm/ExecutionEngine/ExecutionEngine.h"
#include "llvm/ExecutionEngine/GenericValue.h"
-#include "llvm/ExecutionEngine/MCJIT.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DerivedTypes.h"
@@ -38,13 +37,11 @@
#include "llvm/IR/Module.h"
#include "llvm/IR/Value.h"
#include "llvm/IR/Verifier.h"
-#include "llvm/Support/Casting.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Support/raw_ostream.h"
-#include <algorithm>
#include <cstdlib>
#include <fstream>
#include <iostream>
More information about the llvm-commits
mailing list