From 4d0934d37f6ef727cb256cdf62668c8bc44a72a1 Mon Sep 17 00:00:00 2001 From: Dennis Date: Mon, 31 Mar 2025 15:54:53 +0200 Subject: [PATCH] merge stable (#21127) * bump VERSION to v2.110.0 * purge changelog * bump VERSION to v2.111.0-beta.1 * Accept __rvalue attribute on ref functions; which will force the result to be treated as __rvalue. (#20946) This is essential to implement `move`, `forward`, etc. * memoryerror.d: Fix AnySupported version condition (#20983) * Fix #20982 - wrong line number in iasmgcc (#20993) * Move genCfunc to cxxfrontend (#20992) * druntime: Fix compilation of rt.cover on Android (#21015) * Expose SourceLoc to C++ interface (#20980) * [stable] C++ header fixes for declaration, expression, and typinf (#21016) Seen either from compilation errors or missing symbols at link time. * C++ headers: Add 3 Declaration bitfield setters/getters required by LDC * druntime: Add module declaration to rt.invariant, to prevent conflicts with user-provided invariant.d (#21017) * Fix #21020 - Indexing a *cast* AA yields no lvalue anymore (#21029) * Add C++23 to CppStdRevision enum (#21043) * Improve UFCS/property error message (#21046) * bump VERSION to v2.111.0-rc.1 * Fix #21045 - import __stdin causes compilation to pause while reading from stdin (#21047) Moves the special handling of reading from stdin out of the semantic routines to the DMD driver itself. All references to `__stdin.d` have also been removed from the frontend implementation. * Update source code and coverage links (#21111) * Fix #21024 - Optimize x^^c expressions (#21082) * Fix #21024 - Optimize x^^c expressions Reason for the *magic* constraint c<8 on inlining x^^c: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/x86_64/fpu/e_powl.S;h=47f129f34d368d7c67b8e5f2462b36b0bebb7621;hb=HEAD#l136 * Fix poor assumption about expression state * Restrict optimization to floating point expressions * Generalize optimization to any scalar data type * Fix segfault on x^^c where x is a single member anonymous enum DMD segfaulted on compiling the unittests in std/algorithm/sorting.o, the unittest that caused the segfault can be reduced to: enum real Two = 2.0; auto _ = Two^^3; I'm not sure why copying the anonymous enum into a `const` variable causes the compiler to segfault. * Add tests to x^^c inlining optimization * Fix missing type for e1 ^^ -1 to 1 / e1 rewrite * Move rewrites from constant folding to expression semantic and restrict them to [-1, 2] * Improve error message for the x^^2 rewrite. Before: ex.d(4): Error: can implicitly convert expression `(const const(double) __powtmp2 = x + 5.0;) , __powtmp2 * ...` of type `double` to `int` int y = ( x + 5 ) ^^ 2; ^ and after: ex.d(4): Error: cannot implicitly convert expression `(x + 5.0) ^^ 2L` of type `double` to `int` int y = ( x + 5 ) ^^ 2; ^ * Update C++ frontend header to match change in `CommaExp` * Address code review feedback Co-authored-by: Dennis Korpel --------- Co-authored-by: Dennis Korpel * Revert "Fix #21024 - Optimize x^^c expressions (#21082)" (#21114) This reverts commit fa1f860e4be6a0d796a47329be110be14fc1d667. * bump VERSION to v2.111.0 * purge changelog * Strip trailing newline off sarif version --------- Co-authored-by: Manu Evans Co-authored-by: Martin Kinkelin Co-authored-by: Iain Buclaw Co-authored-by: Martin Kinkelin Co-authored-by: Fares A. Bakhit --- VERSION | 2 +- changelog/dmd.auto-ref-local.dd | 19 --- changelog/dmd.auto-ref-put-adjacent.dd | 18 --- changelog/dmd.default-align.dd | 23 ---- changelog/dmd.delete-keyword.dd | 15 --- changelog/dmd.deprecation-case.dd | 18 --- changelog/dmd.deprecation-dtor-fields.dd | 32 ----- changelog/dmd.deprecation-noop-assignment.dd | 16 --- changelog/dmd.deprecation-pointer-subtract.dd | 11 -- .../dmd.deprecation-throwing-contracts.dd | 17 --- ...dmd.deprecation-typesafe-variadic-class.dd | 40 ------ .../dmd.deprecation-version-debug-number.dd | 5 - changelog/dmd.error-messages.dd | 123 ------------------ changelog/dmd.ftime-trace.dd | 16 --- changelog/dmd.getBitfieldInfo.dd | 16 --- changelog/dmd.import-c-i.dd | 3 - changelog/dmd.importc-pragma-stc.dd | 25 ---- changelog/dmd.mixin-assign.dd | 8 -- changelog/dmd.obj_extensions.dd | 6 - changelog/dmd.objc-improvements.dd | 38 ------ changelog/dmd.oq-compiler-switch.dd | 15 --- changelog/dmd.placementNew.dd | 20 --- changelog/dmd.postfix-this-attributes.dd | 13 -- changelog/dmd.remove-samples.dd | 8 -- changelog/dmd.rvalue.dd | 40 ------ changelog/dmd.safer.dd | 22 ---- changelog/dmd.shortened-method-constructor.dd | 18 --- changelog/druntime.bcrypt.dd | 7 - changelog/druntime.criticalRegionLock.dd | 5 - changelog/druntime.expect-trap.dd | 7 - changelog/druntime.segfault-message.dd | 65 --------- compiler/src/dmd/access.d | 4 +- compiler/src/dmd/aggregate.d | 4 +- compiler/src/dmd/aliasthis.d | 4 +- compiler/src/dmd/argtypes_aarch64.d | 4 +- compiler/src/dmd/argtypes_sysv_x64.d | 4 +- compiler/src/dmd/argtypes_x86.d | 4 +- compiler/src/dmd/arrayop.d | 4 +- compiler/src/dmd/arraytypes.d | 4 +- compiler/src/dmd/ast_node.d | 4 +- compiler/src/dmd/astbase.d | 4 +- compiler/src/dmd/astenums.d | 4 +- compiler/src/dmd/asttypename.d | 4 +- compiler/src/dmd/attrib.d | 4 +- compiler/src/dmd/attribsem.d | 4 +- compiler/src/dmd/backend/arm/cod1.d | 4 +- compiler/src/dmd/backend/arm/cod2.d | 4 +- compiler/src/dmd/backend/arm/cod3.d | 4 +- compiler/src/dmd/backend/arm/cod4.d | 4 +- compiler/src/dmd/backend/arm/instr.d | 4 +- compiler/src/dmd/backend/backconfig.d | 2 +- compiler/src/dmd/backend/barray.d | 2 +- compiler/src/dmd/backend/blockopt.d | 4 +- compiler/src/dmd/backend/cc.d | 2 +- compiler/src/dmd/backend/cdef.d | 2 +- compiler/src/dmd/backend/cg.d | 2 +- compiler/src/dmd/backend/cgcse.d | 4 +- compiler/src/dmd/backend/cgcv.d | 2 +- compiler/src/dmd/backend/cgelem.d | 4 +- compiler/src/dmd/backend/cgen.d | 4 +- compiler/src/dmd/backend/cgsched.d | 2 +- compiler/src/dmd/backend/code.d | 2 +- compiler/src/dmd/backend/codebuilder.d | 2 +- compiler/src/dmd/backend/cv4.d | 2 +- compiler/src/dmd/backend/cv8.d | 4 +- compiler/src/dmd/backend/dcgcv.d | 4 +- compiler/src/dmd/backend/dcode.d | 2 +- compiler/src/dmd/backend/debugprint.d | 4 +- compiler/src/dmd/backend/divcoeff.d | 2 +- compiler/src/dmd/backend/dlist.d | 2 +- compiler/src/dmd/backend/dout.d | 4 +- compiler/src/dmd/backend/drtlsym.d | 2 +- compiler/src/dmd/backend/dvarstats.d | 2 +- compiler/src/dmd/backend/dvec.d | 2 +- compiler/src/dmd/backend/dwarf2.d | 2 +- compiler/src/dmd/backend/dwarfdbginf.d | 4 +- compiler/src/dmd/backend/dwarfeh.d | 2 +- compiler/src/dmd/backend/ee.d | 2 +- compiler/src/dmd/backend/eh.d | 4 +- compiler/src/dmd/backend/el.d | 2 +- compiler/src/dmd/backend/elem.d | 2 +- compiler/src/dmd/backend/elfobj.d | 4 +- compiler/src/dmd/backend/elpicpie.d | 2 +- compiler/src/dmd/backend/evalu8.d | 2 +- compiler/src/dmd/backend/fp.d | 4 +- compiler/src/dmd/backend/gdag.d | 4 +- compiler/src/dmd/backend/gflow.d | 4 +- compiler/src/dmd/backend/global.d | 2 +- compiler/src/dmd/backend/glocal.d | 4 +- compiler/src/dmd/backend/gloop.d | 4 +- compiler/src/dmd/backend/gsroa.d | 2 +- compiler/src/dmd/backend/iasm.d | 4 +- compiler/src/dmd/backend/inliner.d | 2 +- compiler/src/dmd/backend/machobj.d | 2 +- compiler/src/dmd/backend/melf.d | 2 +- compiler/src/dmd/backend/mem.d | 4 +- compiler/src/dmd/backend/mscoff.d | 2 +- compiler/src/dmd/backend/mscoffobj.d | 2 +- compiler/src/dmd/backend/obj.d | 2 +- compiler/src/dmd/backend/oper.d | 2 +- compiler/src/dmd/backend/pdata.d | 2 +- compiler/src/dmd/backend/ptrntab.d | 4 +- compiler/src/dmd/backend/symtab.d | 4 +- compiler/src/dmd/backend/ty.d | 2 +- compiler/src/dmd/backend/type.d | 2 +- compiler/src/dmd/backend/util2.d | 2 +- compiler/src/dmd/backend/var.d | 2 +- compiler/src/dmd/backend/x86/cg87.d | 4 +- compiler/src/dmd/backend/x86/cgcod.d | 4 +- compiler/src/dmd/backend/x86/cgreg.d | 2 +- compiler/src/dmd/backend/x86/cgxmm.d | 4 +- compiler/src/dmd/backend/x86/cod1.d | 4 +- compiler/src/dmd/backend/x86/cod2.d | 4 +- compiler/src/dmd/backend/x86/cod3.d | 4 +- compiler/src/dmd/backend/x86/cod4.d | 4 +- compiler/src/dmd/backend/x86/cod5.d | 4 +- compiler/src/dmd/backend/x86/code_x86.d | 4 +- compiler/src/dmd/backend/x86/disasm86.d | 4 +- compiler/src/dmd/backend/x86/nteh.d | 4 +- compiler/src/dmd/backend/x86/xmm.d | 4 +- compiler/src/dmd/blockexit.d | 4 +- compiler/src/dmd/builtin.d | 4 +- compiler/src/dmd/canthrow.d | 4 +- compiler/src/dmd/chkformat.d | 4 +- compiler/src/dmd/cli.d | 4 +- compiler/src/dmd/clone.d | 4 +- compiler/src/dmd/common/bitfields.d | 4 +- compiler/src/dmd/common/charactertables.d | 4 +- compiler/src/dmd/common/charactertables.h | 2 +- compiler/src/dmd/common/file.d | 4 +- compiler/src/dmd/common/int128.d | 4 +- compiler/src/dmd/common/outbuffer.d | 4 +- compiler/src/dmd/common/smallbuffer.d | 4 +- compiler/src/dmd/compiler.d | 4 +- compiler/src/dmd/cond.d | 4 +- compiler/src/dmd/console.d | 4 +- compiler/src/dmd/constfold.d | 4 +- compiler/src/dmd/cparse.d | 4 +- compiler/src/dmd/cpreprocess.d | 4 +- compiler/src/dmd/ctfeexpr.d | 4 +- compiler/src/dmd/ctorflow.d | 4 +- compiler/src/dmd/cxxfrontend.d | 4 +- compiler/src/dmd/dcast.d | 4 +- compiler/src/dmd/dclass.d | 4 +- compiler/src/dmd/declaration.d | 4 +- compiler/src/dmd/delegatize.d | 4 +- compiler/src/dmd/denum.d | 4 +- compiler/src/dmd/deps.d | 4 +- compiler/src/dmd/dimport.d | 4 +- compiler/src/dmd/dinifile.d | 4 +- compiler/src/dmd/dinterpret.d | 4 +- compiler/src/dmd/dmacro.d | 4 +- compiler/src/dmd/dmdparams.d | 4 +- compiler/src/dmd/dmodule.d | 12 +- compiler/src/dmd/dmsc.d | 4 +- compiler/src/dmd/doc.d | 4 +- compiler/src/dmd/dscope.d | 4 +- compiler/src/dmd/dstruct.d | 4 +- compiler/src/dmd/dsymbol.d | 4 +- compiler/src/dmd/dsymbolsem.d | 4 +- compiler/src/dmd/dtemplate.d | 4 +- compiler/src/dmd/dtoh.d | 4 +- compiler/src/dmd/dversion.d | 4 +- compiler/src/dmd/e2ir.d | 4 +- compiler/src/dmd/entity.d | 4 +- compiler/src/dmd/enumsem.d | 4 +- compiler/src/dmd/errors.d | 4 +- compiler/src/dmd/errorsink.d | 4 +- compiler/src/dmd/escape.d | 4 +- compiler/src/dmd/expression.d | 4 +- compiler/src/dmd/expressionsem.d | 4 +- compiler/src/dmd/file_manager.d | 59 +-------- compiler/src/dmd/frontend.d | 4 +- compiler/src/dmd/frontend.h | 5 +- compiler/src/dmd/func.d | 4 +- compiler/src/dmd/funcsem.d | 4 +- compiler/src/dmd/globals.d | 5 +- compiler/src/dmd/globals.h | 1 + compiler/src/dmd/glue.d | 4 +- compiler/src/dmd/gluelayer.d | 4 +- compiler/src/dmd/hdrgen.d | 4 +- compiler/src/dmd/iasm.d | 4 +- compiler/src/dmd/iasmdmd.d | 4 +- compiler/src/dmd/iasmgcc.d | 4 +- compiler/src/dmd/id.d | 4 +- compiler/src/dmd/identifier.d | 4 +- compiler/src/dmd/impcnvtab.d | 4 +- compiler/src/dmd/imphint.d | 4 +- compiler/src/dmd/importc.d | 4 +- compiler/src/dmd/init.d | 4 +- compiler/src/dmd/initsem.d | 4 +- compiler/src/dmd/inline.d | 4 +- compiler/src/dmd/inlinecost.d | 4 +- compiler/src/dmd/intrange.d | 4 +- compiler/src/dmd/json.d | 4 +- compiler/src/dmd/lambdacomp.d | 4 +- compiler/src/dmd/lexer.d | 4 +- compiler/src/dmd/lib/elf.d | 4 +- compiler/src/dmd/lib/mach.d | 4 +- compiler/src/dmd/lib/mscoff.d | 4 +- compiler/src/dmd/lib/package.d | 4 +- compiler/src/dmd/lib/scanelf.d | 4 +- compiler/src/dmd/lib/scanmach.d | 4 +- compiler/src/dmd/lib/scanmscoff.d | 4 +- compiler/src/dmd/link.d | 4 +- compiler/src/dmd/location.d | 4 +- compiler/src/dmd/main.d | 6 +- compiler/src/dmd/mangle/basic.d | 4 +- compiler/src/dmd/mangle/cpp.d | 4 +- compiler/src/dmd/mangle/cppwin.d | 4 +- compiler/src/dmd/mangle/package.d | 4 +- compiler/src/dmd/mars.d | 79 ++++++++++- compiler/src/dmd/mtype.d | 4 +- compiler/src/dmd/mustuse.d | 4 +- compiler/src/dmd/nogc.d | 4 +- compiler/src/dmd/nspace.d | 4 +- compiler/src/dmd/ob.d | 4 +- compiler/src/dmd/objc.d | 4 +- compiler/src/dmd/objc_glue.d | 4 +- compiler/src/dmd/opover.d | 4 +- compiler/src/dmd/optimize.d | 4 +- compiler/src/dmd/parse.d | 4 +- compiler/src/dmd/pragmasem.d | 4 +- compiler/src/dmd/printast.d | 4 +- compiler/src/dmd/root/aav.d | 4 +- compiler/src/dmd/root/array.d | 4 +- compiler/src/dmd/root/bitarray.d | 4 +- compiler/src/dmd/root/complex.d | 4 +- compiler/src/dmd/root/ctfloat.d | 4 +- compiler/src/dmd/root/env.d | 4 +- compiler/src/dmd/root/file.d | 4 +- compiler/src/dmd/root/filename.d | 4 +- compiler/src/dmd/root/hash.d | 4 +- compiler/src/dmd/root/man.d | 4 +- compiler/src/dmd/root/optional.d | 4 +- compiler/src/dmd/root/optional.h | 4 +- compiler/src/dmd/root/port.d | 4 +- compiler/src/dmd/root/region.d | 4 +- compiler/src/dmd/root/response.d | 4 +- compiler/src/dmd/root/rmem.d | 4 +- compiler/src/dmd/root/speller.d | 4 +- compiler/src/dmd/root/string.d | 4 +- compiler/src/dmd/root/stringtable.d | 4 +- compiler/src/dmd/root/strtold.d | 2 +- compiler/src/dmd/root/utf.d | 4 +- compiler/src/dmd/rootobject.d | 4 +- compiler/src/dmd/s2ir.d | 4 +- compiler/src/dmd/safe.d | 4 +- compiler/src/dmd/sarif.d | 9 +- compiler/src/dmd/semantic2.d | 4 +- compiler/src/dmd/semantic3.d | 4 +- compiler/src/dmd/sideeffect.d | 4 +- compiler/src/dmd/statement.d | 4 +- compiler/src/dmd/statementsem.d | 4 +- compiler/src/dmd/staticassert.d | 4 +- compiler/src/dmd/staticcond.d | 4 +- compiler/src/dmd/stmtstate.d | 4 +- compiler/src/dmd/target.d | 4 +- compiler/src/dmd/templateparamsem.d | 4 +- compiler/src/dmd/templatesem.d | 4 +- compiler/src/dmd/timetrace.d | 4 +- compiler/src/dmd/tocsym.d | 4 +- compiler/src/dmd/toctype.d | 4 +- compiler/src/dmd/tocvdebug.d | 4 +- compiler/src/dmd/todt.d | 4 +- compiler/src/dmd/toir.d | 4 +- compiler/src/dmd/tokens.d | 4 +- compiler/src/dmd/toobj.d | 4 +- compiler/src/dmd/traits.d | 4 +- compiler/src/dmd/typesem.d | 4 +- compiler/src/dmd/typinf.d | 4 +- compiler/src/dmd/utils.d | 4 +- compiler/src/dmd/visitor/foreachvar.d | 4 +- compiler/src/dmd/visitor/package.d | 4 +- compiler/src/dmd/visitor/postorder.d | 4 +- .../dmd/visitor/statement_rewrite_walker.d | 4 +- compiler/src/dmd/vsoptions.d | 4 +- compiler/test/fail_compilation/fail21045.d | 12 ++ 278 files changed, 550 insertions(+), 1181 deletions(-) delete mode 100644 changelog/dmd.auto-ref-local.dd delete mode 100644 changelog/dmd.auto-ref-put-adjacent.dd delete mode 100644 changelog/dmd.default-align.dd delete mode 100644 changelog/dmd.delete-keyword.dd delete mode 100644 changelog/dmd.deprecation-case.dd delete mode 100644 changelog/dmd.deprecation-dtor-fields.dd delete mode 100644 changelog/dmd.deprecation-noop-assignment.dd delete mode 100644 changelog/dmd.deprecation-pointer-subtract.dd delete mode 100644 changelog/dmd.deprecation-throwing-contracts.dd delete mode 100644 changelog/dmd.deprecation-typesafe-variadic-class.dd delete mode 100644 changelog/dmd.deprecation-version-debug-number.dd delete mode 100644 changelog/dmd.error-messages.dd delete mode 100644 changelog/dmd.ftime-trace.dd delete mode 100644 changelog/dmd.getBitfieldInfo.dd delete mode 100644 changelog/dmd.import-c-i.dd delete mode 100644 changelog/dmd.importc-pragma-stc.dd delete mode 100644 changelog/dmd.mixin-assign.dd delete mode 100644 changelog/dmd.obj_extensions.dd delete mode 100644 changelog/dmd.objc-improvements.dd delete mode 100644 changelog/dmd.oq-compiler-switch.dd delete mode 100644 changelog/dmd.placementNew.dd delete mode 100644 changelog/dmd.postfix-this-attributes.dd delete mode 100644 changelog/dmd.remove-samples.dd delete mode 100644 changelog/dmd.rvalue.dd delete mode 100644 changelog/dmd.safer.dd delete mode 100644 changelog/dmd.shortened-method-constructor.dd delete mode 100644 changelog/druntime.bcrypt.dd delete mode 100644 changelog/druntime.criticalRegionLock.dd delete mode 100644 changelog/druntime.expect-trap.dd delete mode 100644 changelog/druntime.segfault-message.dd create mode 100644 compiler/test/fail_compilation/fail21045.d diff --git a/VERSION b/VERSION index 2f668e5056..e972d6e93a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v2.111.0-beta.1 +v2.111.0 diff --git a/changelog/dmd.auto-ref-local.dd b/changelog/dmd.auto-ref-local.dd deleted file mode 100644 index 28f3a5f4c5..0000000000 --- a/changelog/dmd.auto-ref-local.dd +++ /dev/null @@ -1,19 +0,0 @@ -Storage classes `ref` and `auto ref` can now be applied to local, static, extern, and global variables - -For example, one can now write: -``` -struct S { int a; } - -void main() -{ - S s; - ref int r = s.a; - r = 3; - assert(s.a == 3); - - auto ref x = 0; - auto ref y = x; - static assert(!__traits(isRef, x)); - static assert( __traits(isRef, y)); -} -``` diff --git a/changelog/dmd.auto-ref-put-adjacent.dd b/changelog/dmd.auto-ref-put-adjacent.dd deleted file mode 100644 index 34dbacdb35..0000000000 --- a/changelog/dmd.auto-ref-put-adjacent.dd +++ /dev/null @@ -1,18 +0,0 @@ -Keywords `auto` and `ref` must be adjacent - -It's now deprecated to declare `auto ref` parameters without putting those two keywords next to each other. -This way it's clear that `auto ref` semantics are intended, rather than `ref` and `auto` semantics separately. -For the newly introduced $(RELATIVE_LINK2 dmd.reflocal, `ref` local / global variables), it's an error immediately. - ---- -void t()(ref const auto int x) // Deprecation -{ - ref auto y = x; // Error -} - -// Correction: -void t()(auto ref const int x) -{ - auto ref y = x; -} ---- diff --git a/changelog/dmd.default-align.dd b/changelog/dmd.default-align.dd deleted file mode 100644 index fca9d6374b..0000000000 --- a/changelog/dmd.default-align.dd +++ /dev/null @@ -1,23 +0,0 @@ -The `align` attribute now allows specifying `default` explicitly - -A lone `align` sets the alignment to the type’s default. -To be more explicit, `align(default)` does the same. - -``` -struct S -{ - align(4) - { - byte x; - align(default) long y; - long z; - } -} - -void main() -{ - pragma(msg, S.x.alignof); // 4 - pragma(msg, S.y.alignof); // 8 - pragma(msg, S.z.alignof); // 4 -} -``` diff --git a/changelog/dmd.delete-keyword.dd b/changelog/dmd.delete-keyword.dd deleted file mode 100644 index 9fe599a45b..0000000000 --- a/changelog/dmd.delete-keyword.dd +++ /dev/null @@ -1,15 +0,0 @@ -Remove `delete` as a keyword - -After being superseded by `destroy()`, deprecated, and turned into an error, `delete` can now be used as an identifier: - ---- -enum Action -{ - add, delete -} - -void delete(T)(T obj) -{ - -} ---- diff --git a/changelog/dmd.deprecation-case.dd b/changelog/dmd.deprecation-case.dd deleted file mode 100644 index 97150fdd8a..0000000000 --- a/changelog/dmd.deprecation-case.dd +++ /dev/null @@ -1,18 +0,0 @@ -Case fallthough for multivalued cases is an error now - -This used to give a deprecation and now gives an error: -``` -int i; -switch (0) -{ - case 0, 1: i = 20; - default: assert(0); // Error: switch case fallthrough - use 'goto default;' if intended -} - -switch (0) -{ - default: - case 0, 1: i = 20; - case 2, 3: i = 30; // Error: switch case fallthrough - use 'goto case;' if intended -} -``` diff --git a/changelog/dmd.deprecation-dtor-fields.dd b/changelog/dmd.deprecation-dtor-fields.dd deleted file mode 100644 index 72e74dae97..0000000000 --- a/changelog/dmd.deprecation-dtor-fields.dd +++ /dev/null @@ -1,32 +0,0 @@ -An error is now given for constructors when a field's destructor has stricter attributes - -``` -struct HasDtor -{ - ~this() {} -} - -struct Pure -{ - HasDtor member; - this(int) pure {} // Error: `this` has stricter attributes than its destructor (`pure`) -} - -struct Nothrow -{ - HasDtor member; - this(int) nothrow {} // Error: `this` has stricter attributes than its destructor (`nothrow`) -} - -struct NoGC -{ - HasDtor member; - this(int) @nogc {} // Error: `this` has stricter attributes than its destructor (`@nogc`) -} - -struct Safe -{ - HasDtor member; - this(int) @safe {} // Error: `this` has stricter attributes than its destructor (`@safe`) -} -``` diff --git a/changelog/dmd.deprecation-noop-assignment.dd b/changelog/dmd.deprecation-noop-assignment.dd deleted file mode 100644 index 889c9b2098..0000000000 --- a/changelog/dmd.deprecation-noop-assignment.dd +++ /dev/null @@ -1,16 +0,0 @@ -Initializing a field with itself has been deprecated - -This is to prevent a common mistake when a field and a parameter ought to have the same name, -but one is misspelled where it's declared: - ---- -struct S -{ - int field; - - this(int feild) // supposed to be: this(int field) - { - this.field = field; // equal to this.field = this.field - } -} ---- diff --git a/changelog/dmd.deprecation-pointer-subtract.dd b/changelog/dmd.deprecation-pointer-subtract.dd deleted file mode 100644 index c14b801aeb..0000000000 --- a/changelog/dmd.deprecation-pointer-subtract.dd +++ /dev/null @@ -1,11 +0,0 @@ -An error is now given for subtracting pointers of different types - -The following code now gives errors: -``` -static assert(cast(void*)8 - cast(int*) 0 == 2L); -static assert(cast(int*) 8 - cast(void*)0 == 8L); -void test() -{ - auto foo = (ushort*).init - (ubyte*).init; -} -``` diff --git a/changelog/dmd.deprecation-throwing-contracts.dd b/changelog/dmd.deprecation-throwing-contracts.dd deleted file mode 100644 index cbb0e96c94..0000000000 --- a/changelog/dmd.deprecation-throwing-contracts.dd +++ /dev/null @@ -1,17 +0,0 @@ -An error is now issued for `in`/`out` contracts of `nothrow` functions that may throw - -This used to issue a deprecation, it is now an error: -``` -void test() nothrow -in -{ - throw new Exception(null); // Error: `in` contract may throw but function is marked as `nothrow` -} -out -{ - throw new Exception(null); // Error: `out` contract may throw but function is marked as `nothrow` -} -do -{ -} -``` diff --git a/changelog/dmd.deprecation-typesafe-variadic-class.dd b/changelog/dmd.deprecation-typesafe-variadic-class.dd deleted file mode 100644 index 68fd33dd8b..0000000000 --- a/changelog/dmd.deprecation-typesafe-variadic-class.dd +++ /dev/null @@ -1,40 +0,0 @@ -Typesafe variadic class parameters have been deprecated - -This obscure feature allowed a limited form of implicit construction: - ---- -void check(bool x, Exception e...) -{ - if (!x) - throw e; -} - -void main(string[] args) -{ - check(args.length > 1, "missing argument"); -} ---- - -However, few uses of this feature have been found, and one project was actually mistakenly using it instead of the more common Typesafe variadic array parameter. -Considering D doesn't support implicit construction and already has a confusing amount of different variadic parameter forms, it was decided to remove this feature. - -As a corrective action, either call the constructor in the callee: - ---- -void check(string msg) -{ - if (!x) - throw new Exception(msg); -} ---- - -Or let the caller construct the class instance: - ---- -void check(bool x, Exception e); - -void main(string[] args) -{ - check(args.length > 1, new Exception("missing argument")); -} ---- diff --git a/changelog/dmd.deprecation-version-debug-number.dd b/changelog/dmd.deprecation-version-debug-number.dd deleted file mode 100644 index a0dc6ce5d5..0000000000 --- a/changelog/dmd.deprecation-version-debug-number.dd +++ /dev/null @@ -1,5 +0,0 @@ -Integers in `debug` or `version` statements have been removed from the language - -These were deprecated in 2.101. -Use `-debug=identifier` and `-version=identifier` instead for versions set on the command line, -and likewise `version = identifier;` and `debug = identifier;` for versions set in code at global scope. diff --git a/changelog/dmd.error-messages.dd b/changelog/dmd.error-messages.dd deleted file mode 100644 index d0ca2764d8..0000000000 --- a/changelog/dmd.error-messages.dd +++ /dev/null @@ -1,123 +0,0 @@ -Many error messages have changed - -Some changes have been made without being associated to a reported issue: - -Error messages for `@safe` violations now consistently mention they are related to `@safe` functions (or default functions with `-preview=safer`). -In general, function attributes that failed to infer have a more compact error message: - -Before: -$(CONSOLE -app.d(8): Error: function `attributediagnostic_nothrow.gc1` is not `nothrow` -app.d(2): which wasn't inferred `nothrow` because of: -app.d(2): `object.Exception` is thrown but not caught -) - -After: -$(CONSOLE -app.d(8): Error: function `attributediagnostic_nothrow.gc1` is not `nothrow` -app.d(2): and `object.Exception` being thrown but not caught makes it fail to infer `nothrow` -) - -Function literals are now referred to by their (truncated) function body, instead of the internal `__lambda` name. - ---- -/* -BEFORE: - -../test/test_.d(3): Error: function literal `__lambda1()` is not callable using argument types `(int)` - (() => 42)(1); - ^ -AFTER: - -../test/test_.d(3): Error: function literal `() => 42` is not callable using argument types `(int)` - (() => 42)(1); - ^ -*/ ---- - -Match levels are now mentioned on ambiguous overloads: [#20637](https://github.com/dlang/dmd/pull/20637) - -Before: -$(CONSOLE -Error: `app.bar` called with argument types `(string)` matches both: -) - -After: -$(CONSOLE -Error: `app.bar` called with argument types `(string)` matches multiple overloads after implicit conversions: -) - -Error messages related to operator overloading have been improved. -When the related template functions (`opUnary`, `opBinary`, `opBinaryRight`, `opOpAssign`, `opIndex`, `opSlice`) -are missing, a suggestion to implement them is given. - -When they do exist but fail to instantiate, the error from instantiation is shown. -There's no longer a need to manually e.g. rewrite `s + 1` to `s.opBinary!"+"(1)` to diagnose the error. - ---- -struct S {} - -void main() -{ - S s; - const x = s[3 .. "4"]; -} ---- - -Before: -$(CONSOLE -app.d(6): Error: no `[]` operator overload for type `S` -) - -After: -$(CONSOLE -app.d(6): Error: no `[3.."4"]` operator overload for type `S` -app.d(1): perhaps define `auto opSlice(int lower, string upper) {}` for `app.S` -) - ---- -struct Str {} - -struct Number -{ - int x; - int opBinary(string op : "+")(int rhs) => this.x + x; -} - -void f(Str str, Number number) -{ - const s = str ~ "hey"; - const n = number + "oops"; -} ---- - -Before: -$(CONSOLE -app.d(12): Error: incompatible types for `(str) ~ ("hey")`: `Str` and `string` - const s = str ~ "hey"; - ^ -app.d(13): Error: incompatible types for `(number) + ("oops")`: `Number` and `string` - const n = number + "oops"; -) - -After: -$(CONSOLE -app.d(12): Error: operator `~` is not defined for type `Str` - const s = str ~ "hey"; - ^ -app.d(2): perhaps overload the operator with `auto opBinary(string op : "~")(string rhs) {}` -struct Str {} -^ -app.d(13): Error: function `test_.Number.opBinary!"+".opBinary(int rhs)` is not callable using argument types `(string)` - const n = number + "oops"; - ^ -app.d(13): cannot pass argument `"oops"` of type `string` to parameter `int rhs` -app.d(7): `opBinary` defined here - int opBinary(string op : "+")(int rhs) => this.x + x; - ^ -) - -Furthermore: - -- D1 operator overloading functions (`opAdd`, `opDot`) are completely removed and no longer mentioned in error messages specifically. -- Class allocators (`auto new() {}`) are not only a semantic error, but no longer parse. diff --git a/changelog/dmd.ftime-trace.dd b/changelog/dmd.ftime-trace.dd deleted file mode 100644 index baaa521a14..0000000000 --- a/changelog/dmd.ftime-trace.dd +++ /dev/null @@ -1,16 +0,0 @@ -Build time profiling has been added to DMD - -The `-ftime-trace` switch that the LDC compiler already has, is now also available in dmd. -It can be used to figure out which parts of your code take the longest to compile, so you can optimize your build times. - -$(CONSOLE -dmd -ftime-trace app.d -) - -This will output `app.o.time-trace`. - -A different output file can be selected with `-ftime-trace-file=trace.json`. - -The output is in Google Chrome's profiler format, which can be viewed in an interactive viewer like [ui.perfetto.dev](https://ui.perfetto.dev). - -See also the YouTube tutorial [*Easily Reduce Build Times by Profiling the D Compiler*](https://www.youtube.com/watch?v=b8wZqU5t9vs). diff --git a/changelog/dmd.getBitfieldInfo.dd b/changelog/dmd.getBitfieldInfo.dd deleted file mode 100644 index 9bdf10775f..0000000000 --- a/changelog/dmd.getBitfieldInfo.dd +++ /dev/null @@ -1,16 +0,0 @@ -New traits `getBitfieldOffset` and `getBitfieldWidth` for built-in bitfields - -This completes the introspection capabilities of built-in bitfields. For example: - ---- -struct S -{ - int a,b; - int :2, c:3; -} - -static assert(__traits(getBitfieldOffset, S.b) == 0); -static assert(__traits(getBitfieldOffset, S.c) == 2); -static assert(__traits(getBitfieldWidth, S.b) == 32); -static assert(__traits(getBitfieldWidth, S.c) == 3); ---- diff --git a/changelog/dmd.import-c-i.dd b/changelog/dmd.import-c-i.dd deleted file mode 100644 index 7836f39966..0000000000 --- a/changelog/dmd.import-c-i.dd +++ /dev/null @@ -1,3 +0,0 @@ -Using the compiler flag `-i` will now properly pick up C source files - -Previously, you needed to manually include `*.c` source files, it now works just like with D files. diff --git a/changelog/dmd.importc-pragma-stc.dd b/changelog/dmd.importc-pragma-stc.dd deleted file mode 100644 index c6010ed52f..0000000000 --- a/changelog/dmd.importc-pragma-stc.dd +++ /dev/null @@ -1,25 +0,0 @@ -A pragma for ImportC allows to set `nothrow`, `@nogc` or `pure` - -The following new pragma for ImportC allows to set default storage -classes for function declarations: -```c -#pragma attribute(push, [storage classes...]) -``` -The storage classes `nothrow`, `nogc` and `pure` are supported. -Unrecognized attributes are ignored. -Enabling a default storage class affects all function declarations -after the pragma until it is disabled with another pragma. -Declarations in includes are also affected. -The changed storage classes are pushed on a stack. The last change can -be undone with the following pragma. -The following example -enables `@nogc` and `nothrow` for a library: - -```c -#pragma attribute(push, nogc, nothrow) -#include -#pragma attribute(pop) -``` - -This can also disable multiple default storage classes at the same time, -if they were enabled with a single `#pragma attribute(push, ...)` directive. diff --git a/changelog/dmd.mixin-assign.dd b/changelog/dmd.mixin-assign.dd deleted file mode 100644 index 17e4eeda87..0000000000 --- a/changelog/dmd.mixin-assign.dd +++ /dev/null @@ -1,8 +0,0 @@ -Mixin templates can now use assignment syntax - -Previously, giving a name to a mixed-in mixin template instance required putting the name at the end. -Now, it can also go in front of the instantiation using assignment syntax. ---- -mixin MyMixinTemplate!(Args) myName; // old style -mixin myName = MyMixinTemplate!(Args); // new style ---- diff --git a/changelog/dmd.obj_extensions.dd b/changelog/dmd.obj_extensions.dd deleted file mode 100644 index 0c2d0c289a..0000000000 --- a/changelog/dmd.obj_extensions.dd +++ /dev/null @@ -1,6 +0,0 @@ -Object file extensions `.o` and `.obj` are now accepted on all platforms - -Accepting `.o` and `.obj` file extensions on all platforms makes DMD behave -like Clang and other modern compilers. There is no point in -discarding `*.o` or `*.obj` depending on the current operating system, as both extensions -unambiguously denote object file. diff --git a/changelog/dmd.objc-improvements.dd b/changelog/dmd.objc-improvements.dd deleted file mode 100644 index 491b30eec0..0000000000 --- a/changelog/dmd.objc-improvements.dd +++ /dev/null @@ -1,38 +0,0 @@ -Objective-C selectors are now automatically generated when not specified with `@selector`. - -Additionally, the Objective-C selector generation rules have changed, following these steps: -1. Functions marked with `@property` will generate `setXYZ:` for the setters. -2. For property functions with names starting with `is`, that prefix will be stripped off in the setter. -3. Selector generation now uses the names of the function parameters instead of their D-mangled types. - -Selectors may still be specified with the `@selector` UDA, in which case it takes precedence over the -automatically generated selectors. - -These new rules apply both for `extern` and non-`extern` Objective-C classes and protocols. - ---- -extern(Objective-C) -extern class NSObject { - static NSObject alloc(); // Generates as `alloc` - NSObject init(); // Generates as `init` -} - -extern(Objective-C) -class Fox : NSObject { - bool fluffy; - - @property bool isFluffy() => fluffy; // `isFluffy` - @property void isFluffy(bool value) { fluffy = value; } // `setFluffy:` - - void yip(int a) @selector("bark:") { // `bark:` - // ... - } - - void doSomething(int a, int b, int c) { // `doSomething:b:c:` - // ... - } -} ---- - -These changes should not break any existing code because the automatic selector generation -was not present before. And automatic selector generation only applies to `extern(Objective-C)` methods. diff --git a/changelog/dmd.oq-compiler-switch.dd b/changelog/dmd.oq-compiler-switch.dd deleted file mode 100644 index d3f705d71f..0000000000 --- a/changelog/dmd.oq-compiler-switch.dd +++ /dev/null @@ -1,15 +0,0 @@ -New compiler switch `-oq` for DMD - -The switch gives fully qualified names to object files, preventing name conflicts when using the switch `-od` -while compiling multiple modules with the same name, but inside different packages. -The switch already existed in LDC, but is now in dmd as well. - -Example: - -$(CONSOLE -dmd -c -oq -od=. app.d util/app.d misc/app.d -) - -This will output `app.obj`, `util.app.obj`, and `misc.app.obj`, instead of just `app.obj`. - -The switch `-oq` also applies to other outputs, such as Ddoc (`-D -Dd=.`) and `.di` header generation (`-H -Hd=.`). diff --git a/changelog/dmd.placementNew.dd b/changelog/dmd.placementNew.dd deleted file mode 100644 index 5082d4a3e3..0000000000 --- a/changelog/dmd.placementNew.dd +++ /dev/null @@ -1,20 +0,0 @@ -Added Placement New Expression - -Placement `new` explicitly provides the storage for `new` expression to initialize -with the newly created value, rather than using the GC. - ---- -struct S -{ - float d; - int i; - char c; -} - -void main() @system @nogc -{ - S s; - S* p = new (s) S(3.14, 42, 'X'); // place new object into s - assert(p.i == 42 && p.c == 'X'); -} ---- diff --git a/changelog/dmd.postfix-this-attributes.dd b/changelog/dmd.postfix-this-attributes.dd deleted file mode 100644 index 7e2aa56cbb..0000000000 --- a/changelog/dmd.postfix-this-attributes.dd +++ /dev/null @@ -1,13 +0,0 @@ -Postfix type qualifier method attributes for `-H` and `-D` - -The `.di` interface file generation and Ddoc output will now have type qualifier -attributes placed after the parameter list for methods (and constructors). -This avoids confusion with the return type. - ---- -struct S -{ - const int f(); // before - int f() const; // now -} ---- diff --git a/changelog/dmd.remove-samples.dd b/changelog/dmd.remove-samples.dd deleted file mode 100644 index a553f50d88..0000000000 --- a/changelog/dmd.remove-samples.dd +++ /dev/null @@ -1,8 +0,0 @@ -The folder *samples* has been removed from DMD installations - -Every DMD release has included a folder with small D code examples. -These examples are quite old, and not a good representation of modern D. -They're also hard to discover, since D compilers are often installed through an installer or package manager. - -Since there are better resources available online nowadays, these samples have -been moved to the [undeaD](https://github.com/dlang/undeaD) repository. diff --git a/changelog/dmd.rvalue.dd b/changelog/dmd.rvalue.dd deleted file mode 100644 index 1c33f36d20..0000000000 --- a/changelog/dmd.rvalue.dd +++ /dev/null @@ -1,40 +0,0 @@ -New keyword `__rvalue` - -The newly added primary expression of the form `__rvalue(expression)` -evaluates to `expression`, except that it is treated as an rvalue, -even if would be an lvalue otherwise. - -Overloads on `ref`: -``` -foo( S s); // selected if the argument is an rvalue -foo(ref S s); // selected if the argument is an lvalue - -S s; -S bar(); -... -foo(s); // selects foo(ref S) -foo(bar()); // selects foo(S) -``` -With this change: -``` -foo(__rvalue(s)); // selects foo(S) -``` -This also applies to constructors and assignments, meaning move constructors and -move assignments are enabled. Moving instead of copying can be much more resource -efficient, as, say, a string can be moved rather than copied/deleted. - -A moved object will still be destructed, so take that into account when moving -a field - set it to a benign value that can be destructed. - -`__rvalue` may also be used as an attribute on a function which returns by ref -to declare that the result should be treated as an rvalue at the callsite: -``` -ref T move(T)(return ref T source) __rvalue -{ - return source; -} - -S s; -S t = move(s); // call expression rewritten as: S t = __rvalue(move(s)) -``` -This is used as an internal tool to implement library primitives such as `move` and `forward`. diff --git a/changelog/dmd.safer.dd b/changelog/dmd.safer.dd deleted file mode 100644 index c10af7515e..0000000000 --- a/changelog/dmd.safer.dd +++ /dev/null @@ -1,22 +0,0 @@ -Add `-preview=safer` switch for safety checking on unattributed functions - -All the checks currently enabled in `@safe` code, that are easily fixed (as in -the fix is constrained to the function), will be enabled in `-preview=safer` code. - -Code not easily fixed, such as calls to `@system` or unattributed functions, will -be allowed as before. - ---- -void f(); -@system void g(); - -void main() -{ - int* p; - p++; // Error, pointer arithmetic - f(); // allowed - g(); // allowed -} ---- - -For more information, see [this document](https://github.com/WalterBright/documents/blob/38f0a846726b571f8108f6e63e5e217b91421c86/safer.md). diff --git a/changelog/dmd.shortened-method-constructor.dd b/changelog/dmd.shortened-method-constructor.dd deleted file mode 100644 index 91a0e406ba..0000000000 --- a/changelog/dmd.shortened-method-constructor.dd +++ /dev/null @@ -1,18 +0,0 @@ -Shortened method syntax can now be used in constructors - -This used to raise an error (cannot return expression from constructor), but is now supported: - ---- -struct Number -{ - int x; - - void vf(int); - this(int x) => vf(x); - this(float x) => this(cast(int) x); -} ---- - -The expression body must be a `this`/`super` call or have type `void`. - -Postblits and destructors already supported shortened method syntax because they return `void`. diff --git a/changelog/druntime.bcrypt.dd b/changelog/druntime.bcrypt.dd deleted file mode 100644 index 76be170294..0000000000 --- a/changelog/druntime.bcrypt.dd +++ /dev/null @@ -1,7 +0,0 @@ -Add Windows BCrypt bindings under `core.sys.windows.bcrypt` - -Adds full [BCrypt API](https://learn.microsoft.com/en-us/windows/win32/api/bcrypt/) bindings -to the Windows-specific system bindings. - -The Windows-specific bindings under `core.sys.windows.sdkddkver` and `core.sys.windows.w32api` -have also been updated in order to facilitate the creation of the BCrypt bindings. diff --git a/changelog/druntime.criticalRegionLock.dd b/changelog/druntime.criticalRegionLock.dd deleted file mode 100644 index 45e39694b5..0000000000 --- a/changelog/druntime.criticalRegionLock.dd +++ /dev/null @@ -1,5 +0,0 @@ -Remove `criticalRegionLock` - -The `criticalRegionLock` feature suffer from a serious design flaw: $(LINK https://issues.dlang.org/show_bug.cgi?id=24741) - -It turns out it is not used, so rather than fixing the flaw, the feature was removed. diff --git a/changelog/druntime.expect-trap.dd b/changelog/druntime.expect-trap.dd deleted file mode 100644 index 5bda96069a..0000000000 --- a/changelog/druntime.expect-trap.dd +++ /dev/null @@ -1,7 +0,0 @@ -Adds `expect`, `likely`, `unlikely`, and `trap` to `core.builtins` - -Adds the functions `expect` and `likely`/`unlikely` for branch and value hints for the LDC/GDC compilers. -DMD ignores these hints. - -Adds the function `trap` to be lowered to the target-dependent trap instruction. -If the target does not have a trap instruction, this intrinsic will be lowered to a call of the `abort` function. diff --git a/changelog/druntime.segfault-message.dd b/changelog/druntime.segfault-message.dd deleted file mode 100644 index 37f771f439..0000000000 --- a/changelog/druntime.segfault-message.dd +++ /dev/null @@ -1,65 +0,0 @@ -New segfault handler showing backtraces for null access / call stack overflow on linux - -While buffer overflows are usually caught by array bounds checks, there are still other situations where a segmentation fault occurs in D programs: - -- `null` pointer dereference -- Corrupted or dangling pointer dereference in `@system` code -- Call stack overflow (infinite recursion) - -These result in an uninformative runtime error such as: - -$(CONSOLE -[1] 37856 segmentation fault (core dumped) ./app -) - -In order to find the cause of the error, the program needs to be run again in a debugger like GDB. - -There is the `registerMemoryErrorHandler` function in `etc.linux.memoryerror`, which catches `SIGSEGV` signals and transforms them into a thrown `InvalidPointerError`, providing a better message. -However, it doesn't work on call stack overflow, because it uses stack memory itself, so the segfault handler segfaults. -It also relies on inline assembly, limiting it to the x86 architecture. - -A new function `registerMemoryAssertHandler` has been introduced, which does handle stack overflow by setting up an [altstack](https://man7.org/linux/man-pages/man2/sigaltstack.2.html). -It uses `assert(0)` instead of throwing an `Error` object, so the result corresponds to the chosen `-checkaction` setting. - -Example: - ---- -void main() -{ - version (linux) - { - import etc.linux.memoryerror; - registerMemoryAssertHandler(); - } - int* p = null; - int* q = cast(int*) 0xDEADBEEF; - - // int a = *p; // segmentation fault: null pointer read/write operation - // int b = *q; // segmentation fault: invalid pointer read/write operation - recurse(); // segmentation fault: call stack overflow -} - -void recurse() -{ - recurse(); -} ---- - -Output with `dmd -g -run app.d`: - -$(CONSOLE -core.exception.AssertError@src/etc/linux/memoryerror.d(82): segmentation fault: call stack overflow -$(NDASH)$(NDASH)$(NDASH)$(NDASH)$(NDASH)$(NDASH)$(NDASH)$(NDASH)$(NDASH)$(NDASH) -src/core/exception.d:587 onAssertErrorMsg [0x58e270d2802d] -src/core/exception.d:803 _d_assert_msg [0x58e270d1fb64] -src/etc/linux/memoryerror.d:82 _d_handleSignalAssert [0x58e270d1f48d] -??:? [0x7004139e876f] -./app.d:16 void scratch.recurse() [0x58e270d1d757] -./app.d:18 void scratch.recurse() [0x58e270d1d75c] -./app.d:18 void scratch.recurse() [0x58e270d1d75c] -./app.d:18 void scratch.recurse() [0x58e270d1d75c] -./app.d:18 void scratch.recurse() [0x58e270d1d75c] -... -... -... -) diff --git a/compiler/src/dmd/access.d b/compiler/src/dmd/access.d index df04216323..eaaa288cb4 100644 --- a/compiler/src/dmd/access.d +++ b/compiler/src/dmd/access.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/access.d, _access.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/access.d, _access.d) * Documentation: https://dlang.org/phobos/dmd_access.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/access.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/access.d */ module dmd.access; diff --git a/compiler/src/dmd/aggregate.d b/compiler/src/dmd/aggregate.d index 25a8771f3b..51d6fc4595 100644 --- a/compiler/src/dmd/aggregate.d +++ b/compiler/src/dmd/aggregate.d @@ -7,9 +7,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/aggregate.d, _aggregate.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/aggregate.d, _aggregate.d) * Documentation: https://dlang.org/phobos/dmd_aggregate.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/aggregate.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/aggregate.d */ module dmd.aggregate; diff --git a/compiler/src/dmd/aliasthis.d b/compiler/src/dmd/aliasthis.d index aec18694c0..632cf95e80 100644 --- a/compiler/src/dmd/aliasthis.d +++ b/compiler/src/dmd/aliasthis.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/aliasthis.d, _aliasthis.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/aliasthis.d, _aliasthis.d) * Documentation: https://dlang.org/phobos/dmd_aliasthis.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/aliasthis.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/aliasthis.d */ module dmd.aliasthis; diff --git a/compiler/src/dmd/argtypes_aarch64.d b/compiler/src/dmd/argtypes_aarch64.d index a2e185f91b..545f11edfb 100644 --- a/compiler/src/dmd/argtypes_aarch64.d +++ b/compiler/src/dmd/argtypes_aarch64.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Martin Kinkelin * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/argtypes_aarch64.d, _argtypes_aarch64.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/argtypes_aarch64.d, _argtypes_aarch64.d) * Documentation: https://dlang.org/phobos/dmd_argtypes_aarch64.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/argtypes_aarch64.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/argtypes_aarch64.d */ module dmd.argtypes_aarch64; diff --git a/compiler/src/dmd/argtypes_sysv_x64.d b/compiler/src/dmd/argtypes_sysv_x64.d index e9f0cf857e..9cd4e514a6 100644 --- a/compiler/src/dmd/argtypes_sysv_x64.d +++ b/compiler/src/dmd/argtypes_sysv_x64.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Martin Kinkelin * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/argtypes_sysv_x64.d, _argtypes_sysv_x64.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/argtypes_sysv_x64.d, _argtypes_sysv_x64.d) * Documentation: https://dlang.org/phobos/dmd_argtypes_sysv_x64.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/argtypes_sysv_x64.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/argtypes_sysv_x64.d */ module dmd.argtypes_sysv_x64; diff --git a/compiler/src/dmd/argtypes_x86.d b/compiler/src/dmd/argtypes_x86.d index 62fdf88d5c..9f5adcf21b 100644 --- a/compiler/src/dmd/argtypes_x86.d +++ b/compiler/src/dmd/argtypes_x86.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/argtypes_x86.d, _argtypes_x86.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/argtypes_x86.d, _argtypes_x86.d) * Documentation: https://dlang.org/phobos/dmd_argtypes_x86.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/argtypes_x86.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/argtypes_x86.d */ module dmd.argtypes_x86; diff --git a/compiler/src/dmd/arrayop.d b/compiler/src/dmd/arrayop.d index 3129eb513a..7d25e18512 100644 --- a/compiler/src/dmd/arrayop.d +++ b/compiler/src/dmd/arrayop.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/arrayop.d, _arrayop.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/arrayop.d, _arrayop.d) * Documentation: https://dlang.org/phobos/dmd_arrayop.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/arrayop.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/arrayop.d */ module dmd.arrayop; diff --git a/compiler/src/dmd/arraytypes.d b/compiler/src/dmd/arraytypes.d index e09fb43a1b..2cd446ea5e 100644 --- a/compiler/src/dmd/arraytypes.d +++ b/compiler/src/dmd/arraytypes.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/arraytypes.d, _arraytypes.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/arraytypes.d, _arraytypes.d) * Documentation: https://dlang.org/phobos/dmd_arraytypes.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/arraytypes.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/arraytypes.d */ module dmd.arraytypes; diff --git a/compiler/src/dmd/ast_node.d b/compiler/src/dmd/ast_node.d index 3f2b221236..ad49169947 100644 --- a/compiler/src/dmd/ast_node.d +++ b/compiler/src/dmd/ast_node.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/ast_node.d, _ast_node.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/ast_node.d, _ast_node.d) * Documentation: https://dlang.org/phobos/dmd_ast_node.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/ast_node.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/ast_node.d */ module dmd.ast_node; diff --git a/compiler/src/dmd/astbase.d b/compiler/src/dmd/astbase.d index cd9a634516..e0a1808e78 100644 --- a/compiler/src/dmd/astbase.d +++ b/compiler/src/dmd/astbase.d @@ -3,9 +3,9 @@ * * Copyright: Copyright (C) 1999-2024 by The D Language Foundation, All Rights Reserved * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/astbase.d, _astbase.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/astbase.d, _astbase.d) * Documentation: https://dlang.org/phobos/dmd_astbase.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/astbase.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/astbase.d */ module dmd.astbase; diff --git a/compiler/src/dmd/astenums.d b/compiler/src/dmd/astenums.d index 2bbf1e0d26..b71b6c40ae 100644 --- a/compiler/src/dmd/astenums.d +++ b/compiler/src/dmd/astenums.d @@ -3,9 +3,9 @@ * * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/astenums.d, _astenums.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/astenums.d, _astenums.d) * Documentation: https://dlang.org/phobos/dmd_astenums.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/astenums.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/astenums.d */ module dmd.astenums; diff --git a/compiler/src/dmd/asttypename.d b/compiler/src/dmd/asttypename.d index fabc12eb32..8642288f58 100644 --- a/compiler/src/dmd/asttypename.d +++ b/compiler/src/dmd/asttypename.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Stefan Koch * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/asttypename.d, _asttypename.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/asttypename.d, _asttypename.d) * Documentation: https://dlang.org/phobos/dmd_asttypename.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/asttypename.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/asttypename.d */ module dmd.asttypename; diff --git a/compiler/src/dmd/attrib.d b/compiler/src/dmd/attrib.d index 7135c28fb9..1bfe7902a9 100644 --- a/compiler/src/dmd/attrib.d +++ b/compiler/src/dmd/attrib.d @@ -17,9 +17,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/attrib.d, _attrib.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/attrib.d, _attrib.d) * Documentation: https://dlang.org/phobos/dmd_attrib.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/attrib.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/attrib.d */ module dmd.attrib; diff --git a/compiler/src/dmd/attribsem.d b/compiler/src/dmd/attribsem.d index 78a3b475a3..bc966bb8eb 100644 --- a/compiler/src/dmd/attribsem.d +++ b/compiler/src/dmd/attribsem.d @@ -17,9 +17,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/attribsem.d, _attrib.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/attribsem.d, _attrib.d) * Documentation: https://dlang.org/phobos/dmd_attribsem.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/attribsem.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/attribsem.d */ module dmd.attribsem; diff --git a/compiler/src/dmd/backend/arm/cod1.d b/compiler/src/dmd/backend/arm/cod1.d index 4f0f707582..223a4ff245 100644 --- a/compiler/src/dmd/backend/arm/cod1.d +++ b/compiler/src/dmd/backend/arm/cod1.d @@ -10,9 +10,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/arm/cod1.d, backend/cod1.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/arm/cod1.d, backend/cod1.d) * Documentation: https://dlang.org/phobos/dmd_backend_arm_cod1.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/arm/cod1.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/arm/cod1.d */ module dmd.backend.arm.cod1; diff --git a/compiler/src/dmd/backend/arm/cod2.d b/compiler/src/dmd/backend/arm/cod2.d index fabd893c54..f80bb0bcb8 100644 --- a/compiler/src/dmd/backend/arm/cod2.d +++ b/compiler/src/dmd/backend/arm/cod2.d @@ -14,9 +14,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/arm/cod2.d, backend/cod2.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/arm/cod2.d, backend/cod2.d) * Documentation: https://dlang.org/phobos/dmd_backend_arm_cod2.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/arm/cod2.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/arm/cod2.d */ module dmd.backend.arm.cod2; diff --git a/compiler/src/dmd/backend/arm/cod3.d b/compiler/src/dmd/backend/arm/cod3.d index 32047b4256..0f6a6daddb 100644 --- a/compiler/src/dmd/backend/arm/cod3.d +++ b/compiler/src/dmd/backend/arm/cod3.d @@ -13,9 +13,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/arm/cod3.d, backend/cod3.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/arm/cod3.d, backend/cod3.d) * Documentation: https://dlang.org/phobos/dmd_backend_arm_cod3.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/arm/cod3.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/arm/cod3.d */ module dmd.backend.arm.cod3; diff --git a/compiler/src/dmd/backend/arm/cod4.d b/compiler/src/dmd/backend/arm/cod4.d index 10809c322a..e8996f996d 100644 --- a/compiler/src/dmd/backend/arm/cod4.d +++ b/compiler/src/dmd/backend/arm/cod4.d @@ -16,9 +16,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/arm/cod4.d, backend/cod4.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/arm/cod4.d, backend/cod4.d) * Documentation: https://dlang.org/phobos/dmd_backend_arm_cod4.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/arm/cod4.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/arm/cod4.d */ module dmd.backend.arm.cod4; diff --git a/compiler/src/dmd/backend/arm/instr.d b/compiler/src/dmd/backend/arm/instr.d index f7ee0b6367..7b3bc53da7 100644 --- a/compiler/src/dmd/backend/arm/instr.d +++ b/compiler/src/dmd/backend/arm/instr.d @@ -7,9 +7,9 @@ * Copyright: Copyright (C) 2024 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/arm/instr.d, backend/cod3.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/arm/instr.d, backend/cod3.d) * Documentation: https://dlang.org/phobos/dmd_backend_arm_insrt.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/arm/instr.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/arm/instr.d */ module dmd.backend.arm.instr; diff --git a/compiler/src/dmd/backend/backconfig.d b/compiler/src/dmd/backend/backconfig.d index 23b452c35f..80451f83b3 100644 --- a/compiler/src/dmd/backend/backconfig.d +++ b/compiler/src/dmd/backend/backconfig.d @@ -7,7 +7,7 @@ * Copyright: Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/backconfig.d, backend/backconfig.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/backconfig.d, backend/backconfig.d) */ module dmd.backend.backconfig; diff --git a/compiler/src/dmd/backend/barray.d b/compiler/src/dmd/backend/barray.d index 69a42bb3c8..6992f7993a 100644 --- a/compiler/src/dmd/backend/barray.d +++ b/compiler/src/dmd/backend/barray.d @@ -7,7 +7,7 @@ * Copyright: Copyright (C) 2018-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/barrayf.d, backend/barray.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/barray.d, backend/barray.d) * Documentation: https://dlang.org/phobos/dmd_backend_barray.html */ diff --git a/compiler/src/dmd/backend/blockopt.d b/compiler/src/dmd/backend/blockopt.d index d1be98cdba..338711eaa6 100644 --- a/compiler/src/dmd/backend/blockopt.d +++ b/compiler/src/dmd/backend/blockopt.d @@ -5,9 +5,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/blockopt.d, backend/blockopt.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/blockopt.d, backend/blockopt.d) * Documentation: https://dlang.org/phobos/dmd_backend_blockopt.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/blockopt.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/blockopt.d */ module dmd.backend.blockopt; diff --git a/compiler/src/dmd/backend/cc.d b/compiler/src/dmd/backend/cc.d index c327476d22..683a537f02 100644 --- a/compiler/src/dmd/backend/cc.d +++ b/compiler/src/dmd/backend/cc.d @@ -8,7 +8,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/cc.d, backend/_cc.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/cc.d, backend/_cc.d) */ module dmd.backend.cc; diff --git a/compiler/src/dmd/backend/cdef.d b/compiler/src/dmd/backend/cdef.d index 329b4b7ca1..d242a260a0 100644 --- a/compiler/src/dmd/backend/cdef.d +++ b/compiler/src/dmd/backend/cdef.d @@ -8,7 +8,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/cdef.d, backend/_cdef.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/cdef.d, backend/_cdef.d) */ module dmd.backend.cdef; diff --git a/compiler/src/dmd/backend/cg.d b/compiler/src/dmd/backend/cg.d index 55ddc0359b..0d7015f536 100644 --- a/compiler/src/dmd/backend/cg.d +++ b/compiler/src/dmd/backend/cg.d @@ -8,7 +8,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/cg.c, backend/cg.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/cg.d, backend/cg.d) */ module dmd.backend.cg; diff --git a/compiler/src/dmd/backend/cgcse.d b/compiler/src/dmd/backend/cgcse.d index 3b74cfcccc..b90bda1783 100644 --- a/compiler/src/dmd/backend/cgcse.d +++ b/compiler/src/dmd/backend/cgcse.d @@ -8,8 +8,8 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/cgcse.d, backend/cgcse.d) - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/cgcse.d + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/cgcse.d, backend/cgcse.d) + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/cgcse.d */ module dmd.backend.cgcse; diff --git a/compiler/src/dmd/backend/cgcv.d b/compiler/src/dmd/backend/cgcv.d index 6a13c74536..0b2322cad1 100644 --- a/compiler/src/dmd/backend/cgcv.d +++ b/compiler/src/dmd/backend/cgcv.d @@ -8,7 +8,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/cgcv.c, backend/cgcv.c) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/cgcv.d, backend/cgcv.c) */ /* Header for cgcv.c */ diff --git a/compiler/src/dmd/backend/cgelem.d b/compiler/src/dmd/backend/cgelem.d index 488c54927f..fc0cfe5b40 100644 --- a/compiler/src/dmd/backend/cgelem.d +++ b/compiler/src/dmd/backend/cgelem.d @@ -11,9 +11,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/cgelem.d, backend/cgelem.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/cgelem.d, backend/cgelem.d) * Documentation: https://dlang.org/phobos/dmd_backend_cgelem.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/cgelem.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/cgelem.d * Add coverage tests to https://github.com/dlang/dmd/blob/master/test/runnable/testcgelem.d */ diff --git a/compiler/src/dmd/backend/cgen.d b/compiler/src/dmd/backend/cgen.d index 9e7974092c..30fc3eff68 100644 --- a/compiler/src/dmd/backend/cgen.d +++ b/compiler/src/dmd/backend/cgen.d @@ -5,9 +5,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/cgen.d, backend/cgen.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/cgen.d, backend/cgen.d) * Documentation: https://dlang.org/phobos/dmd_backend_cgen.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/cgen.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/cgen.d */ module dmd.backend.cgen; diff --git a/compiler/src/dmd/backend/cgsched.d b/compiler/src/dmd/backend/cgsched.d index d80ff4fc29..6c03171eaf 100644 --- a/compiler/src/dmd/backend/cgsched.d +++ b/compiler/src/dmd/backend/cgsched.d @@ -8,7 +8,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/cgsched.c, backend/cgsched.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/cgsched.d, backend/cgsched.d) */ module dmd.backend.cgsched; diff --git a/compiler/src/dmd/backend/code.d b/compiler/src/dmd/backend/code.d index 9abbd4568f..d94a7ac9bd 100644 --- a/compiler/src/dmd/backend/code.d +++ b/compiler/src/dmd/backend/code.d @@ -8,7 +8,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/code.d, backend/_code.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/code.d, backend/_code.d) */ module dmd.backend.code; diff --git a/compiler/src/dmd/backend/codebuilder.d b/compiler/src/dmd/backend/codebuilder.d index 54a55940dd..628ecb8cdd 100644 --- a/compiler/src/dmd/backend/codebuilder.d +++ b/compiler/src/dmd/backend/codebuilder.d @@ -8,7 +8,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/codebuilder.d, backend/_codebuilder.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/codebuilder.d, backend/_codebuilder.d) * Documentation: https://dlang.org/phobos/dmd_backend_codebuilder.html */ diff --git a/compiler/src/dmd/backend/cv4.d b/compiler/src/dmd/backend/cv4.d index b4622580ed..9e571753d8 100644 --- a/compiler/src/dmd/backend/cv4.d +++ b/compiler/src/dmd/backend/cv4.d @@ -6,7 +6,7 @@ * Compiler implementation of the * $(LINK2 https://www.dlang.org, D programming language). * - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/cv4.d, backend/_cv4.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/cv4.d, backend/_cv4.d) */ module dmd.backend.cv4; diff --git a/compiler/src/dmd/backend/cv8.d b/compiler/src/dmd/backend/cv8.d index 94fe941885..56969d370e 100644 --- a/compiler/src/dmd/backend/cv8.d +++ b/compiler/src/dmd/backend/cv8.d @@ -10,9 +10,9 @@ * Copyright: Copyright (C) 2012-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/cv8.d, backend/cv8.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/cv8.d, backend/cv8.d) * Documentation: https://dlang.org/phobos/dmd_backend_cv8.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/cv8.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/cv8.d */ module dmd.backend.cv8; diff --git a/compiler/src/dmd/backend/dcgcv.d b/compiler/src/dmd/backend/dcgcv.d index bccff67ac2..e582125c81 100644 --- a/compiler/src/dmd/backend/dcgcv.d +++ b/compiler/src/dmd/backend/dcgcv.d @@ -8,8 +8,8 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/dcgcv.d, backend/dcgcv.d) - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/dcgcv.d + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/dcgcv.d, backend/dcgcv.d) + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/dcgcv.d */ module dmd.backend.dcgcv; diff --git a/compiler/src/dmd/backend/dcode.d b/compiler/src/dmd/backend/dcode.d index 0fe536bec7..e52608148f 100644 --- a/compiler/src/dmd/backend/dcode.d +++ b/compiler/src/dmd/backend/dcode.d @@ -8,7 +8,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/dcode.d, backend/dcode.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/dcode.d, backend/dcode.d) */ module dmd.backend.dcode; diff --git a/compiler/src/dmd/backend/debugprint.d b/compiler/src/dmd/backend/debugprint.d index dcf9f608e6..0696b3f9d4 100644 --- a/compiler/src/dmd/backend/debugprint.d +++ b/compiler/src/dmd/backend/debugprint.d @@ -8,8 +8,8 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/debug.c, backend/debugprint.d) - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/debug.c + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/debugprint.d, backend/debugprint.d) + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/debugprint.d */ module dmd.backend.debugprint; diff --git a/compiler/src/dmd/backend/divcoeff.d b/compiler/src/dmd/backend/divcoeff.d index 358473a4bb..bafd0c9d61 100644 --- a/compiler/src/dmd/backend/divcoeff.d +++ b/compiler/src/dmd/backend/divcoeff.d @@ -8,7 +8,7 @@ * Copyright: Copyright (C) 2013-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/divcoeff.d, backend/divcoeff.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/divcoeff.d, backend/divcoeff.d) */ module dmd.backend.divcoeff; diff --git a/compiler/src/dmd/backend/dlist.d b/compiler/src/dmd/backend/dlist.d index 9cb1ede405..8e7c1b596d 100644 --- a/compiler/src/dmd/backend/dlist.d +++ b/compiler/src/dmd/backend/dlist.d @@ -13,7 +13,7 @@ * Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/dlist.d, backend/dlist.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/dlist.d, backend/dlist.d) */ module dmd.backend.dlist; diff --git a/compiler/src/dmd/backend/dout.d b/compiler/src/dmd/backend/dout.d index 87050ebe2a..874a82e79f 100644 --- a/compiler/src/dmd/backend/dout.d +++ b/compiler/src/dmd/backend/dout.d @@ -8,9 +8,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/dout.d, backend/dout.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/dout.d, backend/dout.d) * Documentation: https://dlang.org/phobos/dmd_backend_dout.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/dout.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/dout.d */ module dmd.backend.dout; diff --git a/compiler/src/dmd/backend/drtlsym.d b/compiler/src/dmd/backend/drtlsym.d index ecd6476c18..bfce03b39a 100644 --- a/compiler/src/dmd/backend/drtlsym.d +++ b/compiler/src/dmd/backend/drtlsym.d @@ -8,7 +8,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/drtlsym.d, backend/drtlsym.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/drtlsym.d, backend/drtlsym.d) */ module dmd.backend.drtlsym; diff --git a/compiler/src/dmd/backend/dvarstats.d b/compiler/src/dmd/backend/dvarstats.d index c79738ed18..5e6bee07a2 100644 --- a/compiler/src/dmd/backend/dvarstats.d +++ b/compiler/src/dmd/backend/dvarstats.d @@ -7,7 +7,7 @@ * Copyright: Copyright (C) 2015-2025 by The D Language Foundation, All Rights Reserved * Authors: Rainer Schuetze * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/dvarstats.d, backend/dvarstats.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/dvarstats.d, backend/dvarstats.d) */ module dmd.backend.dvarstats; diff --git a/compiler/src/dmd/backend/dvec.d b/compiler/src/dmd/backend/dvec.d index 91cadb2389..e38dd01d15 100644 --- a/compiler/src/dmd/backend/dvec.d +++ b/compiler/src/dmd/backend/dvec.d @@ -7,7 +7,7 @@ * Copyright: Copyright (C) 2013-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/dvec.d, backend/dvec.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/dvec.d, backend/dvec.d) */ module dmd.backend.dvec; diff --git a/compiler/src/dmd/backend/dwarf2.d b/compiler/src/dmd/backend/dwarf2.d index cc5a88a411..f3c64f5ca3 100644 --- a/compiler/src/dmd/backend/dwarf2.d +++ b/compiler/src/dmd/backend/dwarf2.d @@ -3,7 +3,7 @@ * Reflects declarations from the DWARF 3 to 5 specification, not the The D Language Foundation * dwarf implementation * - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/dwarf2.d, backend/_dwarf2.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/dwarf2.d, backend/_dwarf2.d) */ module dmd.backend.dwarf2; diff --git a/compiler/src/dmd/backend/dwarfdbginf.d b/compiler/src/dmd/backend/dwarfdbginf.d index 09cbae7883..856f46215a 100644 --- a/compiler/src/dmd/backend/dwarfdbginf.d +++ b/compiler/src/dmd/backend/dwarfdbginf.d @@ -7,8 +7,8 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/dwarfdbginf.d, backend/dwarfdbginf.d) - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/dwarfdbginf.d + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/dwarfdbginf.d, backend/dwarfdbginf.d) + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/dwarfdbginf.d */ diff --git a/compiler/src/dmd/backend/dwarfeh.d b/compiler/src/dmd/backend/dwarfeh.d index a4741efffc..ce194c4f80 100644 --- a/compiler/src/dmd/backend/dwarfeh.d +++ b/compiler/src/dmd/backend/dwarfeh.d @@ -5,7 +5,7 @@ * Copyright: Copyright (C) 2015-2025 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/dwarfeh.d, backend/dwarfeh.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/dwarfeh.d, backend/dwarfeh.d) */ module dmd.backend.dwarfeh; diff --git a/compiler/src/dmd/backend/ee.d b/compiler/src/dmd/backend/ee.d index fe57b4134f..1fce515a5e 100644 --- a/compiler/src/dmd/backend/ee.d +++ b/compiler/src/dmd/backend/ee.d @@ -8,7 +8,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/ee.d, backend/ee.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/ee.d, backend/ee.d) */ module dmd.backend.ee; diff --git a/compiler/src/dmd/backend/eh.d b/compiler/src/dmd/backend/eh.d index 55e28b0eaa..769d6141fa 100644 --- a/compiler/src/dmd/backend/eh.d +++ b/compiler/src/dmd/backend/eh.d @@ -6,9 +6,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/eh.d, _eh.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/eh.d, _eh.d) * Documentation: https://dlang.org/phobos/dmd_eh.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/eh.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/eh.d */ module dmd.backend.eh; diff --git a/compiler/src/dmd/backend/el.d b/compiler/src/dmd/backend/el.d index fe126c5d00..b24886e9fe 100644 --- a/compiler/src/dmd/backend/el.d +++ b/compiler/src/dmd/backend/el.d @@ -8,7 +8,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/el.d, backend/el.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/el.d, backend/el.d) */ module dmd.backend.el; diff --git a/compiler/src/dmd/backend/elem.d b/compiler/src/dmd/backend/elem.d index 76ce884e07..34eaa1570c 100644 --- a/compiler/src/dmd/backend/elem.d +++ b/compiler/src/dmd/backend/elem.d @@ -8,7 +8,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/elem.d, backend/elem.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/elem.d, backend/elem.d) */ module dmd.backend.elem; diff --git a/compiler/src/dmd/backend/elfobj.d b/compiler/src/dmd/backend/elfobj.d index 65a7484936..b384498061 100644 --- a/compiler/src/dmd/backend/elfobj.d +++ b/compiler/src/dmd/backend/elfobj.d @@ -10,7 +10,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/elfobj.d, backend/elfobj.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/elfobj.d, backend/elfobj.d) */ module dmd.backend.elfobj; @@ -1564,7 +1564,7 @@ private void obj_tlssections() * Returns: * "segment index" of COMDAT * References: - * Section Groups http://www.sco.com/developers/gabi/2003-12-17/ch4.sheader.html#section_groups + * Section Groups https://www.sco.com/developers/gabi/2003-12-17/ch4.sheader.html#section_groups * COMDAT section groups https://www.airs.com/blog/archives/52 */ diff --git a/compiler/src/dmd/backend/elpicpie.d b/compiler/src/dmd/backend/elpicpie.d index ec5bf2a4c8..14215349f8 100644 --- a/compiler/src/dmd/backend/elpicpie.d +++ b/compiler/src/dmd/backend/elpicpie.d @@ -8,7 +8,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/elpicpie.d, backend/elpicpie.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/elpicpie.d, backend/elpicpie.d) */ module dmd.backend.elpicpie; diff --git a/compiler/src/dmd/backend/evalu8.d b/compiler/src/dmd/backend/evalu8.d index 75522d06b5..9b69f3972d 100644 --- a/compiler/src/dmd/backend/evalu8.d +++ b/compiler/src/dmd/backend/evalu8.d @@ -8,7 +8,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/evalu8.d, backend/evalu8.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/evalu8.d, backend/evalu8.d) */ module dmd.backend.evalu8; diff --git a/compiler/src/dmd/backend/fp.d b/compiler/src/dmd/backend/fp.d index b11d7a3f1f..171e579ca5 100644 --- a/compiler/src/dmd/backend/fp.d +++ b/compiler/src/dmd/backend/fp.d @@ -6,8 +6,8 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/fp.d backend/fp.d) - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/fp.d + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/fp.d backend/fp.d) + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/fp.d */ module dmd.backend.fp; diff --git a/compiler/src/dmd/backend/gdag.d b/compiler/src/dmd/backend/gdag.d index 596599b2cc..55eb6701d4 100644 --- a/compiler/src/dmd/backend/gdag.d +++ b/compiler/src/dmd/backend/gdag.d @@ -8,8 +8,8 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/gdag.d, backend/gdag.d) - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/gdag.d + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/gdag.d, backend/gdag.d) + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/gdag.d */ module dmd.backend.gdag; diff --git a/compiler/src/dmd/backend/gflow.d b/compiler/src/dmd/backend/gflow.d index 09dc46ebb3..d73a14e161 100644 --- a/compiler/src/dmd/backend/gflow.d +++ b/compiler/src/dmd/backend/gflow.d @@ -5,9 +5,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/gflow.d, backend/gflow.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/gflow.d, backend/gflow.d) * Documentation: https://dlang.org/phobos/dmd_backend_gflow.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/gflow.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/gflow.d */ module dmd.backend.gflow; diff --git a/compiler/src/dmd/backend/global.d b/compiler/src/dmd/backend/global.d index 5da4acfe0e..ef2e3f6ca3 100644 --- a/compiler/src/dmd/backend/global.d +++ b/compiler/src/dmd/backend/global.d @@ -8,7 +8,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/global.d, backend/global.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/global.d, backend/global.d) */ module dmd.backend.global; diff --git a/compiler/src/dmd/backend/glocal.d b/compiler/src/dmd/backend/glocal.d index 24f66ee8b4..0b1f9751b1 100644 --- a/compiler/src/dmd/backend/glocal.d +++ b/compiler/src/dmd/backend/glocal.d @@ -8,8 +8,8 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/glocal.d, backend/glocal.d) - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/glocal.d + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/glocal.d, backend/glocal.d) + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/glocal.d */ module dmd.backend.glocal; diff --git a/compiler/src/dmd/backend/gloop.d b/compiler/src/dmd/backend/gloop.d index de89651f67..f34ce2fc37 100644 --- a/compiler/src/dmd/backend/gloop.d +++ b/compiler/src/dmd/backend/gloop.d @@ -8,8 +8,8 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/gloop.d, backend/gloop.d) - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/gloop.d + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/gloop.d, backend/gloop.d) + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/gloop.d */ module dmd.backend.gloop; diff --git a/compiler/src/dmd/backend/gsroa.d b/compiler/src/dmd/backend/gsroa.d index 6019724059..bae8947097 100644 --- a/compiler/src/dmd/backend/gsroa.d +++ b/compiler/src/dmd/backend/gsroa.d @@ -11,7 +11,7 @@ * Copyright: Copyright (C) 2016-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/gsroa.c, backend/gsroa.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/gsroa.d, backend/gsroa.d) */ module dmd.backend.gsroa; diff --git a/compiler/src/dmd/backend/iasm.d b/compiler/src/dmd/backend/iasm.d index c1fcac22bb..6ff44fb0af 100644 --- a/compiler/src/dmd/backend/iasm.d +++ b/compiler/src/dmd/backend/iasm.d @@ -5,9 +5,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: Mike Cote, John Micco, $(LINK2 https://www.digitalmars.com, Walter Bright), * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/iasm.d, backend/iasm.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/iasm.d, backend/iasm.d) * Documentation: https://dlang.org/phobos/dmd_backend_iasm.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/iasm.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/iasm.d */ module dmd.backend.iasm; diff --git a/compiler/src/dmd/backend/inliner.d b/compiler/src/dmd/backend/inliner.d index 4c14d3ddf9..93e080e4ea 100644 --- a/compiler/src/dmd/backend/inliner.d +++ b/compiler/src/dmd/backend/inliner.d @@ -19,7 +19,7 @@ * Some parts based on an inliner from the Digital Mars C compiler. * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/inliner.d, backend/inliner.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/inliner.d, backend/inliner.d) */ // C++ specific routines diff --git a/compiler/src/dmd/backend/machobj.d b/compiler/src/dmd/backend/machobj.d index 1b85359b2b..45b318831a 100644 --- a/compiler/src/dmd/backend/machobj.d +++ b/compiler/src/dmd/backend/machobj.d @@ -7,7 +7,7 @@ * Copyright: Copyright (C) 2009-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/machobj.d, backend/machobj.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/machobj.d, backend/machobj.d) */ module dmd.backend.machobj; diff --git a/compiler/src/dmd/backend/melf.d b/compiler/src/dmd/backend/melf.d index 6e1de11e1d..300061cfb1 100644 --- a/compiler/src/dmd/backend/melf.d +++ b/compiler/src/dmd/backend/melf.d @@ -7,7 +7,7 @@ * * Translation to D of Linux's melf.h * - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/melf.d, backend/melf.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/melf.d, backend/melf.d) * References: $(LINK2 https://github.com/ARM-software/abi-aa/blob/main/aaelf64/aaelf64.rst, aaelf64) */ diff --git a/compiler/src/dmd/backend/mem.d b/compiler/src/dmd/backend/mem.d index c3942fb2b6..78cac60fcd 100644 --- a/compiler/src/dmd/backend/mem.d +++ b/compiler/src/dmd/backend/mem.d @@ -6,8 +6,8 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/mem.d, backend/mem.d) - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/mem.d + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/mem.d, backend/mem.d) + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/mem.d */ diff --git a/compiler/src/dmd/backend/mscoff.d b/compiler/src/dmd/backend/mscoff.d index dec7799610..8e9b810e40 100644 --- a/compiler/src/dmd/backend/mscoff.d +++ b/compiler/src/dmd/backend/mscoff.d @@ -1,7 +1,7 @@ /** * Microsoft COFF object file format * - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/mscoff.d, backend/_mscoff.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/mscoff.d, backend/_mscoff.d) */ module dmd.backend.mscoff; diff --git a/compiler/src/dmd/backend/mscoffobj.d b/compiler/src/dmd/backend/mscoffobj.d index b853fa8b67..a61ab438d2 100644 --- a/compiler/src/dmd/backend/mscoffobj.d +++ b/compiler/src/dmd/backend/mscoffobj.d @@ -5,7 +5,7 @@ * Copyright: Copyright (C) 2009-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/mscoffobj.d, backend/mscoffobj.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/mscoffobj.d, backend/mscoffobj.d) */ module dmd.backend.mscoffobj; diff --git a/compiler/src/dmd/backend/obj.d b/compiler/src/dmd/backend/obj.d index 7fdc85d853..89618fb8da 100644 --- a/compiler/src/dmd/backend/obj.d +++ b/compiler/src/dmd/backend/obj.d @@ -6,7 +6,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/obj.d, backend/obj.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/obj.d, backend/obj.d) */ module dmd.backend.obj; diff --git a/compiler/src/dmd/backend/oper.d b/compiler/src/dmd/backend/oper.d index 5cd026ebc1..2c531ec785 100644 --- a/compiler/src/dmd/backend/oper.d +++ b/compiler/src/dmd/backend/oper.d @@ -6,7 +6,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/oper.d, backend/oper.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/oper.d, backend/oper.d) */ module dmd.backend.oper; diff --git a/compiler/src/dmd/backend/pdata.d b/compiler/src/dmd/backend/pdata.d index f639347b81..a756a2fe1f 100644 --- a/compiler/src/dmd/backend/pdata.d +++ b/compiler/src/dmd/backend/pdata.d @@ -7,7 +7,7 @@ * Copyright: Copyright (C) 2012-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/pdata.d, backend/pdata.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/pdata.d, backend/pdata.d) */ module dmd.backend.pdata; diff --git a/compiler/src/dmd/backend/ptrntab.d b/compiler/src/dmd/backend/ptrntab.d index 70735760af..6b3937254e 100644 --- a/compiler/src/dmd/backend/ptrntab.d +++ b/compiler/src/dmd/backend/ptrntab.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1985-1998 by Symantec * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/ptrntab.d, backend/ptrntab.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/ptrntab.d, backend/ptrntab.d) * Documentation: https://dlang.org/phobos/dmd_backend_ptrntab.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/ptrntab.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/ptrntab.d */ module dmd.backend.ptrntab; diff --git a/compiler/src/dmd/backend/symtab.d b/compiler/src/dmd/backend/symtab.d index 453a7c7942..89468c92a2 100644 --- a/compiler/src/dmd/backend/symtab.d +++ b/compiler/src/dmd/backend/symtab.d @@ -5,9 +5,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/symtab.d, backend/_symtab.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/symtab.d, backend/_symtab.d) * Documentation: https://dlang.org/phobos/dmd_backend_symtab.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/symtab.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/symtab.d */ module dmd.backend.symtab; diff --git a/compiler/src/dmd/backend/ty.d b/compiler/src/dmd/backend/ty.d index 6eefb3486e..b45888662d 100644 --- a/compiler/src/dmd/backend/ty.d +++ b/compiler/src/dmd/backend/ty.d @@ -8,7 +8,7 @@ * Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/ty.d, backend/_ty.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/ty.d, backend/_ty.d) */ module dmd.backend.ty; diff --git a/compiler/src/dmd/backend/type.d b/compiler/src/dmd/backend/type.d index 9d1346aba8..e095eb05e7 100644 --- a/compiler/src/dmd/backend/type.d +++ b/compiler/src/dmd/backend/type.d @@ -8,7 +8,7 @@ * Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/type.d, backend/_type.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/type.d, backend/_type.d) */ module dmd.backend.type; diff --git a/compiler/src/dmd/backend/util2.d b/compiler/src/dmd/backend/util2.d index 6a0873c11c..6a6f52c4e6 100644 --- a/compiler/src/dmd/backend/util2.d +++ b/compiler/src/dmd/backend/util2.d @@ -10,7 +10,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/util2.d, backend/util2.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/util2.d, backend/util2.d) */ module dmd.backend.util2; diff --git a/compiler/src/dmd/backend/var.d b/compiler/src/dmd/backend/var.d index 63440e0edd..3fc0286d07 100644 --- a/compiler/src/dmd/backend/var.d +++ b/compiler/src/dmd/backend/var.d @@ -8,7 +8,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/var.d, backend/var.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/var.d, backend/var.d) */ module dmd.backend.var; diff --git a/compiler/src/dmd/backend/x86/cg87.d b/compiler/src/dmd/backend/x86/cg87.d index d1cd09a00a..71b49da77a 100644 --- a/compiler/src/dmd/backend/x86/cg87.d +++ b/compiler/src/dmd/backend/x86/cg87.d @@ -8,9 +8,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/x86/cg87.d, backend/cg87.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/x86/cg87.d, backend/cg87.d) * Documentation: https://dlang.org/phobos/dmd_backend_x86_cg87.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/x86/cg87.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/x86/cg87.d */ module dmd.backend.x86.cg87; diff --git a/compiler/src/dmd/backend/x86/cgcod.d b/compiler/src/dmd/backend/x86/cgcod.d index 82bf82759a..df77914ebc 100644 --- a/compiler/src/dmd/backend/x86/cgcod.d +++ b/compiler/src/dmd/backend/x86/cgcod.d @@ -5,9 +5,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/x86/cgcod.d, backend/cgcod.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/x86/cgcod.d, backend/cgcod.d) * Documentation: https://dlang.org/phobos/dmd_backend_x86_cgcod.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/x86/cgcod.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/x86/cgcod.d */ module dmd.backend.x86.cgcod; diff --git a/compiler/src/dmd/backend/x86/cgreg.d b/compiler/src/dmd/backend/x86/cgreg.d index 661b1201ec..ee6700db36 100644 --- a/compiler/src/dmd/backend/x86/cgreg.d +++ b/compiler/src/dmd/backend/x86/cgreg.d @@ -8,7 +8,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/cgreg.c, backend/cgreg.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/x86/cgreg.d, backend/cgreg.d) */ module dmd.backend.x86.cgreg; diff --git a/compiler/src/dmd/backend/x86/cgxmm.d b/compiler/src/dmd/backend/x86/cgxmm.d index c098723d78..43f05240a0 100644 --- a/compiler/src/dmd/backend/x86/cgxmm.d +++ b/compiler/src/dmd/backend/x86/cgxmm.d @@ -7,9 +7,9 @@ * Copyright: Copyright (C) 2011-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/x86/cgxmm.d, backend/cgxmm.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/x86/cgxmm.d, backend/cgxmm.d) * Documentation: https://dlang.org/phobos/dmd_backend_x86_cgxmm.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/x86/cgxmm.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/x86/cgxmm.d */ module dmd.backend.x86.cgxmm; diff --git a/compiler/src/dmd/backend/x86/cod1.d b/compiler/src/dmd/backend/x86/cod1.d index d6da19a37f..657ab62757 100644 --- a/compiler/src/dmd/backend/x86/cod1.d +++ b/compiler/src/dmd/backend/x86/cod1.d @@ -10,9 +10,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/x86/cod1.d, backend/cod1.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/x86/cod1.d, backend/cod1.d) * Documentation: https://dlang.org/phobos/dmd_backend_x86_cod1.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/x86/cod1.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/x86/cod1.d */ module dmd.backend.x86.cod1; diff --git a/compiler/src/dmd/backend/x86/cod2.d b/compiler/src/dmd/backend/x86/cod2.d index 523fa558c2..d6dff7bf11 100644 --- a/compiler/src/dmd/backend/x86/cod2.d +++ b/compiler/src/dmd/backend/x86/cod2.d @@ -14,9 +14,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/x86/cod2.d, backend/cod2.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/x86/cod2.d, backend/cod2.d) * Documentation: https://dlang.org/phobos/dmd_backend_x86_cod2.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/x86/cod2.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/x86/cod2.d */ module dmd.backend.x86.cod2; diff --git a/compiler/src/dmd/backend/x86/cod3.d b/compiler/src/dmd/backend/x86/cod3.d index 7ecf604eab..61005a72af 100644 --- a/compiler/src/dmd/backend/x86/cod3.d +++ b/compiler/src/dmd/backend/x86/cod3.d @@ -13,9 +13,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/x86/cod3.d, backend/cod3.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/x86/cod3.d, backend/cod3.d) * Documentation: https://dlang.org/phobos/dmd_backend_x86_cod3.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/x86/cod3.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/x86/cod3.d */ module dmd.backend.x86.cod3; diff --git a/compiler/src/dmd/backend/x86/cod4.d b/compiler/src/dmd/backend/x86/cod4.d index 00c244ccce..4e9a0a1efe 100644 --- a/compiler/src/dmd/backend/x86/cod4.d +++ b/compiler/src/dmd/backend/x86/cod4.d @@ -16,9 +16,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/x86/cod4.d, backend/cod4.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/x86/cod4.d, backend/cod4.d) * Documentation: https://dlang.org/phobos/dmd_backend_x86_cod4.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/x86/cod4.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/x86/cod4.d */ module dmd.backend.x86.cod4; diff --git a/compiler/src/dmd/backend/x86/cod5.d b/compiler/src/dmd/backend/x86/cod5.d index 1fbd9beac9..3d8937ea16 100644 --- a/compiler/src/dmd/backend/x86/cod5.d +++ b/compiler/src/dmd/backend/x86/cod5.d @@ -10,9 +10,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/x86/cod5.d, backend/cod5.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/x86/cod5.d, backend/cod5.d) * Documentation: https://dlang.org/phobos/dmd_backend_x86_cod5.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/x86/cod5.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/x86/cod5.d */ module dmd.backend.x86.cod5; diff --git a/compiler/src/dmd/backend/x86/code_x86.d b/compiler/src/dmd/backend/x86/code_x86.d index 38a9094881..a211afc5b2 100644 --- a/compiler/src/dmd/backend/x86/code_x86.d +++ b/compiler/src/dmd/backend/x86/code_x86.d @@ -5,9 +5,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/x86/code_x86.d, backend/code_x86.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/x86/code_x86.d, backend/code_x86.d) * Documentation: https://dlang.org/phobos/dmd_backend_x86/code_x86.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/x86/code_x86.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/x86/code_x86.d */ module dmd.backend.x86.code_x86; diff --git a/compiler/src/dmd/backend/x86/disasm86.d b/compiler/src/dmd/backend/x86/disasm86.d index c3837b7537..58af881a9a 100644 --- a/compiler/src/dmd/backend/x86/disasm86.d +++ b/compiler/src/dmd/backend/x86/disasm86.d @@ -6,9 +6,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/x86/disasm86.d, backend/cod1.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/x86/disasm86.d, backend/cod1.d) * Documentation: https://dlang.org/phobos/dmd_backend_x86_disasm86.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/x86/disasm86.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/x86/disasm86.d */ module dmd.backend.x86.disasm86; diff --git a/compiler/src/dmd/backend/x86/nteh.d b/compiler/src/dmd/backend/x86/nteh.d index fae4389719..d91a9c5da9 100644 --- a/compiler/src/dmd/backend/x86/nteh.d +++ b/compiler/src/dmd/backend/x86/nteh.d @@ -8,8 +8,8 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/x86/nteh.d, backend/nteh.d) - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/x86/nteh.d + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/x86/nteh.d, backend/nteh.d) + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/x86/nteh.d * Documentation: https://dlang.org/phobos/dmd_backend_x86_nteh.html */ diff --git a/compiler/src/dmd/backend/x86/xmm.d b/compiler/src/dmd/backend/x86/xmm.d index ef3c2bd83b..c52a5dc265 100644 --- a/compiler/src/dmd/backend/x86/xmm.d +++ b/compiler/src/dmd/backend/x86/xmm.d @@ -7,9 +7,9 @@ * Copyright: Copyright (C) ?-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/x86/xmm.d, backend/_xmm.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/x86/xmm.d, backend/_xmm.d) * Documentation: https://dlang.org/phobos/dmd_backend_x86_xmm.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/x86/xmm.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/x86/xmm.d */ module dmd.backend.x86.xmm; diff --git a/compiler/src/dmd/blockexit.d b/compiler/src/dmd/blockexit.d index 32012d41db..ae2f12f323 100644 --- a/compiler/src/dmd/blockexit.d +++ b/compiler/src/dmd/blockexit.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/blockexit.d, _blockexit.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/blockexit.d, _blockexit.d) * Documentation: https://dlang.org/phobos/dmd_blockexit.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/blockexit.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/blockexit.d */ module dmd.blockexit; diff --git a/compiler/src/dmd/builtin.d b/compiler/src/dmd/builtin.d index bb4425cd70..17e69b2e1d 100644 --- a/compiler/src/dmd/builtin.d +++ b/compiler/src/dmd/builtin.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/builtin.d, _builtin.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/builtin.d, _builtin.d) * Documentation: https://dlang.org/phobos/dmd_builtin.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/builtin.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/builtin.d */ module dmd.builtin; diff --git a/compiler/src/dmd/canthrow.d b/compiler/src/dmd/canthrow.d index a209a0ce77..96acf05529 100644 --- a/compiler/src/dmd/canthrow.d +++ b/compiler/src/dmd/canthrow.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/canthrow.d, _canthrow.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/canthrow.d, _canthrow.d) * Documentation: https://dlang.org/phobos/dmd_canthrow.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/canthrow.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/canthrow.d */ module dmd.canthrow; diff --git a/compiler/src/dmd/chkformat.d b/compiler/src/dmd/chkformat.d index a16605ef6a..8b2d5b4dd4 100644 --- a/compiler/src/dmd/chkformat.d +++ b/compiler/src/dmd/chkformat.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/chkformat.d, _chkformat.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/chkformat.d, _chkformat.d) * Documentation: https://dlang.org/phobos/dmd_chkformat.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/chkformat.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/chkformat.d */ module dmd.chkformat; diff --git a/compiler/src/dmd/cli.d b/compiler/src/dmd/cli.d index 771f1be6d0..9e231f1c78 100644 --- a/compiler/src/dmd/cli.d +++ b/compiler/src/dmd/cli.d @@ -8,9 +8,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/cli.d, _cli.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/cli.d, _cli.d) * Documentation: https://dlang.org/phobos/dmd_cli.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/cli.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/cli.d */ module dmd.cli; diff --git a/compiler/src/dmd/clone.d b/compiler/src/dmd/clone.d index 9121517e3e..a21f5a05be 100644 --- a/compiler/src/dmd/clone.d +++ b/compiler/src/dmd/clone.d @@ -5,9 +5,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/clone.d, _clone.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/clone.d, _clone.d) * Documentation: https://dlang.org/phobos/dmd_clone.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/clone.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/clone.d */ module dmd.clone; diff --git a/compiler/src/dmd/common/bitfields.d b/compiler/src/dmd/common/bitfields.d index a157f122ae..72cb3e7d91 100644 --- a/compiler/src/dmd/common/bitfields.d +++ b/compiler/src/dmd/common/bitfields.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Dennis Korpel * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/common/bitfields.d, common/bitfields.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/common/bitfields.d, common/bitfields.d) * Documentation: https://dlang.org/phobos/dmd_common_bitfields.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/common/bitfields.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/common/bitfields.d */ module dmd.common.bitfields; diff --git a/compiler/src/dmd/common/charactertables.d b/compiler/src/dmd/common/charactertables.d index 9358667116..7df5234904 100644 --- a/compiler/src/dmd/common/charactertables.d +++ b/compiler/src/dmd/common/charactertables.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://cattermole.co.nz, Richard (Rikki) Andrew Cattermole) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/common/charactertables.d, common/charactertables.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/common/charactertables.d, common/charactertables.d) * Documentation: https://dlang.org/phobos/dmd_common_charactertables.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/common/charactertables.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/common/charactertables.d */ module dmd.common.charactertables; diff --git a/compiler/src/dmd/common/charactertables.h b/compiler/src/dmd/common/charactertables.h index 2c21767da7..b38409e302 100644 --- a/compiler/src/dmd/common/charactertables.h +++ b/compiler/src/dmd/common/charactertables.h @@ -6,7 +6,7 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://cattermole.co.nz, Richard (Rikki) Andrew Cattermole) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/common/charactertables.d, common/charactertables.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/common/charactertables.h, common/charactertables.d) */ #pragma once diff --git a/compiler/src/dmd/common/file.d b/compiler/src/dmd/common/file.d index 66238f7829..1b01a28229 100644 --- a/compiler/src/dmd/common/file.d +++ b/compiler/src/dmd/common/file.d @@ -7,9 +7,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/common/file.d, common/_file.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/common/file.d, common/_file.d) * Documentation: https://dlang.org/phobos/dmd_common_file.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/common/file.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/common/file.d */ module dmd.common.file; diff --git a/compiler/src/dmd/common/int128.d b/compiler/src/dmd/common/int128.d index 011bf40506..aaf38c5157 100644 --- a/compiler/src/dmd/common/int128.d +++ b/compiler/src/dmd/common/int128.d @@ -5,9 +5,9 @@ * Copyright: Copyright (C) 2022-2025 by The D Language Foundation, All Rights Reserved * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) * Authors: Walter Bright - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/common/int128.d, root/_int128.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/common/int128.d, root/_int128.d) * Documentation: https://dlang.org/phobos/dmd_common_int128.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/common/int128.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/common/int128.d */ module dmd.common.int128; diff --git a/compiler/src/dmd/common/outbuffer.d b/compiler/src/dmd/common/outbuffer.d index c0ac098502..01fc377400 100644 --- a/compiler/src/dmd/common/outbuffer.d +++ b/compiler/src/dmd/common/outbuffer.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/outbuffer.d, root/_outbuffer.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/common/outbuffer.d, root/_outbuffer.d) * Documentation: https://dlang.org/phobos/dmd_root_outbuffer.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/outbuffer.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/common/outbuffer.d */ module dmd.common.outbuffer; diff --git a/compiler/src/dmd/common/smallbuffer.d b/compiler/src/dmd/common/smallbuffer.d index a5674820c4..65adec68f4 100644 --- a/compiler/src/dmd/common/smallbuffer.d +++ b/compiler/src/dmd/common/smallbuffer.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/common/smallbuffer.d, common/_smallbuffer.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/common/smallbuffer.d, common/_smallbuffer.d) * Documentation: https://dlang.org/phobos/dmd_common_smallbuffer.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/common/smallbuffer + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/common/smallbuffer.d */ module dmd.common.smallbuffer; diff --git a/compiler/src/dmd/compiler.d b/compiler/src/dmd/compiler.d index 562870a8a4..1f043352c4 100644 --- a/compiler/src/dmd/compiler.d +++ b/compiler/src/dmd/compiler.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/compiler.d, _compiler.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/compiler.d, _compiler.d) * Documentation: https://dlang.org/phobos/dmd_compiler.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/compiler.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/compiler.d */ module dmd.compiler; diff --git a/compiler/src/dmd/cond.d b/compiler/src/dmd/cond.d index 9e562b6b9c..31c01f1853 100644 --- a/compiler/src/dmd/cond.d +++ b/compiler/src/dmd/cond.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/cond.d, _cond.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/cond.d, _cond.d) * Documentation: https://dlang.org/phobos/dmd_cond.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/cond.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/cond.d */ module dmd.cond; diff --git a/compiler/src/dmd/console.d b/compiler/src/dmd/console.d index 801103eded..29dc9fb300 100644 --- a/compiler/src/dmd/console.d +++ b/compiler/src/dmd/console.d @@ -5,9 +5,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/console.d, _console.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/console.d, _console.d) * Documentation: https://dlang.org/phobos/dmd_console.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/console.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/console.d */ module dmd.console; diff --git a/compiler/src/dmd/constfold.d b/compiler/src/dmd/constfold.d index 0e07bfaf63..fad9c9ac44 100644 --- a/compiler/src/dmd/constfold.d +++ b/compiler/src/dmd/constfold.d @@ -8,9 +8,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/constfold.d, _constfold.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/constfold.d, _constfold.d) * Documentation: https://dlang.org/phobos/dmd_constfold.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/constfold.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/constfold.d */ module dmd.constfold; diff --git a/compiler/src/dmd/cparse.d b/compiler/src/dmd/cparse.d index 6a81fdf315..c7650c6c51 100644 --- a/compiler/src/dmd/cparse.d +++ b/compiler/src/dmd/cparse.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/cparse.d, _cparse.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/cparse.d, _cparse.d) * Documentation: https://dlang.org/phobos/dmd_cparse.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/cparse.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/cparse.d */ module dmd.cparse; diff --git a/compiler/src/dmd/cpreprocess.d b/compiler/src/dmd/cpreprocess.d index 6eb4e66498..757888e627 100644 --- a/compiler/src/dmd/cpreprocess.d +++ b/compiler/src/dmd/cpreprocess.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 2022-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/cpreprocess.d, _cpreprocess.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/cpreprocess.d, _cpreprocess.d) * Documentation: https://dlang.org/phobos/dmd_cpreprocess.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/cpreprocess.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/cpreprocess.d */ module dmd.cpreprocess; diff --git a/compiler/src/dmd/ctfeexpr.d b/compiler/src/dmd/ctfeexpr.d index 007e693105..2f577cea92 100644 --- a/compiler/src/dmd/ctfeexpr.d +++ b/compiler/src/dmd/ctfeexpr.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/ctfeexpr.d, _ctfeexpr.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/ctfeexpr.d, _ctfeexpr.d) * Documentation: https://dlang.org/phobos/dmd_ctfeexpr.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/ctfeexpr.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/ctfeexpr.d */ module dmd.ctfeexpr; diff --git a/compiler/src/dmd/ctorflow.d b/compiler/src/dmd/ctorflow.d index 3cf9c6917c..e604700e1f 100644 --- a/compiler/src/dmd/ctorflow.d +++ b/compiler/src/dmd/ctorflow.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/ctorflow.d, _ctorflow.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/ctorflow.d, _ctorflow.d) * Documentation: https://dlang.org/phobos/dmd_ctorflow.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/ctorflow.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/ctorflow.d */ module dmd.ctorflow; diff --git a/compiler/src/dmd/cxxfrontend.d b/compiler/src/dmd/cxxfrontend.d index b3d5942696..234b6523af 100644 --- a/compiler/src/dmd/cxxfrontend.d +++ b/compiler/src/dmd/cxxfrontend.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/cxxfrontend.d, _cxxfrontend.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/cxxfrontend.d, _cxxfrontend.d) * Documentation: https://dlang.org/phobos/dmd_cxxfrontend.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/cxxfrontend.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/cxxfrontend.d */ module dmd.cxxfrontend; diff --git a/compiler/src/dmd/dcast.d b/compiler/src/dmd/dcast.d index a4276a43e2..1f9126069f 100644 --- a/compiler/src/dmd/dcast.d +++ b/compiler/src/dmd/dcast.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dcast.d, _dcast.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/dcast.d, _dcast.d) * Documentation: https://dlang.org/phobos/dmd_dcast.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dcast.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dcast.d */ module dmd.dcast; diff --git a/compiler/src/dmd/dclass.d b/compiler/src/dmd/dclass.d index 50a1235e3e..80d39fac42 100644 --- a/compiler/src/dmd/dclass.d +++ b/compiler/src/dmd/dclass.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dclass.d, _dclass.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/dclass.d, _dclass.d) * Documentation: https://dlang.org/phobos/dmd_dclass.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dclass.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dclass.d */ module dmd.dclass; diff --git a/compiler/src/dmd/declaration.d b/compiler/src/dmd/declaration.d index e64acb2379..4510927da7 100644 --- a/compiler/src/dmd/declaration.d +++ b/compiler/src/dmd/declaration.d @@ -5,9 +5,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/declaration.d, _declaration.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/declaration.d, _declaration.d) * Documentation: https://dlang.org/phobos/dmd_declaration.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/declaration.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/declaration.d */ module dmd.declaration; diff --git a/compiler/src/dmd/delegatize.d b/compiler/src/dmd/delegatize.d index fa84db1c84..344130b5e3 100644 --- a/compiler/src/dmd/delegatize.d +++ b/compiler/src/dmd/delegatize.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/delegatize.d, _delegatize.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/delegatize.d, _delegatize.d) * Documentation: https://dlang.org/phobos/dmd_delegatize.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/delegatize.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/delegatize.d */ module dmd.delegatize; diff --git a/compiler/src/dmd/denum.d b/compiler/src/dmd/denum.d index 401a7a1587..e1a4ab6d6a 100644 --- a/compiler/src/dmd/denum.d +++ b/compiler/src/dmd/denum.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/denum.d, _denum.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/denum.d, _denum.d) * Documentation: https://dlang.org/phobos/dmd_denum.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/denum.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/denum.d * References: https://dlang.org/spec/enum.html */ diff --git a/compiler/src/dmd/deps.d b/compiler/src/dmd/deps.d index 1399e6f796..d62d670938 100644 --- a/compiler/src/dmd/deps.d +++ b/compiler/src/dmd/deps.d @@ -24,9 +24,9 @@ * * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/deps.d, makedeps.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/deps.d, makedeps.d) * Documentation: https://dlang.org/phobos/dmd_deps.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/deps.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/deps.d */ module dmd.deps; diff --git a/compiler/src/dmd/dimport.d b/compiler/src/dmd/dimport.d index 38f86d36e5..bbd74a4da2 100644 --- a/compiler/src/dmd/dimport.d +++ b/compiler/src/dmd/dimport.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dimport.d, _dimport.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/dimport.d, _dimport.d) * Documentation: https://dlang.org/phobos/dmd_dimport.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dimport.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dimport.d */ module dmd.dimport; diff --git a/compiler/src/dmd/dinifile.d b/compiler/src/dmd/dinifile.d index 3902162913..f481e1c9f5 100644 --- a/compiler/src/dmd/dinifile.d +++ b/compiler/src/dmd/dinifile.d @@ -5,9 +5,9 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dinifile.d, _dinifile.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/dinifile.d, _dinifile.d) * Documentation: https://dlang.org/phobos/dmd_dinifile.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dinifile.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dinifile.d */ module dmd.dinifile; diff --git a/compiler/src/dmd/dinterpret.d b/compiler/src/dmd/dinterpret.d index b223975f38..543c0e22e3 100644 --- a/compiler/src/dmd/dinterpret.d +++ b/compiler/src/dmd/dinterpret.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dinterpret.d, _dinterpret.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/dinterpret.d, _dinterpret.d) * Documentation: https://dlang.org/phobos/dmd_dinterpret.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dinterpret.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dinterpret.d */ module dmd.dinterpret; diff --git a/compiler/src/dmd/dmacro.d b/compiler/src/dmd/dmacro.d index af3d5dd6f3..307b43fb63 100644 --- a/compiler/src/dmd/dmacro.d +++ b/compiler/src/dmd/dmacro.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dmacro.d, _dmacro.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/dmacro.d, _dmacro.d) * Documentation: https://dlang.org/phobos/dmd_dmacro.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dmacro.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dmacro.d */ module dmd.dmacro; diff --git a/compiler/src/dmd/dmdparams.d b/compiler/src/dmd/dmdparams.d index 8da39fb23c..1eac66c266 100644 --- a/compiler/src/dmd/dmdparams.d +++ b/compiler/src/dmd/dmdparams.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dmdparams.d, _dmdparams.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/dmdparams.d, _dmdparams.d) * Documentation: https://dlang.org/phobos/dmd_dmdparams.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dmdparams.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dmdparams.d */ module dmd.dmdparams; diff --git a/compiler/src/dmd/dmodule.d b/compiler/src/dmd/dmodule.d index 6c7416856a..0e0070aab5 100644 --- a/compiler/src/dmd/dmodule.d +++ b/compiler/src/dmd/dmodule.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dmodule.d, _dmodule.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/dmodule.d, _dmodule.d) * Documentation: https://dlang.org/phobos/dmd_dmodule.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dmodule.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dmodule.d */ module dmd.dmodule; @@ -58,12 +58,10 @@ import dmd.visitor; version (Windows) { - import core.sys.windows.winbase : getpid = GetCurrentProcessId; enum PathSeparator = '\\'; } else version (Posix) { - import core.sys.posix.unistd : getpid; enum PathSeparator = '/'; } else @@ -577,12 +575,6 @@ extern (C++) final class Module : Package else { const(char)[] argdoc; - OutBuffer buf; - if (arg == "__stdin.d") - { - buf.printf("__stdin_%d.d", getpid()); - arg = buf[]; - } if (global.params.preservePaths) argdoc = arg; else diff --git a/compiler/src/dmd/dmsc.d b/compiler/src/dmd/dmsc.d index e36d82ec4d..1c80135396 100644 --- a/compiler/src/dmd/dmsc.d +++ b/compiler/src/dmd/dmsc.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dmsc.d, _dmsc.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/dmsc.d, _dmsc.d) * Documentation: https://dlang.org/phobos/dmd_dmsc.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dmsc.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dmsc.d */ module dmd.dmsc; diff --git a/compiler/src/dmd/doc.d b/compiler/src/dmd/doc.d index f3ca53fc11..dc4a0b9ace 100644 --- a/compiler/src/dmd/doc.d +++ b/compiler/src/dmd/doc.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/doc.d, _doc.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/doc.d, _doc.d) * Documentation: https://dlang.org/phobos/dmd_doc.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/doc.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/doc.d */ module dmd.doc; diff --git a/compiler/src/dmd/dscope.d b/compiler/src/dmd/dscope.d index 1a6fd4f1cf..c70e7d381b 100644 --- a/compiler/src/dmd/dscope.d +++ b/compiler/src/dmd/dscope.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dscope.d, _dscope.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/dscope.d, _dscope.d) * Documentation: https://dlang.org/phobos/dmd_dscope.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dscope.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dscope.d */ module dmd.dscope; diff --git a/compiler/src/dmd/dstruct.d b/compiler/src/dmd/dstruct.d index 1896e37edf..4c7011bc6a 100644 --- a/compiler/src/dmd/dstruct.d +++ b/compiler/src/dmd/dstruct.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dstruct.d, _dstruct.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/dstruct.d, _dstruct.d) * Documentation: https://dlang.org/phobos/dmd_dstruct.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dstruct.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dstruct.d */ module dmd.dstruct; diff --git a/compiler/src/dmd/dsymbol.d b/compiler/src/dmd/dsymbol.d index 3e40dbef61..74ca9cbda4 100644 --- a/compiler/src/dmd/dsymbol.d +++ b/compiler/src/dmd/dsymbol.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dsymbol.d, _dsymbol.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/dsymbol.d, _dsymbol.d) * Documentation: https://dlang.org/phobos/dmd_dsymbol.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dsymbol.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dsymbol.d */ module dmd.dsymbol; diff --git a/compiler/src/dmd/dsymbolsem.d b/compiler/src/dmd/dsymbolsem.d index 54165857fd..fb7d608da5 100644 --- a/compiler/src/dmd/dsymbolsem.d +++ b/compiler/src/dmd/dsymbolsem.d @@ -5,9 +5,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dsymbolsem.d, _dsymbolsem.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/dsymbolsem.d, _dsymbolsem.d) * Documentation: https://dlang.org/phobos/dmd_dsymbolsem.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dsymbolsem.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dsymbolsem.d */ module dmd.dsymbolsem; diff --git a/compiler/src/dmd/dtemplate.d b/compiler/src/dmd/dtemplate.d index 3efe77d88f..2158895745 100644 --- a/compiler/src/dmd/dtemplate.d +++ b/compiler/src/dmd/dtemplate.d @@ -31,9 +31,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dtemplate.d, _dtemplate.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/dtemplate.d, _dtemplate.d) * Documentation: https://dlang.org/phobos/dmd_dtemplate.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dtemplate.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dtemplate.d */ module dmd.dtemplate; diff --git a/compiler/src/dmd/dtoh.d b/compiler/src/dmd/dtoh.d index efc71ad075..3946c25c9f 100644 --- a/compiler/src/dmd/dtoh.d +++ b/compiler/src/dmd/dtoh.d @@ -5,9 +5,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dtohd, _dtoh.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/dtoh.d, _dtoh.d) * Documentation: https://dlang.org/phobos/dmd_dtoh.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dtoh.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dtoh.d */ module dmd.dtoh; diff --git a/compiler/src/dmd/dversion.d b/compiler/src/dmd/dversion.d index 6be7528c59..26528e9f51 100644 --- a/compiler/src/dmd/dversion.d +++ b/compiler/src/dmd/dversion.d @@ -7,9 +7,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dversion.d, _dversion.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/dversion.d, _dversion.d) * Documentation: https://dlang.org/phobos/dmd_dversion.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dversion.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/dversion.d */ module dmd.dversion; diff --git a/compiler/src/dmd/e2ir.d b/compiler/src/dmd/e2ir.d index ecb793f6e9..916049b80e 100644 --- a/compiler/src/dmd/e2ir.d +++ b/compiler/src/dmd/e2ir.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/e2ir.d, _e2ir.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/e2ir.d, _e2ir.d) * Documentation: https://dlang.org/phobos/dmd_e2ir.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/e2ir.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/e2ir.d */ module dmd.e2ir; diff --git a/compiler/src/dmd/entity.d b/compiler/src/dmd/entity.d index 6457a62e1d..a70029b374 100644 --- a/compiler/src/dmd/entity.d +++ b/compiler/src/dmd/entity.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/entity.d, _entity.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/entity.d, _entity.d) * Documentation: https://dlang.org/phobos/dmd_entity.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/entity.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/entity.d */ module dmd.entity; diff --git a/compiler/src/dmd/enumsem.d b/compiler/src/dmd/enumsem.d index 829b42da2a..d79fb3723e 100644 --- a/compiler/src/dmd/enumsem.d +++ b/compiler/src/dmd/enumsem.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/enumsem.d, _enumsem.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/enumsem.d, _enumsem.d) * Documentation: https://dlang.org/phobos/dmd_enumsem.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/enumsem.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/enumsem.d */ module dmd.enumsem; diff --git a/compiler/src/dmd/errors.d b/compiler/src/dmd/errors.d index ae90c1002a..68bfa60a16 100644 --- a/compiler/src/dmd/errors.d +++ b/compiler/src/dmd/errors.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/errors.d, _errors.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/errors.d, _errors.d) * Documentation: https://dlang.org/phobos/dmd_errors.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/errors.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/errors.d */ module dmd.errors; diff --git a/compiler/src/dmd/errorsink.d b/compiler/src/dmd/errorsink.d index 5514449115..5793ef1c0e 100644 --- a/compiler/src/dmd/errorsink.d +++ b/compiler/src/dmd/errorsink.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 2023-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/errorsink.d, _errorsink.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/errorsink.d, _errorsink.d) * Documentation: https://dlang.org/phobos/dmd_errorsink.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/errorsink.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/errorsink.d */ module dmd.errorsink; diff --git a/compiler/src/dmd/escape.d b/compiler/src/dmd/escape.d index 719ac4b52c..a0c5472375 100644 --- a/compiler/src/dmd/escape.d +++ b/compiler/src/dmd/escape.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/escape.d, _escape.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/escape.d, _escape.d) * Documentation: https://dlang.org/phobos/dmd_escape.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/escape.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/escape.d */ module dmd.escape; diff --git a/compiler/src/dmd/expression.d b/compiler/src/dmd/expression.d index 63150bb483..8cb28cc208 100644 --- a/compiler/src/dmd/expression.d +++ b/compiler/src/dmd/expression.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/expression.d, _expression.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/expression.d, _expression.d) * Documentation: https://dlang.org/phobos/dmd_expression.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/expression.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/expression.d */ module dmd.expression; diff --git a/compiler/src/dmd/expressionsem.d b/compiler/src/dmd/expressionsem.d index 7ea0969fab..a300311bf1 100644 --- a/compiler/src/dmd/expressionsem.d +++ b/compiler/src/dmd/expressionsem.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/expressionsem.d, _expressionsem.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/expressionsem.d, _expressionsem.d) * Documentation: https://dlang.org/phobos/dmd_expressionsem.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/expressionsem.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/expressionsem.d */ module dmd.expressionsem; diff --git a/compiler/src/dmd/file_manager.d b/compiler/src/dmd/file_manager.d index fc7824f039..2ccb1d2549 100644 --- a/compiler/src/dmd/file_manager.d +++ b/compiler/src/dmd/file_manager.d @@ -3,9 +3,9 @@ * * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/file_manager.d, _file_manager.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/file_manager.d, _file_manager.d) * Documentation: https://dlang.org/phobos/dmd_file_manager.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/file_manager.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/file_manager.d */ module dmd.file_manager; @@ -16,7 +16,6 @@ import dmd.root.stringtable : StringTable; import dmd.root.file : File, Buffer; import dmd.root.filename : FileName, isDirSeparator; import dmd.root.string : toDString; -import dmd.errors; import dmd.globals; import dmd.identifier; import dmd.location; @@ -184,9 +183,6 @@ nothrow: scope(exit) FileName.free(sdi.ptr); const sd = FileName.forceExt(filename, mars_ext); - // Special file name representing `stdin`, always assume its presence - if (sd == "__stdin.d") - return sd; if (checkLocal && FileName.exists(sd) == 1) return sd; scope(exit) FileName.free(sd.ptr); @@ -312,20 +308,12 @@ nothrow: if (auto val = files.lookup(name)) // if `name` is cached return val.value; // return its contents - OutBuffer buf; - if (name == "__stdin.d") // special name for reading from stdin - { - if (readFromStdin(buf)) - fatal(); - } - else - { - if (FileName.exists(name) != 1) // if not an ordinary file - return null; + if (FileName.exists(name) != 1) // if not an ordinary file + return null; - if (File.read(name, buf)) - return null; // failed - } + OutBuffer buf; + if (File.read(name, buf)) + return null; // failed buf.write32(0); // terminating dchar 0 @@ -351,36 +339,3 @@ nothrow: return val == null ? null : val.value; } } - -private bool readFromStdin(ref OutBuffer sink) nothrow -{ - import core.stdc.stdio; - import dmd.errors; - - enum BufIncrement = 128 * 1024; - - for (size_t j; 1; ++j) - { - char[] buffer = sink.allocate(BufIncrement); - - // Fill up buffer - size_t filled = 0; - do - { - filled += fread(buffer.ptr + filled, 1, buffer.length - filled, stdin); - if (ferror(stdin)) - { - import core.stdc.errno; - error(Loc.initial, "cannot read from stdin, errno = %d", errno); - return true; - } - if (feof(stdin)) // successful completion - { - sink.setsize(j * BufIncrement + filled); - return false; - } - } while (filled < BufIncrement); - } - - assert(0); -} diff --git a/compiler/src/dmd/frontend.d b/compiler/src/dmd/frontend.d index f879eab0b1..bdacb15db0 100644 --- a/compiler/src/dmd/frontend.d +++ b/compiler/src/dmd/frontend.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/id.d, _id.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/frontend.d, _id.d) * Documentation: https://dlang.org/phobos/dmd_frontend.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/frontend.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/frontend.d */ module dmd.frontend; diff --git a/compiler/src/dmd/frontend.h b/compiler/src/dmd/frontend.h index fb0b6ac54b..f1dc48f2f4 100644 --- a/compiler/src/dmd/frontend.h +++ b/compiler/src/dmd/frontend.h @@ -8417,6 +8417,7 @@ struct ImportPathInfo final struct Param final { bool obj; + bool readStdin; bool multiobj; bool trace; bool tracegc; @@ -8504,6 +8505,7 @@ struct Param final bool parsingUnittestsRequired(); Param() : obj(true), + readStdin(), multiobj(), trace(), tracegc(), @@ -8582,8 +8584,9 @@ struct Param final timeTraceFile() { } - Param(bool obj, bool multiobj = false, bool trace = false, bool tracegc = false, bool vcg_ast = false, DiagnosticReporting useDeprecated = (DiagnosticReporting)1u, bool useUnitTests = false, bool useInline = false, bool release = false, bool preservePaths = false, DiagnosticReporting useWarnings = (DiagnosticReporting)2u, bool cov = false, uint8_t covPercent = 0u, bool ctfe_cov = false, bool ignoreUnsupportedPragmas = true, bool useModuleInfo = true, bool useTypeInfo = true, bool useExceptions = true, bool useGC = true, bool betterC = false, bool addMain = false, bool allInst = false, bool bitfields = false, CppStdRevision cplusplus = (CppStdRevision)201103u, Help help = Help(), Verbose v = Verbose(), FeatureState useDIP25 = (FeatureState)2u, FeatureState useDIP1000 = (FeatureState)0u, bool ehnogc = false, bool useDIP1021 = false, FeatureState fieldwise = (FeatureState)0u, bool fixAliasThis = false, FeatureState rvalueRefParam = (FeatureState)0u, FeatureState safer = (FeatureState)0u, FeatureState noSharedAccess = (FeatureState)0u, bool previewIn = false, bool inclusiveInContracts = false, bool shortenedMethods = true, bool fixImmutableConv = false, bool fix16997 = true, FeatureState dtorFields = (FeatureState)0u, FeatureState systemVariables = (FeatureState)0u, CHECKENABLE useInvariants = (CHECKENABLE)0u, CHECKENABLE useIn = (CHECKENABLE)0u, CHECKENABLE useOut = (CHECKENABLE)0u, CHECKENABLE useArrayBounds = (CHECKENABLE)0u, CHECKENABLE useAssert = (CHECKENABLE)0u, CHECKENABLE useSwitchError = (CHECKENABLE)0u, CHECKENABLE boundscheck = (CHECKENABLE)0u, CHECKACTION checkAction = (CHECKACTION)0u, CLIIdentifierTable dIdentifierTable = (CLIIdentifierTable)0u, CLIIdentifierTable cIdentifierTable = (CLIIdentifierTable)0u, _d_dynamicArray< const char > argv0 = {}, Array modFileAliasStrings = Array(), Array imppath = Array(), Array fileImppath = Array(), _d_dynamicArray< const char > objdir = {}, _d_dynamicArray< const char > objname = {}, _d_dynamicArray< const char > libname = {}, Output ddoc = Output(), Output dihdr = Output(), Output cxxhdr = Output(), Output json = Output(), JsonFieldFlags jsonFieldFlags = (JsonFieldFlags)0u, Output makeDeps = Output(), Output mixinOut = Output(), Output moduleDeps = Output(), bool debugEnabled = false, bool run = false, Array runargs = Array(), Array cppswitches = Array(), const char* cpp = nullptr, Array objfiles = Array(), Array linkswitches = Array(), Array linkswitchIsForCC = Array(), Array libfiles = Array(), Array dllfiles = Array(), _d_dynamicArray< const char > deffile = {}, _d_dynamicArray< const char > resfile = {}, _d_dynamicArray< const char > exefile = {}, _d_dynamicArray< const char > mapfile = {}, bool fullyQualifiedObjectFiles = false, bool timeTrace = false, uint32_t timeTraceGranularityUs = 500u, const char* timeTraceFile = nullptr) : + Param(bool obj, bool readStdin = false, bool multiobj = false, bool trace = false, bool tracegc = false, bool vcg_ast = false, DiagnosticReporting useDeprecated = (DiagnosticReporting)1u, bool useUnitTests = false, bool useInline = false, bool release = false, bool preservePaths = false, DiagnosticReporting useWarnings = (DiagnosticReporting)2u, bool cov = false, uint8_t covPercent = 0u, bool ctfe_cov = false, bool ignoreUnsupportedPragmas = true, bool useModuleInfo = true, bool useTypeInfo = true, bool useExceptions = true, bool useGC = true, bool betterC = false, bool addMain = false, bool allInst = false, bool bitfields = false, CppStdRevision cplusplus = (CppStdRevision)201103u, Help help = Help(), Verbose v = Verbose(), FeatureState useDIP25 = (FeatureState)2u, FeatureState useDIP1000 = (FeatureState)0u, bool ehnogc = false, bool useDIP1021 = false, FeatureState fieldwise = (FeatureState)0u, bool fixAliasThis = false, FeatureState rvalueRefParam = (FeatureState)0u, FeatureState safer = (FeatureState)0u, FeatureState noSharedAccess = (FeatureState)0u, bool previewIn = false, bool inclusiveInContracts = false, bool shortenedMethods = true, bool fixImmutableConv = false, bool fix16997 = true, FeatureState dtorFields = (FeatureState)0u, FeatureState systemVariables = (FeatureState)0u, CHECKENABLE useInvariants = (CHECKENABLE)0u, CHECKENABLE useIn = (CHECKENABLE)0u, CHECKENABLE useOut = (CHECKENABLE)0u, CHECKENABLE useArrayBounds = (CHECKENABLE)0u, CHECKENABLE useAssert = (CHECKENABLE)0u, CHECKENABLE useSwitchError = (CHECKENABLE)0u, CHECKENABLE boundscheck = (CHECKENABLE)0u, CHECKACTION checkAction = (CHECKACTION)0u, CLIIdentifierTable dIdentifierTable = (CLIIdentifierTable)0u, CLIIdentifierTable cIdentifierTable = (CLIIdentifierTable)0u, _d_dynamicArray< const char > argv0 = {}, Array modFileAliasStrings = Array(), Array imppath = Array(), Array fileImppath = Array(), _d_dynamicArray< const char > objdir = {}, _d_dynamicArray< const char > objname = {}, _d_dynamicArray< const char > libname = {}, Output ddoc = Output(), Output dihdr = Output(), Output cxxhdr = Output(), Output json = Output(), JsonFieldFlags jsonFieldFlags = (JsonFieldFlags)0u, Output makeDeps = Output(), Output mixinOut = Output(), Output moduleDeps = Output(), bool debugEnabled = false, bool run = false, Array runargs = Array(), Array cppswitches = Array(), const char* cpp = nullptr, Array objfiles = Array(), Array linkswitches = Array(), Array linkswitchIsForCC = Array(), Array libfiles = Array(), Array dllfiles = Array(), _d_dynamicArray< const char > deffile = {}, _d_dynamicArray< const char > resfile = {}, _d_dynamicArray< const char > exefile = {}, _d_dynamicArray< const char > mapfile = {}, bool fullyQualifiedObjectFiles = false, bool timeTrace = false, uint32_t timeTraceGranularityUs = 500u, const char* timeTraceFile = nullptr) : obj(obj), + readStdin(readStdin), multiobj(multiobj), trace(trace), tracegc(tracegc), diff --git a/compiler/src/dmd/func.d b/compiler/src/dmd/func.d index 50479f78c8..6a573810a4 100644 --- a/compiler/src/dmd/func.d +++ b/compiler/src/dmd/func.d @@ -11,9 +11,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/func.d, _func.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/func.d, _func.d) * Documentation: https://dlang.org/phobos/dmd_func.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/func.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/func.d */ module dmd.func; diff --git a/compiler/src/dmd/funcsem.d b/compiler/src/dmd/funcsem.d index a8b46d84c2..8a46dda270 100644 --- a/compiler/src/dmd/funcsem.d +++ b/compiler/src/dmd/funcsem.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/funcsem.d, _funcsem.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/funcsem.d, _funcsem.d) * Documentation: https://dlang.org/phobos/dmd_funcsem.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/funcsem.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/funcsem.d */ module dmd.funcsem; diff --git a/compiler/src/dmd/globals.d b/compiler/src/dmd/globals.d index 900c554e5f..624738e4e4 100644 --- a/compiler/src/dmd/globals.d +++ b/compiler/src/dmd/globals.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/globals.d, _globals.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/globals.d, _globals.d) * Documentation: https://dlang.org/phobos/dmd_globals.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/globals.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/globals.d */ module dmd.globals; @@ -160,6 +160,7 @@ extern (C++) struct ImportPathInfo { extern (C++) struct Param { bool obj = true; // write object file + bool readStdin; // saw "-" on command line, read source file from stdin bool multiobj; // break one object file into multiple ones bool trace; // insert profiling hooks bool tracegc; // instrument calls to 'new' diff --git a/compiler/src/dmd/globals.h b/compiler/src/dmd/globals.h index 69fe709f4b..59952a2c10 100644 --- a/compiler/src/dmd/globals.h +++ b/compiler/src/dmd/globals.h @@ -168,6 +168,7 @@ struct ImportPathInfo struct Param { d_bool obj; // write object file + d_bool readStdin; // read source file from stdin d_bool multiobj; // break one object file into multiple ones d_bool trace; // insert profiling hooks d_bool tracegc; // instrument calls to 'new' diff --git a/compiler/src/dmd/glue.d b/compiler/src/dmd/glue.d index 3fd5c998cb..d24909c076 100644 --- a/compiler/src/dmd/glue.d +++ b/compiler/src/dmd/glue.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/glue.d, _glue.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/glue.d, _glue.d) * Documentation: $(LINK https://dlang.org/phobos/dmd_glue.html) - * Coverage: $(LINK https://codecov.io/gh/dlang/dmd/src/master/src/dmd/glue.d) + * Coverage: $(LINK https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/glue.d) */ module dmd.glue; diff --git a/compiler/src/dmd/gluelayer.d b/compiler/src/dmd/gluelayer.d index 8dca303579..ba7c1e922c 100644 --- a/compiler/src/dmd/gluelayer.d +++ b/compiler/src/dmd/gluelayer.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/gluelayer.d, _gluelayer.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/gluelayer.d, _gluelayer.d) * Documentation: https://dlang.org/phobos/dmd_gluelayer.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/gluelayer.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/gluelayer.d */ module dmd.gluelayer; diff --git a/compiler/src/dmd/hdrgen.d b/compiler/src/dmd/hdrgen.d index 9b53114d6b..97e348350b 100644 --- a/compiler/src/dmd/hdrgen.d +++ b/compiler/src/dmd/hdrgen.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/hdrgen.d, _hdrgen.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/hdrgen.d, _hdrgen.d) * Documentation: https://dlang.org/phobos/dmd_hdrgen.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/hdrgen.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/hdrgen.d */ module dmd.hdrgen; diff --git a/compiler/src/dmd/iasm.d b/compiler/src/dmd/iasm.d index 8301d7529a..689ef0f9fe 100644 --- a/compiler/src/dmd/iasm.d +++ b/compiler/src/dmd/iasm.d @@ -6,9 +6,9 @@ * Copyright (C) 2018-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/iasm.d, _iasm.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/iasm.d, _iasm.d) * Documentation: https://dlang.org/phobos/dmd_iasm.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/iasm.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/iasm.d */ module dmd.iasm; diff --git a/compiler/src/dmd/iasmdmd.d b/compiler/src/dmd/iasmdmd.d index 9aff3ea035..1e3c4142fc 100644 --- a/compiler/src/dmd/iasmdmd.d +++ b/compiler/src/dmd/iasmdmd.d @@ -6,9 +6,9 @@ * Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Mike Cote, John Micco and $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/iasmdmd.d, _iasmdmd.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/iasmdmd.d, _iasmdmd.d) * Documentation: https://dlang.org/phobos/dmd_iasmdmd.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/iasmdmd.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/iasmdmd.d */ module dmd.iasmdmd; diff --git a/compiler/src/dmd/iasmgcc.d b/compiler/src/dmd/iasmgcc.d index f8ebf8fbbb..3d6e6ab5b5 100644 --- a/compiler/src/dmd/iasmgcc.d +++ b/compiler/src/dmd/iasmgcc.d @@ -4,9 +4,9 @@ * Copyright (C) 2018-2025 by The D Language Foundation, All Rights Reserved * Authors: Iain Buclaw * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/iasmgcc.d, _iasmgcc.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/iasmgcc.d, _iasmgcc.d) * Documentation: https://dlang.org/phobos/dmd_iasmgcc.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/iasmgcc.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/iasmgcc.d */ module dmd.iasmgcc; diff --git a/compiler/src/dmd/id.d b/compiler/src/dmd/id.d index 93db559be3..e1c22f2f04 100644 --- a/compiler/src/dmd/id.d +++ b/compiler/src/dmd/id.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/id.d, _id.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/id.d, _id.d) * Documentation: https://dlang.org/phobos/dmd_id.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/id.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/id.d */ module dmd.id; diff --git a/compiler/src/dmd/identifier.d b/compiler/src/dmd/identifier.d index 2cb1b44103..c213597eb0 100644 --- a/compiler/src/dmd/identifier.d +++ b/compiler/src/dmd/identifier.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/identifier.d, _identifier.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/identifier.d, _identifier.d) * Documentation: https://dlang.org/phobos/dmd_identifier.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/identifier.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/identifier.d */ module dmd.identifier; diff --git a/compiler/src/dmd/impcnvtab.d b/compiler/src/dmd/impcnvtab.d index cadb079aa5..b2ab919f1b 100644 --- a/compiler/src/dmd/impcnvtab.d +++ b/compiler/src/dmd/impcnvtab.d @@ -9,9 +9,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/impcnvtab.d, _impcnvtab.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/impcnvtab.d, _impcnvtab.d) * Documentation: https://dlang.org/phobos/dmd_impcnvtab.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/impcnvtab.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/impcnvtab.d */ module dmd.impcnvtab; diff --git a/compiler/src/dmd/imphint.d b/compiler/src/dmd/imphint.d index c01cb6c946..382a0f3786 100644 --- a/compiler/src/dmd/imphint.d +++ b/compiler/src/dmd/imphint.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/imphint.d, _imphint.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/imphint.d, _imphint.d) * Documentation: https://dlang.org/phobos/dmd_imphint.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/imphint.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/imphint.d */ module dmd.imphint; diff --git a/compiler/src/dmd/importc.d b/compiler/src/dmd/importc.d index d4631f0294..72808a67f7 100644 --- a/compiler/src/dmd/importc.d +++ b/compiler/src/dmd/importc.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 2021-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/importc.d, _importc.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/importc.d, _importc.d) * Documentation: https://dlang.org/phobos/dmd_importc.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/importc.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/importc.d */ module dmd.importc; diff --git a/compiler/src/dmd/init.d b/compiler/src/dmd/init.d index 39699c24cb..55fb6f3485 100644 --- a/compiler/src/dmd/init.d +++ b/compiler/src/dmd/init.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/init.d, _init.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/init.d, _init.d) * Documentation: https://dlang.org/phobos/dmd_init.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/init.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/init.d */ module dmd.init; diff --git a/compiler/src/dmd/initsem.d b/compiler/src/dmd/initsem.d index 4e0284b8c5..a4633a604e 100644 --- a/compiler/src/dmd/initsem.d +++ b/compiler/src/dmd/initsem.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/initsem.d, _initsem.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/initsem.d, _initsem.d) * Documentation: https://dlang.org/phobos/dmd_initsem.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/initsem.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/initsem.d */ module dmd.initsem; diff --git a/compiler/src/dmd/inline.d b/compiler/src/dmd/inline.d index 1781ce94f3..ce7a4786a8 100644 --- a/compiler/src/dmd/inline.d +++ b/compiler/src/dmd/inline.d @@ -7,9 +7,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/inline.d, _inline.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/inline.d, _inline.d) * Documentation: https://dlang.org/phobos/dmd_inline.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/inline.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/inline.d */ module dmd.inline; diff --git a/compiler/src/dmd/inlinecost.d b/compiler/src/dmd/inlinecost.d index 2b80d4cffc..599808164f 100644 --- a/compiler/src/dmd/inlinecost.d +++ b/compiler/src/dmd/inlinecost.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/inlinecost.d, _inlinecost.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/inlinecost.d, _inlinecost.d) * Documentation: https://dlang.org/phobos/dmd_inlinecost.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/inlinecost.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/inlinecost.d */ module dmd.inlinecost; diff --git a/compiler/src/dmd/intrange.d b/compiler/src/dmd/intrange.d index 8a2caaa300..f68e302f74 100644 --- a/compiler/src/dmd/intrange.d +++ b/compiler/src/dmd/intrange.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/intrange.d, _intrange.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/intrange.d, _intrange.d) * Documentation: https://dlang.org/phobos/dmd_intrange.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/intrange.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/intrange.d */ module dmd.intrange; diff --git a/compiler/src/dmd/json.d b/compiler/src/dmd/json.d index bbc62d7347..080870aa47 100644 --- a/compiler/src/dmd/json.d +++ b/compiler/src/dmd/json.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/json.d, _json.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/json.d, _json.d) * Documentation: https://dlang.org/phobos/dmd_json.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/json.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/json.d */ module dmd.json; diff --git a/compiler/src/dmd/lambdacomp.d b/compiler/src/dmd/lambdacomp.d index 944abb5237..9f9fd77b7e 100644 --- a/compiler/src/dmd/lambdacomp.d +++ b/compiler/src/dmd/lambdacomp.d @@ -8,9 +8,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/lamdbacomp.d, _lambdacomp.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/lambdacomp.d, _lambdacomp.d) * Documentation: https://dlang.org/phobos/dmd_lambdacomp.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/lambdacomp.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/lambdacomp.d */ module dmd.lambdacomp; diff --git a/compiler/src/dmd/lexer.d b/compiler/src/dmd/lexer.d index 4d0a222060..63313ac2ed 100644 --- a/compiler/src/dmd/lexer.d +++ b/compiler/src/dmd/lexer.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/lexer.d, _lexer.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/lexer.d, _lexer.d) * Documentation: https://dlang.org/phobos/dmd_lexer.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/lexer.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/lexer.d */ module dmd.lexer; diff --git a/compiler/src/dmd/lib/elf.d b/compiler/src/dmd/lib/elf.d index 314ae44bb6..9eb7313704 100644 --- a/compiler/src/dmd/lib/elf.d +++ b/compiler/src/dmd/lib/elf.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/libelf.d, _libelf.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/lib/elf.d, _libelf.d) * Documentation: https://dlang.org/phobos/dmd_libelf.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/libelf.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/lib/elf.d */ module dmd.lib.elf; diff --git a/compiler/src/dmd/lib/mach.d b/compiler/src/dmd/lib/mach.d index 92ef5b3000..82482d4c1e 100644 --- a/compiler/src/dmd/lib/mach.d +++ b/compiler/src/dmd/lib/mach.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/libmach.d, _libmach.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/lib/mach.d, _libmach.d) * Documentation: https://dlang.org/phobos/dmd_libmach.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/libmach.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/lib/mach.d */ module dmd.lib.mach; diff --git a/compiler/src/dmd/lib/mscoff.d b/compiler/src/dmd/lib/mscoff.d index 751c822424..f8c9808435 100644 --- a/compiler/src/dmd/lib/mscoff.d +++ b/compiler/src/dmd/lib/mscoff.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/libmscoff.d, _libmscoff.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/lib/mscoff.d, _libmscoff.d) * Documentation: https://dlang.org/phobos/dmd_libmscoff.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/libmscoff.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/lib/mscoff.d */ module dmd.lib.mscoff; diff --git a/compiler/src/dmd/lib/package.d b/compiler/src/dmd/lib/package.d index 1bd730dc82..ff317809dc 100644 --- a/compiler/src/dmd/lib/package.d +++ b/compiler/src/dmd/lib/package.d @@ -5,9 +5,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/lib.d, _lib.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/lib/package.d, _lib.d) * Documentation: https://dlang.org/phobos/dmd_lib.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/lib.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/lib/package.d */ module dmd.lib; diff --git a/compiler/src/dmd/lib/scanelf.d b/compiler/src/dmd/lib/scanelf.d index bd417319b1..9913100a46 100644 --- a/compiler/src/dmd/lib/scanelf.d +++ b/compiler/src/dmd/lib/scanelf.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/scanelf.d, _scanelf.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/lib/scanelf.d, _scanelf.d) * Documentation: https://dlang.org/phobos/dmd_scanelf.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/scanelf.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/lib/scanelf.d */ module dmd.lib.scanelf; diff --git a/compiler/src/dmd/lib/scanmach.d b/compiler/src/dmd/lib/scanmach.d index 0d0d5c2871..99993949d1 100644 --- a/compiler/src/dmd/lib/scanmach.d +++ b/compiler/src/dmd/lib/scanmach.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/scanmach.d, _scanmach.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/lib/scanmach.d, _scanmach.d) * Documentation: https://dlang.org/phobos/dmd_scanmach.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/scanmach.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/lib/scanmach.d */ module dmd.lib.scanmach; diff --git a/compiler/src/dmd/lib/scanmscoff.d b/compiler/src/dmd/lib/scanmscoff.d index 8d772d8a09..16ef269d7d 100644 --- a/compiler/src/dmd/lib/scanmscoff.d +++ b/compiler/src/dmd/lib/scanmscoff.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/scanmscoff.d, _scanmscoff.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/lib/scanmscoff.d, _scanmscoff.d) * Documentation: https://dlang.org/phobos/dmd_scanmscoff.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/scanmscoff.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/lib/scanmscoff.d */ module dmd.lib.scanmscoff; diff --git a/compiler/src/dmd/link.d b/compiler/src/dmd/link.d index 38ce7b10ea..1db537a9dd 100644 --- a/compiler/src/dmd/link.d +++ b/compiler/src/dmd/link.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/link.d, _link.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/link.d, _link.d) * Documentation: https://dlang.org/phobos/dmd_link.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/link.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/link.d */ module dmd.link; diff --git a/compiler/src/dmd/location.d b/compiler/src/dmd/location.d index 9a396f37e8..ca895e21ac 100644 --- a/compiler/src/dmd/location.d +++ b/compiler/src/dmd/location.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/location.d, _location.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/location.d, _location.d) * Documentation: https://dlang.org/phobos/dmd_location.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/location.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/location.d */ module dmd.location; diff --git a/compiler/src/dmd/main.d b/compiler/src/dmd/main.d index 2ad7e003b3..918848b103 100644 --- a/compiler/src/dmd/main.d +++ b/compiler/src/dmd/main.d @@ -9,9 +9,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/main.d, _main.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/main.d, _main.d) * Documentation: https://dlang.org/phobos/dmd_main.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/main.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/main.d */ module dmd.main; @@ -353,7 +353,7 @@ private int tryMain(size_t argc, const(char)** argv, ref Param params) { fatal(); } - if (files.length == 0) + if (files.length == 0 && !params.readStdin) { if (params.jsonFieldFlags) { diff --git a/compiler/src/dmd/mangle/basic.d b/compiler/src/dmd/mangle/basic.d index cb92b6f7a3..263dd5ed46 100644 --- a/compiler/src/dmd/mangle/basic.d +++ b/compiler/src/dmd/mangle/basic.d @@ -3,9 +3,9 @@ * * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/basicmangle.d, _basicmangle.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/mangle/basic.d, _basicmangle.d) * Documentation: https://dlang.org/phobos/dmd_basicmangle.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/basicmangle.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/mangle/basic.d */ module dmd.mangle.basic; diff --git a/compiler/src/dmd/mangle/cpp.d b/compiler/src/dmd/mangle/cpp.d index 3ab42e2d9d..7e9f0205d1 100644 --- a/compiler/src/dmd/mangle/cpp.d +++ b/compiler/src/dmd/mangle/cpp.d @@ -7,9 +7,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/cppmangle.d, _cppmangle.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/mangle/cpp.d, _cppmangle.d) * Documentation: https://dlang.org/phobos/dmd_cppmangle.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/cppmangle.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/mangle/cpp.d * * References: * Follows Itanium C++ ABI 1.86 section 5.1 diff --git a/compiler/src/dmd/mangle/cppwin.d b/compiler/src/dmd/mangle/cppwin.d index d3c87ad11b..900f98a53a 100644 --- a/compiler/src/dmd/mangle/cppwin.d +++ b/compiler/src/dmd/mangle/cppwin.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/cppmanglewin.d, _cppmanglewin.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/mangle/cppwin.d, _cppmanglewin.d) * Documentation: https://dlang.org/phobos/dmd_cppmanglewin.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/cppmanglewin.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/mangle/cppwin.d */ module dmd.mangle.cppwin; diff --git a/compiler/src/dmd/mangle/package.d b/compiler/src/dmd/mangle/package.d index d630d6a9a0..3ad2c7d579 100644 --- a/compiler/src/dmd/mangle/package.d +++ b/compiler/src/dmd/mangle/package.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/dmangle.d, _dmangle.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/mangle/package.d, _dmangle.d) * Documentation: https://dlang.org/phobos/dmd_dmangle.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/dmangle.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/mangle/package.d * References: https://dlang.org/blog/2017/12/20/ds-newfangled-name-mangling/ */ diff --git a/compiler/src/dmd/mars.d b/compiler/src/dmd/mars.d index 17d6965f53..f9689f56dd 100644 --- a/compiler/src/dmd/mars.d +++ b/compiler/src/dmd/mars.d @@ -7,9 +7,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/mars.d, _mars.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/mars.d, _mars.d) * Documentation: https://dlang.org/phobos/dmd_mars.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/mars.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/mars.d */ module dmd.mars; @@ -59,6 +59,13 @@ import dmd.semantic3; import dmd.target; import dmd.utils; +version (Windows) + import core.sys.windows.winbase : getpid = GetCurrentProcessId; +else version (Posix) + import core.sys.posix.unistd : getpid; +else + static assert(0); + /** * Print DMD's logo on stdout */ @@ -1734,7 +1741,7 @@ bool parseCommandLine(const ref Strings arguments, const size_t argc, ref Param break; } if (runarg == "-") - files.push("__stdin.d"); + params.readStdin = true; else files.push(arguments[i + 1]); params.runargs.setDim(length - 1); @@ -1751,7 +1758,7 @@ bool parseCommandLine(const ref Strings arguments, const size_t argc, ref Param } } else if (p[1] == '\0') - files.push("__stdin.d"); + params.readStdin = true; else { Lerror: @@ -1937,10 +1944,38 @@ bool createModules(ref Strings files, ref Strings libmodules, ref Param params, modules.push(m); if (firstmodule) { - global.params.objfiles.push(m.objfile.toChars()); + params.objfiles.push(m.objfile.toChars()); firstmodule = false; } } + + // Special module representing `stdin` + if (params.readStdin) + { + Module m; + if (createModule("__stdin.d", libmodules, params, target, eSink, m)) + return true; + if (m is null) + return false; + + modules.push(m); + + // Set the source file contents of the module + OutBuffer buf; + buf.readFromStdin(); + m.src = cast(ubyte[])buf.extractSlice(); + + // Give unique outfile name + OutBuffer namebuf; + namebuf.printf("__stdin_%d", getpid()); + + auto filename = FileName.forceExt(namebuf.extractSlice(), target.obj_ext); + m.objfile = FileName(filename); + + if (firstmodule) + params.objfiles.push(m.objfile.toChars()); + } + return false; } @@ -1959,3 +1994,37 @@ Module moduleWithEmptyMain() result.semantic3(null); return result; } + +private void readFromStdin(ref OutBuffer sink) nothrow +{ + import core.stdc.stdio; + import dmd.errors; + + enum BufIncrement = 128 * 1024; + + for (size_t j; 1; ++j) + { + char[] buffer = sink.allocate(BufIncrement + 16); + + // Fill up buffer + size_t filled = 0; + do + { + filled += fread(buffer.ptr + filled, 1, buffer.length - filled, stdin); + if (ferror(stdin)) + { + import core.stdc.errno; + error(Loc.initial, "cannot read from stdin, errno = %d", errno); + fatal(); + } + if (feof(stdin)) // successful completion + { + memset(buffer.ptr + filled, '\0', 16); + sink.setsize(j * BufIncrement + filled); + return; + } + } while (filled < BufIncrement); + } + + assert(0); +} diff --git a/compiler/src/dmd/mtype.d b/compiler/src/dmd/mtype.d index 52d8b77cd4..e0af692bcc 100644 --- a/compiler/src/dmd/mtype.d +++ b/compiler/src/dmd/mtype.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/mtype.d, _mtype.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/mtype.d, _mtype.d) * Documentation: https://dlang.org/phobos/dmd_mtype.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/mtype.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/mtype.d */ module dmd.mtype; diff --git a/compiler/src/dmd/mustuse.d b/compiler/src/dmd/mustuse.d index 005a6c074c..fab9723636 100644 --- a/compiler/src/dmd/mustuse.d +++ b/compiler/src/dmd/mustuse.d @@ -3,9 +3,9 @@ * * Copyright: Copyright (C) 2022-2025 by The D Language Foundation, All Rights Reserved * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/mustuse.d, _mustuse.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/mustuse.d, _mustuse.d) * Documentation: https://dlang.org/phobos/dmd_mustuse.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/mustuse.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/mustuse.d */ module dmd.mustuse; diff --git a/compiler/src/dmd/nogc.d b/compiler/src/dmd/nogc.d index a5d9c68aa7..5e3c164acb 100644 --- a/compiler/src/dmd/nogc.d +++ b/compiler/src/dmd/nogc.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/nogc.d, _nogc.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/nogc.d, _nogc.d) * Documentation: https://dlang.org/phobos/dmd_nogc.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/nogc.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/nogc.d */ module dmd.nogc; diff --git a/compiler/src/dmd/nspace.d b/compiler/src/dmd/nspace.d index 4a21770c4b..0c93f0e799 100644 --- a/compiler/src/dmd/nspace.d +++ b/compiler/src/dmd/nspace.d @@ -39,9 +39,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/nspace.d, _nspace.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/nspace.d, _nspace.d) * Documentation: https://dlang.org/phobos/dmd_nspace.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/nspace.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/nspace.d */ module dmd.nspace; diff --git a/compiler/src/dmd/ob.d b/compiler/src/dmd/ob.d index 870e8e7b13..099f811589 100644 --- a/compiler/src/dmd/ob.d +++ b/compiler/src/dmd/ob.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/ob.d, _ob.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/ob.d, _ob.d) * Documentation: https://dlang.org/phobos/dmd_escape.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/ob.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/ob.d * References: https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1021.md Argument Ownership and Function Calls */ diff --git a/compiler/src/dmd/objc.d b/compiler/src/dmd/objc.d index 4626f22ee2..32878b57af 100644 --- a/compiler/src/dmd/objc.d +++ b/compiler/src/dmd/objc.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/objc.d, _objc.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/objc.d, _objc.d) * Documentation: https://dlang.org/phobos/dmd_objc.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/objc.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/objc.d */ module dmd.objc; diff --git a/compiler/src/dmd/objc_glue.d b/compiler/src/dmd/objc_glue.d index dba011a5c9..c29e7110b3 100644 --- a/compiler/src/dmd/objc_glue.d +++ b/compiler/src/dmd/objc_glue.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 2015-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/objc_glue.d, _objc_glue.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/objc_glue.d, _objc_glue.d) * Documentation: https://dlang.org/phobos/dmd_objc_glue.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/objc_glue.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/objc_glue.d */ module dmd.objc_glue; diff --git a/compiler/src/dmd/opover.d b/compiler/src/dmd/opover.d index 06b9e82cf0..7baaeaa7fc 100644 --- a/compiler/src/dmd/opover.d +++ b/compiler/src/dmd/opover.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/opover.d, _opover.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/opover.d, _opover.d) * Documentation: https://dlang.org/phobos/dmd_opover.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/opover.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/opover.d */ module dmd.opover; diff --git a/compiler/src/dmd/optimize.d b/compiler/src/dmd/optimize.d index 2e40f1826c..b13f8c6458 100644 --- a/compiler/src/dmd/optimize.d +++ b/compiler/src/dmd/optimize.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/optimize.d, _optimize.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/optimize.d, _optimize.d) * Documentation: https://dlang.org/phobos/dmd_optimize.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/optimize.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/optimize.d */ module dmd.optimize; diff --git a/compiler/src/dmd/parse.d b/compiler/src/dmd/parse.d index 2ba970c12e..c2d9a20944 100644 --- a/compiler/src/dmd/parse.d +++ b/compiler/src/dmd/parse.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/parse.d, _parse.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/parse.d, _parse.d) * Documentation: https://dlang.org/phobos/dmd_parse.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/parse.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/parse.d */ module dmd.parse; diff --git a/compiler/src/dmd/pragmasem.d b/compiler/src/dmd/pragmasem.d index a7299a0e9b..44597740a2 100644 --- a/compiler/src/dmd/pragmasem.d +++ b/compiler/src/dmd/pragmasem.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2023 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/pragmasem.d, _pragmasem.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/pragmasem.d, _pragmasem.d) * Documentation: https://dlang.org/phobos/dmd_pragmasem.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/pragmasem.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/pragmasem.d */ module dmd.pragmasem; diff --git a/compiler/src/dmd/printast.d b/compiler/src/dmd/printast.d index 281851e0f2..5e4c9f787f 100644 --- a/compiler/src/dmd/printast.d +++ b/compiler/src/dmd/printast.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/printast.d, _printast.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/printast.d, _printast.d) * Documentation: https://dlang.org/phobos/dmd_printast.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/printast.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/printast.d */ module dmd.printast; diff --git a/compiler/src/dmd/root/aav.d b/compiler/src/dmd/root/aav.d index 80b1d636b2..014d4a579c 100644 --- a/compiler/src/dmd/root/aav.d +++ b/compiler/src/dmd/root/aav.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/aav.d, root/_aav.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/aav.d, root/_aav.d) * Documentation: https://dlang.org/phobos/dmd_root_aav.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/aav.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/aav.d */ module dmd.root.aav; diff --git a/compiler/src/dmd/root/array.d b/compiler/src/dmd/root/array.d index f36947e396..a80fc804cb 100644 --- a/compiler/src/dmd/root/array.d +++ b/compiler/src/dmd/root/array.d @@ -5,9 +5,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/array.d, root/_array.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/array.d, root/_array.d) * Documentation: https://dlang.org/phobos/dmd_root_array.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/array.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/array.d */ module dmd.root.array; diff --git a/compiler/src/dmd/root/bitarray.d b/compiler/src/dmd/root/bitarray.d index b977602087..b5adaa8903 100644 --- a/compiler/src/dmd/root/bitarray.d +++ b/compiler/src/dmd/root/bitarray.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/bitarray.d, root/_bitarray.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/bitarray.d, root/_bitarray.d) * Documentation: https://dlang.org/phobos/dmd_root_array.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/bitarray.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/bitarray.d */ module dmd.root.bitarray; diff --git a/compiler/src/dmd/root/complex.d b/compiler/src/dmd/root/complex.d index 710d0e9018..777c103ae9 100644 --- a/compiler/src/dmd/root/complex.d +++ b/compiler/src/dmd/root/complex.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/complex.d, _complex.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/complex.d, _complex.d) * Documentation: https://dlang.org/phobos/dmd_root_complex.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/complex.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/complex.d */ module dmd.root.complex; diff --git a/compiler/src/dmd/root/ctfloat.d b/compiler/src/dmd/root/ctfloat.d index 84ff85b24a..39ab18f922 100644 --- a/compiler/src/dmd/root/ctfloat.d +++ b/compiler/src/dmd/root/ctfloat.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/ctfloat.d, root/_ctfloat.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/ctfloat.d, root/_ctfloat.d) * Documentation: https://dlang.org/phobos/dmd_root_ctfloat.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/ctfloat.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/ctfloat.d */ module dmd.root.ctfloat; diff --git a/compiler/src/dmd/root/env.d b/compiler/src/dmd/root/env.d index bc013105dd..25e8a5c10f 100644 --- a/compiler/src/dmd/root/env.d +++ b/compiler/src/dmd/root/env.d @@ -3,9 +3,9 @@ * * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/env.d, env.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/env.d, env.d) * Documentation: https://dlang.org/phobos/dmd_root_env.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/env.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/env.d */ module dmd.root.env; diff --git a/compiler/src/dmd/root/file.d b/compiler/src/dmd/root/file.d index 7accc61089..2046e5930c 100644 --- a/compiler/src/dmd/root/file.d +++ b/compiler/src/dmd/root/file.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/file.d, root/_file.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/file.d, root/_file.d) * Documentation: https://dlang.org/phobos/dmd_root_file.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/file.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/file.d */ module dmd.root.file; diff --git a/compiler/src/dmd/root/filename.d b/compiler/src/dmd/root/filename.d index 602e62cb84..5ad07750b3 100644 --- a/compiler/src/dmd/root/filename.d +++ b/compiler/src/dmd/root/filename.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/filename.d, root/_filename.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/filename.d, root/_filename.d) * Documentation: https://dlang.org/phobos/dmd_root_filename.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/filename.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/filename.d */ module dmd.root.filename; diff --git a/compiler/src/dmd/root/hash.d b/compiler/src/dmd/root/hash.d index 0852a9f779..d327f4b258 100644 --- a/compiler/src/dmd/root/hash.d +++ b/compiler/src/dmd/root/hash.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Martin Nowak, Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/hash.d, root/_hash.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/hash.d, root/_hash.d) * Documentation: https://dlang.org/phobos/dmd_root_hash.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/hash.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/hash.d */ module dmd.root.hash; diff --git a/compiler/src/dmd/root/man.d b/compiler/src/dmd/root/man.d index b88a12dcc2..2ec7de7615 100644 --- a/compiler/src/dmd/root/man.d +++ b/compiler/src/dmd/root/man.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/man.d, root/_man.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/man.d, root/_man.d) * Documentation: https://dlang.org/phobos/dmd_root_man.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/man.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/man.d */ module dmd.root.man; diff --git a/compiler/src/dmd/root/optional.d b/compiler/src/dmd/root/optional.d index 8602bcf3b8..2b518eb8b1 100644 --- a/compiler/src/dmd/root/optional.d +++ b/compiler/src/dmd/root/optional.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/optional.d, root/_optional.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/optional.d, root/_optional.d) * Documentation: https://dlang.org/phobos/dmd_root_optional.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/optional.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/optional.d */ module dmd.root.optional; diff --git a/compiler/src/dmd/root/optional.h b/compiler/src/dmd/root/optional.h index e01a612659..12891f879b 100644 --- a/compiler/src/dmd/root/optional.h +++ b/compiler/src/dmd/root/optional.h @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/optional.h, root/_optional.h) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/optional.h, root/_optional.h) * Documentation: https://dlang.org/phobos/dmd_root_optional.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/optional.h + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/optional.h */ #include "dcompat.h" // for d_bool diff --git a/compiler/src/dmd/root/port.d b/compiler/src/dmd/root/port.d index fd3af0aabe..c96ac86fd0 100644 --- a/compiler/src/dmd/root/port.d +++ b/compiler/src/dmd/root/port.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/port.d, root/_port.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/port.d, root/_port.d) * Documentation: https://dlang.org/phobos/dmd_root_port.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/port.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/port.d */ module dmd.root.port; diff --git a/compiler/src/dmd/root/region.d b/compiler/src/dmd/root/region.d index 3928a5569e..a8efbca1e6 100644 --- a/compiler/src/dmd/root/region.d +++ b/compiler/src/dmd/root/region.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 2019-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/region.d, root/_region.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/region.d, root/_region.d) * Documentation: https://dlang.org/phobos/dmd_root_region.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/region.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/region.d */ module dmd.root.region; diff --git a/compiler/src/dmd/root/response.d b/compiler/src/dmd/root/response.d index 906e46a4cf..99be126f61 100644 --- a/compiler/src/dmd/root/response.d +++ b/compiler/src/dmd/root/response.d @@ -7,9 +7,9 @@ * Some portions copyright (c) 1994-1995 by Symantec * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/response.d, root/_response.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/response.d, root/_response.d) * Documentation: https://dlang.org/phobos/dmd_root_response.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/response.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/response.d */ module dmd.root.response; diff --git a/compiler/src/dmd/root/rmem.d b/compiler/src/dmd/root/rmem.d index 8fa0b08136..32d22d3beb 100644 --- a/compiler/src/dmd/root/rmem.d +++ b/compiler/src/dmd/root/rmem.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/rmem.d, root/_rmem.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/rmem.d, root/_rmem.d) * Documentation: https://dlang.org/phobos/dmd_root_rmem.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/rmem.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/rmem.d */ module dmd.root.rmem; diff --git a/compiler/src/dmd/root/speller.d b/compiler/src/dmd/root/speller.d index e984a9e985..a2151106d0 100644 --- a/compiler/src/dmd/root/speller.d +++ b/compiler/src/dmd/root/speller.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/speller.d, root/_speller.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/speller.d, root/_speller.d) * Documentation: https://dlang.org/phobos/dmd_root_speller.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/speller.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/speller.d */ module dmd.root.speller; diff --git a/compiler/src/dmd/root/string.d b/compiler/src/dmd/root/string.d index 252ed77ff8..369a79be66 100644 --- a/compiler/src/dmd/root/string.d +++ b/compiler/src/dmd/root/string.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/string.d, root/_string.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/string.d, root/_string.d) * Documentation: https://dlang.org/phobos/dmd_root_string.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/string.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/string.d */ module dmd.root.string; diff --git a/compiler/src/dmd/root/stringtable.d b/compiler/src/dmd/root/stringtable.d index b40e7dfece..c7a2c8c56d 100644 --- a/compiler/src/dmd/root/stringtable.d +++ b/compiler/src/dmd/root/stringtable.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/stringtable.d, root/_stringtable.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/stringtable.d, root/_stringtable.d) * Documentation: https://dlang.org/phobos/dmd_root_stringtable.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/stringtable.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/stringtable.d */ module dmd.root.stringtable; diff --git a/compiler/src/dmd/root/strtold.d b/compiler/src/dmd/root/strtold.d index 3bd7f1784c..ef0318952e 100644 --- a/compiler/src/dmd/root/strtold.d +++ b/compiler/src/dmd/root/strtold.d @@ -5,7 +5,7 @@ * Copyright (C) 2000-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/strtold.c, backend/strtold.c) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/strtold.d, backend/strtold.c) */ module dmd.root.strtold; diff --git a/compiler/src/dmd/root/utf.d b/compiler/src/dmd/root/utf.d index ede1fd8678..5b2c42f4ee 100644 --- a/compiler/src/dmd/root/utf.d +++ b/compiler/src/dmd/root/utf.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/root/utf.d, _utf.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/root/utf.d, _utf.d) * Documentation: https://dlang.org/phobos/dmd_root_utf.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/root/utf.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/root/utf.d */ module dmd.root.utf; diff --git a/compiler/src/dmd/rootobject.d b/compiler/src/dmd/rootobject.d index 8b8a13caaa..71b36a4375 100644 --- a/compiler/src/dmd/rootobject.d +++ b/compiler/src/dmd/rootobject.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: Walter Bright, https://www.digitalmars.com * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/rootobject.d, _rootobject.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/rootobject.d, _rootobject.d) * Documentation: https://dlang.org/phobos/dmd_rootobject.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/rootobject.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/rootobject.d */ module dmd.rootobject; diff --git a/compiler/src/dmd/s2ir.d b/compiler/src/dmd/s2ir.d index 524bf29176..e7f3abede7 100644 --- a/compiler/src/dmd/s2ir.d +++ b/compiler/src/dmd/s2ir.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/tocsym.d, _s2ir.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/s2ir.d, _s2ir.d) * Documentation: $(LINK https://dlang.org/phobos/dmd_s2ir.html) - * Coverage: $(LINK https://codecov.io/gh/dlang/dmd/src/master/src/dmd/s2ir.d) + * Coverage: $(LINK https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/s2ir.d) */ module dmd.s2ir; diff --git a/compiler/src/dmd/safe.d b/compiler/src/dmd/safe.d index 3f83d50ff8..3be9efecc2 100644 --- a/compiler/src/dmd/safe.d +++ b/compiler/src/dmd/safe.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/safe.d, _safe.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/safe.d, _safe.d) * Documentation: https://dlang.org/phobos/dmd_safe.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/safe.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/safe.d */ module dmd.safe; diff --git a/compiler/src/dmd/sarif.d b/compiler/src/dmd/sarif.d index c404eebe21..f596b788b3 100644 --- a/compiler/src/dmd/sarif.d +++ b/compiler/src/dmd/sarif.d @@ -4,8 +4,8 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/sarif.d, sarif.d) - * Coverage: $(LINK2 https://codecov.io/gh/dlang/dmd/src/master/src/dmd/sarif.d, Code Coverage) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/sarif.d, sarif.d) + * Coverage: $(LINK2 https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/sarif.d, Code Coverage) * * Description: * - This module generates SARIF reports for DMD errors, warnings, and messages. @@ -241,6 +241,11 @@ void generateSarifReport(bool executionSuccessful) nothrow string cleanedVersion = toolVersion[0 .. length]; + // strip trailing newlines + while (cleanedVersion.length > 0 && (cleanedVersion[$ - 1] == '\n' || cleanedVersion[$ - 1] == '\r')) + cleanedVersion = cleanedVersion[0 .. $ - 1]; + + // Build SARIF report ob.writestringln("{"); ob.level = 1; diff --git a/compiler/src/dmd/semantic2.d b/compiler/src/dmd/semantic2.d index a1bb7e895b..26f0fa8a25 100644 --- a/compiler/src/dmd/semantic2.d +++ b/compiler/src/dmd/semantic2.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/semantic2.d, _semantic2.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/semantic2.d, _semantic2.d) * Documentation: https://dlang.org/phobos/dmd_semantic2.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/semantic2.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/semantic2.d */ module dmd.semantic2; diff --git a/compiler/src/dmd/semantic3.d b/compiler/src/dmd/semantic3.d index ccf931af8d..bafb2e7d87 100644 --- a/compiler/src/dmd/semantic3.d +++ b/compiler/src/dmd/semantic3.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/semantic3.d, _semantic3.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/semantic3.d, _semantic3.d) * Documentation: https://dlang.org/phobos/dmd_semantic3.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/semantic3.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/semantic3.d */ module dmd.semantic3; diff --git a/compiler/src/dmd/sideeffect.d b/compiler/src/dmd/sideeffect.d index 8f905caceb..5984466d3b 100644 --- a/compiler/src/dmd/sideeffect.d +++ b/compiler/src/dmd/sideeffect.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/sideeffect.d, _sideeffect.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/sideeffect.d, _sideeffect.d) * Documentation: https://dlang.org/phobos/dmd_sideeffect.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/sideeffect.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/sideeffect.d */ module dmd.sideeffect; diff --git a/compiler/src/dmd/statement.d b/compiler/src/dmd/statement.d index 602d3a6629..2ade0a9a9b 100644 --- a/compiler/src/dmd/statement.d +++ b/compiler/src/dmd/statement.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/statement.d, _statement.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/statement.d, _statement.d) * Documentation: https://dlang.org/phobos/dmd_statement.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/statement.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/statement.d */ module dmd.statement; diff --git a/compiler/src/dmd/statementsem.d b/compiler/src/dmd/statementsem.d index 4c36055f6a..523ed7b397 100644 --- a/compiler/src/dmd/statementsem.d +++ b/compiler/src/dmd/statementsem.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/statementsem.d, _statementsem.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/statementsem.d, _statementsem.d) * Documentation: https://dlang.org/phobos/dmd_statementsem.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/statementsem.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/statementsem.d */ module dmd.statementsem; diff --git a/compiler/src/dmd/staticassert.d b/compiler/src/dmd/staticassert.d index 495241e107..52ded559e5 100644 --- a/compiler/src/dmd/staticassert.d +++ b/compiler/src/dmd/staticassert.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/staticassert.d, _staticassert.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/staticassert.d, _staticassert.d) * Documentation: https://dlang.org/phobos/dmd_staticassert.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/staticassert.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/staticassert.d */ module dmd.staticassert; diff --git a/compiler/src/dmd/staticcond.d b/compiler/src/dmd/staticcond.d index 288cfdc5fb..c2e87c7bf3 100644 --- a/compiler/src/dmd/staticcond.d +++ b/compiler/src/dmd/staticcond.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/staticcond.d, _staticcond.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/staticcond.d, _staticcond.d) * Documentation: https://dlang.org/phobos/dmd_staticcond.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/staticcond.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/staticcond.d */ module dmd.staticcond; diff --git a/compiler/src/dmd/stmtstate.d b/compiler/src/dmd/stmtstate.d index fe53d80211..1c1fd080ee 100644 --- a/compiler/src/dmd/stmtstate.d +++ b/compiler/src/dmd/stmtstate.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/stmtstate.d, _stmtstate.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/stmtstate.d, _stmtstate.d) * Documentation: https://dlang.org/phobos/dmd_stmtstate.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/stmtstate.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/stmtstate.d */ module dmd.stmtstate; diff --git a/compiler/src/dmd/target.d b/compiler/src/dmd/target.d index 5f6c178fb4..1228f80c06 100644 --- a/compiler/src/dmd/target.d +++ b/compiler/src/dmd/target.d @@ -18,9 +18,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/target.d, _target.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/target.d, _target.d) * Documentation: https://dlang.org/phobos/dmd_target.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/target.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/target.d */ module dmd.target; diff --git a/compiler/src/dmd/templateparamsem.d b/compiler/src/dmd/templateparamsem.d index e7a40a0dc4..561181a2cc 100644 --- a/compiler/src/dmd/templateparamsem.d +++ b/compiler/src/dmd/templateparamsem.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/templateparamsem.d, _templateparamsem.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/templateparamsem.d, _templateparamsem.d) * Documentation: https://dlang.org/phobos/dmd_templateparamsem.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/templateparamsem.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/templateparamsem.d */ module dmd.templateparamsem; diff --git a/compiler/src/dmd/templatesem.d b/compiler/src/dmd/templatesem.d index 17526e604c..e5efce4a8b 100644 --- a/compiler/src/dmd/templatesem.d +++ b/compiler/src/dmd/templatesem.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/templatesem.d, _templatesem.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/templatesem.d, _templatesem.d) * Documentation: https://dlang.org/phobos/dmd_templatesem.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/templatesem.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/templatesem.d */ module dmd.templatesem; diff --git a/compiler/src/dmd/timetrace.d b/compiler/src/dmd/timetrace.d index 2c9c89aee7..b921ac433d 100644 --- a/compiler/src/dmd/timetrace.d +++ b/compiler/src/dmd/timetrace.d @@ -9,9 +9,9 @@ This file is originally from LDC (the LLVM D compiler). Copyright: Copyright (C) 1999-2022 by The D Language Foundation, All Rights Reserved Authors: Johan Engelen, Max Haughton, Dennis Korpel License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) -Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/common/timetrace.d, common/_timetrace.d) +Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/timetrace.d, common/_timetrace.d) Documentation: https://dlang.org/phobos/dmd_common_timetrace.html -Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/common/timetrace.d +Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/timetrace.d */ module dmd.timetrace; diff --git a/compiler/src/dmd/tocsym.d b/compiler/src/dmd/tocsym.d index 64ae852fd7..557e2d6e89 100644 --- a/compiler/src/dmd/tocsym.d +++ b/compiler/src/dmd/tocsym.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/tocsym.d, _tocsym.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/tocsym.d, _tocsym.d) * Documentation: https://dlang.org/phobos/dmd_tocsym.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/tocsym.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/tocsym.d */ module dmd.tocsym; diff --git a/compiler/src/dmd/toctype.d b/compiler/src/dmd/toctype.d index c91db3ea77..5e36c2c540 100644 --- a/compiler/src/dmd/toctype.d +++ b/compiler/src/dmd/toctype.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/toctype.d, _toctype.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/toctype.d, _toctype.d) * Documentation: https://dlang.org/phobos/dmd_toctype.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/toctype.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/toctype.d */ module dmd.toctype; diff --git a/compiler/src/dmd/tocvdebug.d b/compiler/src/dmd/tocvdebug.d index 7181020996..543af19743 100644 --- a/compiler/src/dmd/tocvdebug.d +++ b/compiler/src/dmd/tocvdebug.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/tocsym.d, _tocvdebug.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/tocvdebug.d, _tocvdebug.d) * Documentation: https://dlang.org/phobos/dmd_tocvdebug.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/tocvdebug.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/tocvdebug.d */ module dmd.tocvdebug; diff --git a/compiler/src/dmd/todt.d b/compiler/src/dmd/todt.d index 94453eface..f9a3520cfe 100644 --- a/compiler/src/dmd/todt.d +++ b/compiler/src/dmd/todt.d @@ -5,9 +5,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/todt.d, _todt.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/todt.d, _todt.d) * Documentation: https://dlang.org/phobos/dmd_todt.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/todt.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/todt.d */ module dmd.todt; diff --git a/compiler/src/dmd/toir.d b/compiler/src/dmd/toir.d index 79462386c5..c391de7839 100644 --- a/compiler/src/dmd/toir.d +++ b/compiler/src/dmd/toir.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/_tocsym.d, _toir.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/toir.d, _toir.d) * Documentation: https://dlang.org/phobos/dmd_toir.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/toir.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/toir.d */ module dmd.toir; diff --git a/compiler/src/dmd/tokens.d b/compiler/src/dmd/tokens.d index 3a6e14c487..a10620772a 100644 --- a/compiler/src/dmd/tokens.d +++ b/compiler/src/dmd/tokens.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/tokens.d, _tokens.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/tokens.d, _tokens.d) * Documentation: https://dlang.org/phobos/dmd_tokens.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/tokens.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/tokens.d */ module dmd.tokens; diff --git a/compiler/src/dmd/toobj.d b/compiler/src/dmd/toobj.d index 943f3ed012..12baca1be0 100644 --- a/compiler/src/dmd/toobj.d +++ b/compiler/src/dmd/toobj.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/tocsym.d, _toobj.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/toobj.d, _toobj.d) * Documentation: https://dlang.org/phobos/dmd_toobj.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/toobj.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/toobj.d */ module dmd.toobj; diff --git a/compiler/src/dmd/traits.d b/compiler/src/dmd/traits.d index 732a5a32dc..8cce1732e8 100644 --- a/compiler/src/dmd/traits.d +++ b/compiler/src/dmd/traits.d @@ -6,9 +6,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/traits.d, _traits.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/traits.d, _traits.d) * Documentation: https://dlang.org/phobos/dmd_traits.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/traits.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/traits.d */ module dmd.traits; diff --git a/compiler/src/dmd/typesem.d b/compiler/src/dmd/typesem.d index 1906867c53..71575477a1 100644 --- a/compiler/src/dmd/typesem.d +++ b/compiler/src/dmd/typesem.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/typesem.d, _typesem.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/typesem.d, _typesem.d) * Documentation: https://dlang.org/phobos/dmd_typesem.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/typesem.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/typesem.d */ module dmd.typesem; diff --git a/compiler/src/dmd/typinf.d b/compiler/src/dmd/typinf.d index f774f8636b..38ba6e48e4 100644 --- a/compiler/src/dmd/typinf.d +++ b/compiler/src/dmd/typinf.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/typinf.d, _typinf.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/typinf.d, _typinf.d) * Documentation: https://dlang.org/phobos/dmd_typinf.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/typinf.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/typinf.d */ module dmd.typinf; diff --git a/compiler/src/dmd/utils.d b/compiler/src/dmd/utils.d index e20b86f03c..bfa197aca3 100644 --- a/compiler/src/dmd/utils.d +++ b/compiler/src/dmd/utils.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/utils.d, _utils.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/utils.d, _utils.d) * Documentation: https://dlang.org/phobos/dmd_utils.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/utils.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/utils.d */ module dmd.utils; diff --git a/compiler/src/dmd/visitor/foreachvar.d b/compiler/src/dmd/visitor/foreachvar.d index d170206ead..80611d6f26 100644 --- a/compiler/src/dmd/visitor/foreachvar.d +++ b/compiler/src/dmd/visitor/foreachvar.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/foreachvar.d, _foreachvar.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/visitor/foreachvar.d, _foreachvar.d) * Documentation: https://dlang.org/phobos/dmd_foreachvar.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/foreachvar.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/visitor/foreachvar.d */ module dmd.visitor.foreachvar; diff --git a/compiler/src/dmd/visitor/package.d b/compiler/src/dmd/visitor/package.d index 64e251492e..50b5a54520 100644 --- a/compiler/src/dmd/visitor/package.d +++ b/compiler/src/dmd/visitor/package.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/visitor.d, _visitor.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/visitor/package.d, _visitor.d) * Documentation: https://dlang.org/phobos/dmd_visitor.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/visitor.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/visitor/package.d */ module dmd.visitor; diff --git a/compiler/src/dmd/visitor/postorder.d b/compiler/src/dmd/visitor/postorder.d index 731e682ce0..22549da45d 100644 --- a/compiler/src/dmd/visitor/postorder.d +++ b/compiler/src/dmd/visitor/postorder.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/apply.d, _apply.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/visitor/postorder.d, _apply.d) * Documentation: https://dlang.org/phobos/dmd_apply.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/apply.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/visitor/postorder.d */ module dmd.visitor.postorder; diff --git a/compiler/src/dmd/visitor/statement_rewrite_walker.d b/compiler/src/dmd/visitor/statement_rewrite_walker.d index 6700414b57..25e4c736bb 100644 --- a/compiler/src/dmd/visitor/statement_rewrite_walker.d +++ b/compiler/src/dmd/visitor/statement_rewrite_walker.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/statement_rewrite_walker.d, _statement_rewrite_walker.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/visitor/statement_rewrite_walker.d, _statement_rewrite_walker.d) * Documentation: https://dlang.org/phobos/dmd_statement_rewrite_walker.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/statement_rewrite_walker.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/visitor/statement_rewrite_walker.d */ module dmd.visitor.statement_rewrite_walker; diff --git a/compiler/src/dmd/vsoptions.d b/compiler/src/dmd/vsoptions.d index 0727dc059b..ccc3c60ce8 100644 --- a/compiler/src/dmd/vsoptions.d +++ b/compiler/src/dmd/vsoptions.d @@ -4,9 +4,9 @@ * Copyright: Copyright (C) 1999-2025 by The D Language Foundation, All Rights Reserved * Authors: $(LINK2 https://www.digitalmars.com, Walter Bright) * License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) - * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/link.d, _vsoptions.d) + * Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/vsoptions.d, _vsoptions.d) * Documentation: https://dlang.org/phobos/dmd_vsoptions.html - * Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/vsoptions.d + * Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/vsoptions.d */ module dmd.vsoptions; diff --git a/compiler/test/fail_compilation/fail21045.d b/compiler/test/fail_compilation/fail21045.d new file mode 100644 index 0000000000..c43eda3f97 --- /dev/null +++ b/compiler/test/fail_compilation/fail21045.d @@ -0,0 +1,12 @@ +/* +TEST_OUTPUT: +--- +fail_compilation/fail21045.d(12): Error: unable to read module `__stdin` +fail_compilation/fail21045.d(12): Expected '__stdin.d' or '__stdin/package.d' in one of the following import paths: +import path[0] = fail_compilation +import path[1] = $p:druntime/import$ +import path[2] = $p:phobos$ +--- +*/ + +import __stdin;