Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/dmd/dtoh.d
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,11 @@ extern(C++) void genCppHdrFiles(ref Modules ms)
foreach (m; ms)
m.accept(v);

buf.printf("// Automatically generated by %s Compiler v%d", global.vendor.ptr, global.versionNumber());
if (global.params.doCxxHdrGeneration == CxxHeaderMode.verbose)
buf.printf("// Automatically generated by %s Compiler v%d", global.vendor.ptr, global.versionNumber());
else
buf.printf("// Automatically generated by %s Compiler", global.vendor.ptr);

buf.writenl();
buf.writenl();
buf.writestringln("#pragma once");
Expand Down
2 changes: 1 addition & 1 deletion src/dmd/frontend.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Automatically generated by Digital Mars D Compiler v2093
// Automatically generated by Digital Mars D Compiler

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion test/compilable/dtoh_AliasDeclaration.d
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ REQUIRED_ARGS: -HC=silent -c -o-
PERMUTE_ARGS:
TEST_OUTPUT:
---
// Automatically generated by Digital Mars D Compiler v$n$
// Automatically generated by Digital Mars D Compiler

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion test/compilable/dtoh_AnonDeclaration.d
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ REQUIRED_ARGS: -HC -c -o-
PERMUTE_ARGS:
TEST_OUTPUT:
---
// Automatically generated by Digital Mars D Compiler v$n$
// Automatically generated by Digital Mars D Compiler

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion test/compilable/dtoh_CPPNamespaceDeclaration.d
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ REQUIRED_ARGS: -HC -c -o-
PERMUTE_ARGS:
TEST_OUTPUT:
---
// Automatically generated by Digital Mars D Compiler v$n$
// Automatically generated by Digital Mars D Compiler

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion test/compilable/dtoh_ClassDeclaration.d
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ REQUIRED_ARGS: -HC -c -o-
PERMUTE_ARGS:
TEST_OUTPUT:
---
// Automatically generated by Digital Mars D Compiler v$n$
// Automatically generated by Digital Mars D Compiler

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion test/compilable/dtoh_StructDeclaration.d
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ REQUIRED_ARGS: -HC -c -o-
PERMUTE_ARGS:
TEST_OUTPUT:
---
// Automatically generated by Digital Mars D Compiler v$n$
// Automatically generated by Digital Mars D Compiler

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion test/compilable/dtoh_TemplateDeclaration.d
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ REQUIRED_ARGS: -HC -c -o-
PERMUTE_ARGS:
TEST_OUTPUT:
---
// Automatically generated by Digital Mars D Compiler v$n$
// Automatically generated by Digital Mars D Compiler

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion test/compilable/dtoh_VarDeclaration.d
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ REQUIRED_ARGS: -HC -c -o-
PERMUTE_ARGS:
TEST_OUTPUT:
---
// Automatically generated by Digital Mars D Compiler v$n$
// Automatically generated by Digital Mars D Compiler

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion test/compilable/dtoh_enum.d
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ REQUIRED_ARGS: -HC -c -o-
PERMUTE_ARGS:
TEST_OUTPUT:
---
// Automatically generated by Digital Mars D Compiler v$n$
// Automatically generated by Digital Mars D Compiler

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion test/compilable/dtoh_functions.d
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ REQUIRED_ARGS: -HC -c -o-
PERMUTE_ARGS:
TEST_OUTPUT:
---
// Automatically generated by Digital Mars D Compiler v$n$
// Automatically generated by Digital Mars D Compiler

#pragma once

Expand Down
2 changes: 1 addition & 1 deletion test/compilable/dtoh_unittest_block.d
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ REQUIRED_ARGS: -HC -c -o-
PERMUTE_ARGS:
TEST_OUTPUT:
---
// Automatically generated by Digital Mars D Compiler v$n$
// Automatically generated by Digital Mars D Compiler

#pragma once

Expand Down