Commit graph

22 commits

Author SHA1 Message Date
The Dlang Bot
a66435ea90
Merge pull request #6764 from rracariu/master
Fix Issue 19396 - ScopeBuffer can't be used in betterC with inline
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-11-21 00:05:11 +01:00
rracariu
7c8d75b72e Fix Issue 19396 - ScopeBuffer can't be used in betterC with inline 2018-11-20 22:14:36 +02:00
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02:00
Sebastian Wilzbach
42894784dd Markdownify Phobos
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Sebastian Wilzbach
df6365092a Replace body keyword with its replacement: do
Automatic replacement with

    sed -i "s/^\([ ]*\)body/\1do/" -i **/*.d
2017-11-20 15:33:52 +01:00
Sebastian Wilzbach
70f06b2357 Remove old, redundant private import access specifier
Very very old versions of D (well into 0.x) had imports public by default,
like C header files. This modernizes the codebase and removes the
redundant `private` access specifier.
This has been done with:

sed "s/private import/import/g" -i **/*.d
2017-07-11 12:28:39 +02:00
Sebastian Wilzbach
61717ecc7d Sort imports 2017-06-12 07:54:38 +02:00
Andrei Alexandrescu
30724e67d9 Merge pull request #5166 from wilzbach/dscanner-unittest-safe-or-system
Dscanner: let unittest be @safe or @system
2017-02-22 14:44:08 -05:00
Sebastian Wilzbach
a36cec8686 DScanner: automatially set all unattributed unittests to @safe or @system 2017-02-22 05:42:04 +01:00
Sebastian Wilzbach
425ab667a3 Automatically set the range style from a..b -> a .. b
Commands:

sed -E "s/([[:alnum:]])[.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]])[.][.] ([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) [.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
2017-02-22 05:37:31 +01:00
Sebastian Wilzbach
805c720595 Unify Phobos by ensuring there's always a space after cast(...)
Command:

sed -E 's/([^"])cast\(([^)]*?)\)([[:alnum:]])/\1cast(\2) \3/g' -i **/*.d
2017-02-21 16:40:20 +01:00
Sebastian Wilzbach
87dec58a41 DStyle: Constraints on declarations should have the same indentation level 2017-02-17 07:36:23 +01:00
Nick Treleaven
c32a2f4eda Remove old code - copying is allowed 2017-01-10 12:13:49 +00:00
Nick Treleaven
9118661ca2 Tweak ScopeBuffer docs
* Fix ddoc for commented out `this(this)` showing in `put`'s docs.
* Fix missing ddoc for `put(CT[])` due to private `CT`.
* Use documented unittest for scopeBuffer instead of inline code.
2017-01-09 16:52:04 +00:00
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +03:00
k-hara
e7b3d834d7 detab and remove trailing whitespaces 2015-02-10 00:56:40 +09:00
Ilya Yaroshenko
488e62abc6 scope buffer: clean imports 2014-11-13 03:04:44 +03:00
Ilya Yaroshenko
83fab657d7 std.internal.scopebuffer: added inout for slices
update unittest

removed no-op cast

remove blank lines
2014-09-17 08:25:27 +04:00
k-hara
ec661877f5 Fix newly introduced FQN issue caused by 313 2014-03-28 23:40:04 +09:00
monarch dodra
b9c2e2fe72 Fix DDoc typo. 2014-03-20 12:03:31 +01:00
monarchdodra
1063d97859 Fix T[] const-ness issue in put 2014-03-17 23:19:57 +01:00
Walter Bright
cb6b8a010f add std.internal.scopebuffer 2014-03-16 16:22:04 -07:00