summaryrefslogtreecommitdiffhomepage
path: root/dev/CompilerKit/src
diff options
context:
space:
mode:
Diffstat (limited to 'dev/CompilerKit/src')
-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;