Commit Graph

50 Commits

Author SHA1 Message Date
Misha Brukman 02805a6423 So *this* is where all the trailing whitespace in file header comments come
from: copy-pasted straight from the coding standards doc!

Oh, the irony.

llvm-svn: 61586
2009-01-02 16:58:42 +00:00
Misha Brukman 586a15c995 * <div align=center> is not valid HTML 4.01 - removed alignment
* <sup> cannot appear inside a <pre> - replaced <pre> with <tt> and <br>
* Added standard "Notes" section
* Sprinkled fixed-width <tt> tags in a few places for consistency

llvm-svn: 60889
2008-12-11 19:37:04 +00:00
Misha Brukman 86242e1990 Global replace of yellow W3C "valid HTML/CSS" icons with blue ones.
llvm-svn: 60880
2008-12-11 17:34:48 +00:00
Misha Brukman 6c2522a1cf s/A Few Coding Standards/LLVM Coding Standards/g
llvm-svn: 60859
2008-12-10 23:07:02 +00:00
Nick Lewycky 35847809b7 Fix spelling mistake.
llvm-svn: 60250
2008-11-29 20:13:25 +00:00
Dan Gohman 8ef449828f Fix a few HTML tidiness issues.
llvm-svn: 59966
2008-11-24 17:18:39 +00:00
Matthijs Kooijman ca4ffaabcd Not that using stream headers other than iostream is allowed.
llvm-svn: 54209
2008-07-30 12:14:10 +00:00
Chris Lattner fc12d2e5f3 clarify :)
llvm-svn: 53218
2008-07-08 05:12:37 +00:00
Nick Lewycky fb75d42faa Add a standard for control-flow unreachable assertions in functions that return
values, so as to avoid warnings on some platforms.

llvm-svn: 51831
2008-05-31 23:54:55 +00:00
Chris Lattner ebf5666abf Don't attribute in file headers anymore. See llvmdev for the
discussion of this change.

llvm-svn: 45409
2007-12-29 19:56:08 +00:00
Chris Lattner f9f08bf4b0 Update links.
llvm-svn: 43964
2007-11-09 21:49:08 +00:00
Bill Wendling 56235a28ce Clarify some of the iostreams stuff.
llvm-svn: 43766
2007-11-06 09:36:34 +00:00
Bill Wendling bdd6bd8236 Validation fixes
llvm-svn: 42229
2007-09-22 10:03:25 +00:00
Reid Spencer c7f87f202e Subversionify the documentation.
llvm-svn: 38442
2007-07-09 08:04:31 +00:00
Chris Lattner 8503007331 clarify the 'developed by' line
llvm-svn: 34400
2007-02-19 03:33:06 +00:00
Chris Lattner 756f83fdf9 fix a grammar ambiguity noticed by Duncan
llvm-svn: 34151
2007-02-10 18:35:31 +00:00
Bill Wendling 4d95e91eca Removed reference to "cnull" because typical users shouldn't need to use
it.

llvm-svn: 32869
2007-01-04 08:38:04 +00:00
Bill Wendling 3307244ce9 Added example of how to code print() methods so that they will disappear
from the code if "cnull" is passed into them.

llvm-svn: 32641
2006-12-17 11:40:40 +00:00
Bill Wendling b0629487d8 Fixed some formatting.
llvm-svn: 32392
2006-12-09 01:35:43 +00:00
Bill Wendling c78ae26ff8 Another example of using the llvm IO streams.
llvm-svn: 32391
2006-12-09 01:27:51 +00:00
Bill Wendling 2b52dc1753 Add documentation for how to use the new LLVM streams.
llvm-svn: 32390
2006-12-09 01:20:34 +00:00
Jim Laskey 88b5e790b5 Fix a couple typos.
llvm-svn: 29416
2006-07-31 20:18:49 +00:00
Chris Lattner 85ea83e821 Add some advice
llvm-svn: 29324
2006-07-27 04:24:14 +00:00
Reid Spencer ca05854a71 Changes docs for llvm.cs.uiuc.edu -> llvm.org
llvm-svn: 26746
2006-03-14 05:39:39 +00:00
Chris Lattner 01e81e60ed Add a section about using namespaces.
llvm-svn: 25054
2006-01-01 21:59:22 +00:00
Misha Brukman 6d1686c18b Documentation which contains smileys won't be taken seriously by some people.
llvm-svn: 18474
2004-12-04 00:32:12 +00:00
Misha Brukman 03f87d527d Use <tt> around "#include" and "std::endl"
llvm-svn: 17258
2004-10-26 16:18:43 +00:00
Misha Brukman d73c8428f1 Use <tt> around header names
llvm-svn: 17256
2004-10-26 16:07:46 +00:00
Misha Brukman f2499137d7 * Fix spelling and grammar errors
* Close <p> tags properly
* Break up paragraphs with blank lines, clean up text alignment
* Delete unbalanced "

