mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-01 07:30:33 +00:00
Add downloadable code samples.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43219 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e6c9104eb9
commit
c333e4f0cb
@ -19,6 +19,18 @@
|
||||
<p>Written by <a href="mailto:owen@apple.com">Owen Anderson</a></p>
|
||||
</div>
|
||||
|
||||
<!-- *********************************************************************** -->
|
||||
<div class="doc_section"><a name="intro">Code Samples</a></div>
|
||||
<!-- *********************************************************************** -->
|
||||
|
||||
<div class="doc_text">
|
||||
All the code in this example can be downloaded at <a href="Tutorial1.tar.bz2">Tutorial1.tar.bz2</a> or <a href="Tutorial1.zip">Tutorial1.zip</a>.
|
||||
</div>
|
||||
|
||||
<!-- *********************************************************************** -->
|
||||
<div class="doc_section"><a name="intro">A First Function</a></div>
|
||||
<!-- *********************************************************************** -->
|
||||
|
||||
<div class="doc_text">
|
||||
|
||||
<p>For starters, lets consider a relatively straightforward function that takes three integer parameters and returns an arithmetic combination of them. This is nice and simple, especially since it involves no control flow:</p>
|
||||
|
BIN
docs/tutorial/Tutorial1.tar.bz2
Normal file
BIN
docs/tutorial/Tutorial1.tar.bz2
Normal file
Binary file not shown.
BIN
docs/tutorial/Tutorial1.zip
Normal file
BIN
docs/tutorial/Tutorial1.zip
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user