diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-20 03:27:03 -0500 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-20 03:27:03 -0500 |
| commit | f1177e376ee62a1663961087231386a79b46fced (patch) | |
| tree | 7a95fe38a4ab838f2ab9e4937cbd90d16a991068 /dev/CompilerKit/src | |
| parent | d73d1d2880d742a46602a94d0a888c981054feb4 (diff) | |
fix: CPlusPlusCompilerAMD.cc: cleanup module.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/CompilerKit/src')
| -rw-r--r-- | dev/CompilerKit/src/Frontend/CPlusPlusCompilerAMD64.cc | 8 |
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; |
