From befde76cfa46c766e81f74eb5ac65d3dae2dde87 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 19 Apr 2025 17:33:26 +0200 Subject: dev, LibCompiler, tooling: refactor and separate components into modules (cppdrv, cxxdrv) Signed-off-by: Amlal El Mahrouss --- dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc') diff --git a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc index 96a2873..c053920 100644 --- a/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc +++ b/dev/LibCompiler/src/CPlusPlusCompilerAMD64.cc @@ -19,7 +19,7 @@ // extern_segment, @autodelete { ... }, fn foo() -> auto { ... } -#include +#include #include #include @@ -1078,27 +1078,27 @@ LIBCOMPILER_MODULE(CompilerCPlusPlusAMD64) continue; } - if (strcmp(argv[index], "--cl:version") == 0) + if (strcmp(argv[index], "-version") == 0) { kSplashCxx(); return kExitOK; } - if (strcmp(argv[index], "--cl:verbose") == 0) + if (strcmp(argv[index], "-cxx-verbose") == 0) { kState.fVerbose = true; continue; } - if (strcmp(argv[index], "--cl:h") == 0) + if (strcmp(argv[index], "-h") == 0) { cxx_print_help(); return kExitOK; } - if (strcmp(argv[index], "--cl:c++-dialect") == 0) + if (strcmp(argv[index], "-cxx-dialect") == 0) { if (kCompilerFrontend) std::cout << kCompilerFrontend->Language() << "\n"; @@ -1106,7 +1106,7 @@ LIBCOMPILER_MODULE(CompilerCPlusPlusAMD64) return kExitOK; } - if (strcmp(argv[index], "--cl:max-err") == 0) + if (strcmp(argv[index], "-max-err") == 0) { try { -- cgit v1.2.3