Commit Graph

24 Commits

Author SHA1 Message Date
Everett Badeaux
96fb3a0477 [Docs] Change return this to say return self
Signed-off-by: Everett Badeaux <everettc1810@gmail.com>
2023-12-12 17:33:56 -06:00
Adrian Prantl
ff63eaea6f Remove \brief commands from doxygen comments.
We've been running doxygen with the autobrief option for a couple of
years now. This makes the \brief markers into our comments
redundant. Since they are a visual distraction and we don't want to
encourage more \brief markers in new code either, this patch removes
them all.

Patch produced by

      for i in $(git grep -l '\\brief'); do perl -pi -e 's/\\brief //g' $i & done
2018-12-04 15:45:04 -08:00
practicalswift
3918d9d251 [gardening] Replace likely word processor artefacts with ASCII equivalents (— → --, … → ...) 2017-01-08 15:23:06 +01:00
practicalswift
cc852042c9 [gardening] Fix accidental trailing whitespace. 2016-10-29 10:22:58 +02:00
Ben Rimmington
b00b789f64 [docs] Streamable => TextOutputStreamable, NFC 2016-08-10 20:52:20 +01:00
Doug Gregor
598690b594 Make title underline longer 2016-07-19 14:21:42 -07:00
Tony Parker
2a4e916296 Rename OutputStream to TextOutputStream [SE-0086] 2016-07-18 16:47:23 -07:00
Robert Widmann
f97e5dcb0e [SE-0115][1/2] Rename *LiteralConvertible protocols to ExpressibleBy*Literal. This
change includes both the necessary protocol updates and the deprecation
warnings
suitable for migration.  A future patch will remove the renamings and
make this
a hard error.
2016-07-12 15:25:24 -07:00
Manav Gabhawala
7928140f79 [SE-0046] Implements consistent function parameter labels by discarding extraneous parameter names and adding _ where necessary 2016-04-06 20:21:58 -04:00
practicalswift
abfecfde17 [gardening] if ([space]…[space]) → if (…), for(…) → for (…), while(…) → while (…), [[space]x, y[space]] → [x, y] 2016-04-04 16:22:11 +02:00
practicalswift
6c8c9bfbc9 Consistently use normal quotes ("…") instead of curly quotes (“…”). 2016-01-06 21:38:32 +01:00
Steven Schmatz
daf3080fa0 Fix typos/formatting in TextFormatting.rst
Makes it a bit easier to read.
2015-12-04 18:11:28 -05:00
Dmitri Hrybenko
f46f16ae82 stdlib: implement new print() API
rdar://20775683

Swift SVN r28309
2015-05-08 01:37:59 +00:00
Ted Kremenek
2f2b9363e9 Change Printable/DebugPrintable to CustomStringConvertible/CustomDebugStringConvertible in docs.
Swift SVN r28000
2015-04-30 22:07:03 +00:00
Dave Abrahams
7ab9d369aa [stdlib] Rename Char => UnicodeScalar
Swift SVN r10864
2013-12-05 17:30:37 +00:00
Dave Abrahams
b1ac7ba7a4 [docs] Fix all ReST/Sphinx warnings, turn sphinx warnings into errors
Also revert r10607, which this change obsoletes

Swift SVN r10611
2013-11-20 23:27:13 +00:00
Dmitri Hrybenko
81dc5deee8 Change 'def' keyword back to 'func'
Swift SVN r10522
2013-11-17 07:45:28 +00:00
Dmitri Hrybenko
91ce21666d Change 'func' keyword to 'def'
I tried hard find all references to 'func' in documentation, comments and
diagnostics, but I am sure that I missed a few.  If you find something, please
let me know.

rdar://15346654


Swift SVN r9886
2013-11-02 01:00:42 +00:00
Joe Groff
3d4c1251f1 Rename 'byref' attribute to 'inout'.
Swift SVN r8661
2013-09-25 20:56:52 +00:00
Ted Kremenek
8f5b8ccb02 Rename "This" to "Self" and "this" to "self".
This was not likely an error-free change.  Where you see problems
please correct them.  This went through a fairly tedious audit
before committing, but comments might have been changed incorrectly,
not changed at all, etc.

Swift SVN r7631
2013-08-27 21:58:27 +00:00
Dave Abrahams
03cd1b91a7 [stdlib] TextFormatting.*: formatForDebugging => debugFormat
Now that we don't have formatForPrinting anymore, a terser name for
debugFormat makes more sense.  Also, the new name isn't freighted with
so much implication about the end-user's activity.

Swift SVN r7256
2013-08-15 16:16:03 +00:00
Dave Abrahams
c72f07f867 [stdlib] TextFormatting.*: formatForPrinting => format
Jordan pointed out that we already have these multi-parameter
format(...)  functions that also return Streamables; it doesn't make
much sense to spell them differently.

Swift SVN r7255
2013-08-15 16:13:36 +00:00
Dave Abrahams
128e69d934 [docs] Revise TextFormatting.* to reflect posted proposal
Swift SVN r7178
2013-08-12 21:13:03 +00:00
Dave Abrahams
acc96c56a2 [docs] Rename "printf.*" documentation as "TextFormatting.*"
We are proposing to remove printf; remove latent references to it

Swift SVN r7176
2013-08-12 21:13:00 +00:00