llvm-svn: 17254
2004-10-26 15:45:13 +00:00
Reid Spencer bf6439fd27 Add a blurb about the use of class vs. struct keyword in class decls.
llvm-svn: 16500
2004-09-23 16:03:48 +00:00
Misha Brukman 0d640e87d1 Fix grammar, eliminate double parenthesized sentence fragment.
llvm-svn: 15313
2004-07-28 22:37:57 +00:00
Misha Brukman b2246154df * Wrap code listings in <div class="doc_code">
* Wrap keywords in <tt>
* Wrap lines at 80 cols

llvm-svn: 15312
2004-07-28 22:31:54 +00:00
Tanya Lattner 8ed32be935 Fixed broken links.
llvm-svn: 14313
2004-06-22 04:24:55 +00:00
Misha Brukman 3155159ef9 Fix broken internal link.
llvm-svn: 14002
2004-06-03 23:42:24 +00:00
Chris Lattner 1dab192f22 Update the coding standards, removign the bit about avoiding exceptions and
rtti (they shouldn't be used in the main compiler, but that's because
optimizations aren't allowed to fail!)

Remove the big section about iterators, because people who do not know what
they are doing shouldn't be writing them.  :)

llvm-svn: 13670
2004-05-23 21:05:07 +00:00
Misha Brukman d4f290a8ae Add proper footer since this file is HTML-4.01 compliant.
llvm-svn: 13498
2004-05-12 18:37:22 +00:00
John Criswell f531f319d2 Merged in RELEASE_1.
llvm-svn: 9538
2003-10-27 18:18:16 +00:00
Misha Brukman f196dbb65c * Use HTML 4.01 Strict DTD
* Stop using UTF-8, the webserver sends out iso-8859-1 anyway
* Use style sheets and <div>s instead of <font> tags
* Stop using <ul> for layout

llvm-svn: 9474
2003-10-24 17:57:33 +00:00
Chris Lattner e6f4e07706 Oops, forgot to commit this before: standardize header comments
llvm-svn: 9080
2003-10-13 14:58:11 +00:00
Misha Brukman 0cedb1f742 Break lines so that they fit within 80 columns.
llvm-svn: 8901
2003-10-06 19:26:00 +00:00
Misha Brukman 7eb05a170a Spell `necessary' correctly.
llvm-svn: 7944
2003-08-18 14:43:39 +00:00
Chris Lattner 245b525551 * Fix <>'s in code to be &lt;&gt;'s
* Add section describing how we prefer #includes to be ordered

llvm-svn: 7697
2003-08-07 21:45:47 +00:00
Misha Brukman c3e789388f Made many paragraphs fit into 80 characters per line to avoid wrapping in an
editor window. Re-worded confusing description about interdependence of modules.

llvm-svn: 7374
2003-07-28 21:57:18 +00:00
Chris Lattner 68bb8f00c0 Change reference to assert.h to mention cassert
llvm-svn: 7317
2003-07-25 18:05:51 +00:00
Chris Lattner 5033c4c286 Properly convert some &'s to &amp;'s
llvm-svn: 5868
2003-04-23 16:25:38 +00:00
Chris Lattner 850d4f6af1 Add a note about endl semantics
llvm-svn: 1502
2002-01-20 19:01:26 +00:00
Chris Lattner da55810666 Commit more code over to new cast style
llvm-svn: 697
2001-10-02 03:41:24 +00:00
Chris Lattner 568f301cd2 Comment out a paragraph that refers to a file that no longer exists
llvm-svn: 689
2001-10-01 13:18:35 +00:00
Chris Lattner 85014f4657 Add a missing </a> tag
llvm-svn: 285
2001-07-23 20:40:41 +00:00
Chris Lattner ac457c46a3 Initial checkin of coding standards
llvm-svn: 167
2001-07-09 03:27:08 +00:00