diff --git a/dmd/root/root.h b/dmd/root/root.h deleted file mode 100644 index 0bceaf743f..0000000000 --- a/dmd/root/root.h +++ /dev/null @@ -1,28 +0,0 @@ - -/* Copyright (C) 1999-2021 by The D Language Foundation, All Rights Reserved - * written by Walter Bright - * http://www.digitalmars.com - * Distributed under the Boost Software License, Version 1.0. - * http://www.boost.org/LICENSE_1_0.txt - * https://github.com/dlang/dmd/blob/master/src/dmd/root/root.h - */ - -#pragma once - -#if IN_LLVM -#ifndef IS_PRINTF -# ifdef __GNUC__ -# define IS_PRINTF(FMTARG) __attribute((__format__(__printf__, (FMTARG), (FMTARG)+1))) -# else -# define IS_PRINTF(FMTARG) -# endif -#endif -#endif - -#include "object.h" - -#include "filename.h" - -#include "file.h" - -#include "array.h" diff --git a/driver/main.cpp b/driver/main.cpp index 09e15e9650..31fd7cb545 100644 --- a/driver/main.cpp +++ b/driver/main.cpp @@ -19,7 +19,6 @@ #include "dmd/module.h" #include "dmd/mtype.h" #include "dmd/root/rmem.h" -#include "dmd/root/root.h" #include "dmd/scope.h" #include "dmd/target.h" #include "driver/args.h" diff --git a/gen/cl_helpers.cpp b/gen/cl_helpers.cpp index 41d22efdae..9d4048d59d 100644 --- a/gen/cl_helpers.cpp +++ b/gen/cl_helpers.cpp @@ -12,7 +12,6 @@ #include "dmd/errors.h" #include "dmd/ldcbindings.h" #include "dmd/root/rmem.h" -#include "dmd/root/root.h" #include #include // isupper, tolower #include diff --git a/gen/dvalue.h b/gen/dvalue.h index a68ddf7f8f..3579d03062 100644 --- a/gen/dvalue.h +++ b/gen/dvalue.h @@ -16,8 +16,6 @@ #pragma once -#include "dmd/root/root.h" - class Type; class Dsymbol; class VarDeclaration; diff --git a/gen/irstate.h b/gen/irstate.h index 0d9daa23ba..85f53af6e2 100644 --- a/gen/irstate.h +++ b/gen/irstate.h @@ -15,7 +15,6 @@ #pragma once #include "dmd/aggregate.h" -#include "dmd/root/root.h" #include "gen/dibuilder.h" #include "gen/objcgen.h" #include "ir/iraggr.h" diff --git a/gen/runtime.cpp b/gen/runtime.cpp index 801006d35e..1ef0d4414b 100644 --- a/gen/runtime.cpp +++ b/gen/runtime.cpp @@ -15,7 +15,6 @@ #include "dmd/ldcbindings.h" #include "dmd/module.h" #include "dmd/mtype.h" -#include "dmd/root/root.h" #include "dmd/target.h" #include "dmd/tokens.h" #include "driver/cl_options_instrumentation.h"