From f1177e376ee62a1663961087231386a79b46fced Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 20 Nov 2025 03:27:03 -0500 Subject: fix: CPlusPlusCompilerAMD.cc: cleanup module. Signed-off-by: Amlal El Mahrouss --- dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'dev/CompilerKit/src') 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; -- cgit v1.2.3