Skip to content

Commit 39e52fe

Browse files
0-v-0thewilsonator
authored andcommitted
fix typo
1 parent 16b753f commit 39e52fe

6 files changed

Lines changed: 9 additions & 5 deletions

File tree

compiler/src/dmd/backend/arm/instr.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
* Copyright: Copyright (C) 2024-2026 by The D Language Foundation, All Rights Reserved
88
* Authors: $(LINK2 https://www.digitalmars.com, Walter Bright)
99
* License: $(LINK2 https://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
10-
* Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/arm/instr.d, backend/cod3.d)
11-
* Documentation: https://dlang.org/phobos/dmd_backend_arm_insrt.html
10+
* Source: $(LINK2 https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/arm/instr.d, backend/arm/instr.d)
11+
* Documentation: https://dlang.org/phobos/dmd_backend_arm_instr.html
1212
* Coverage: https://codecov.io/gh/dlang/dmd/src/master/compiler/src/dmd/backend/arm/instr.d
1313
*/
1414

compiler/src/dmd/backend/backconfig.d

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ nothrow:
5757
generatedMain = a main entrypoint is generated
5858
dataimports = do not place data symbols into read-only segment,
5959
it might be necessary to resolve relocations at runtime
60+
go = the global optimizer state
61+
errorCallback = callback for backend error messages
6062
*/
6163
public
6264
@trusted

compiler/src/dmd/doc.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -964,6 +964,7 @@ immutable ddoc_decl_dd_e = ")\n";
964964
* respectBackslashEscapes = if true, always replace parentheses that are
965965
* directly preceeded by a backslash with $(LPAREN) or $(RPAREN) instead of
966966
* counting them as stray parentheses
967+
* eSink = send error messages to eSink
967968
*/
968969
private void escapeStrayParenthesis(Loc loc, ref OutBuffer buf, size_t start, bool respectBackslashEscapes, ErrorSink eSink)
969970
{

compiler/src/dmd/expressionsem.d

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1994,6 +1994,7 @@ extern (D) Expression doCopyOrMove(Scope* sc, Expression e, Type t, bool nrvo, b
19941994
* (tmp = e),tmp
19951995
* Params:
19961996
* sc = just used to specify the scope of created temporary variable
1997+
* e = the expression to copy-construct
19971998
* destinationType = the type of the object on which the copy constructor is called;
19981999
* may be null if the struct defines a postblit
19992000
* nrvo = true if the generated copy can be treated as NRVO

compiler/src/dmd/frontend.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ This needs to be done $(I before) calling any function.
9797
Params:
9898
diagnosticHandler = a delegate to configure what to do with diagnostics (other than printing to console or stderr).
9999
fatalErrorHandler = a delegate to configure what to do with fatal errors (default is to call exit(EXIT_FAILURE)).
100-
contractChecks = indicates which contracts should be enabled or not
101100
versionIdentifiers = a list of version identifiers that should be enabled
101+
contractChecks = indicates which contracts should be enabled or not
102102
*/
103103
void initDMD(
104104
DiagnosticHandler diagnosticHandler = null,

compiler/src/dmd/hdrgen.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ void genhdrfile(Module m, bool doFuncBodies, ref OutBuffer buf)
100100
/**
101101
* Convert `o` to a string for error messages.
102102
* Params:
103-
* e = object to convert
104-
* Returns: string representation of `e`
103+
* o = object to convert
104+
* Returns: string representation of `o`
105105
*/
106106
const(char)* toErrMsg(const RootObject o)
107107
{

0 commit comments

Comments
 (0)