summaryrefslogtreecommitdiffhomepage
path: root/dev
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-20 03:27:03 -0500
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-20 03:27:03 -0500
commitf1177e376ee62a1663961087231386a79b46fced (patch)
tree7a95fe38a4ab838f2ab9e4937cbd90d16a991068 /dev
parentd73d1d2880d742a46602a94d0a888c981054feb4 (diff)
fix: CPlusPlusCompilerAMD.cc: cleanup module.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev')
-rw-r--r--dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc b/dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc
index 7c761f4..e44f4f2 100644
--- a/dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc
+++ b/dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc
@@ -90,14 +90,6 @@ struct CompilerState final {
CompilerKit::STLString fLastError{};
};
-/// @brief prints an error into stdout.
-/// @param reason the reason of the error.
-/// @param file where does it originate from?
-void print_error(const CompilerKit::STLString& reason,
- const CompilerKit::STLString& file) noexcept {
- kPrintErr << kRed << "Error in " << file << ": " << reason << kWhite << std::endl;
-}
-
static CompilerState kState;
static Int32 kOnClassScope = 0;