summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-09-30 20:51:02 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-09-30 20:51:02 +0000
commit37f92c74d24fdb483bdcdf38e8935bba4e6b143e (patch)
tree6cc3aa7e2634be00fcfe3c198ab79d57488ef5d7 /llvm/docs
parent0fd5ce068ede31cb8385ae2b723a788cb8b023c4 (diff)
downloadbcm5719-llvm-37f92c74d24fdb483bdcdf38e8935bba4e6b143e.tar.gz
bcm5719-llvm-37f92c74d24fdb483bdcdf38e8935bba4e6b143e.zip
RST docs: convert HTML escapes to plain text in code examples.
llvm-svn: 164922
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/AliasAnalysis.rst2
-rw-r--r--llvm/docs/CodeGenerator.rst4
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/docs/AliasAnalysis.rst b/llvm/docs/AliasAnalysis.rst
index 2d4f2914ee0..fdaec89cdf6 100644
--- a/llvm/docs/AliasAnalysis.rst
+++ b/llvm/docs/AliasAnalysis.rst
@@ -230,7 +230,7 @@ any pass dependencies your pass has. Thus you should have something like this:
.. code-block:: c++
- void getAnalysisUsage(AnalysisUsage &amp;AU) const {
+ void getAnalysisUsage(AnalysisUsage &AU) const {
AliasAnalysis::getAnalysisUsage(AU);
// declare your dependencies here.
}
diff --git a/llvm/docs/CodeGenerator.rst b/llvm/docs/CodeGenerator.rst
index d1d0231105b..72b12539cd7 100644
--- a/llvm/docs/CodeGenerator.rst
+++ b/llvm/docs/CodeGenerator.rst
@@ -390,7 +390,7 @@ functions make it easy to build arbitrary machine instructions. Usage of the
MachineInstr *MI = BuildMI(X86::MOV32ri, 1, DestReg).addImm(42);
// Create the same instr, but insert it at the end of a basic block.
- MachineBasicBlock &amp;MBB = ...
+ MachineBasicBlock &MBB = ...
BuildMI(MBB, X86::MOV32ri, 1, DestReg).addImm(42);
// Create the same instr, but insert it before a specified iterator point.
@@ -404,7 +404,7 @@ functions make it easy to build arbitrary machine instructions. Usage of the
MI = BuildMI(X86::SAHF, 0);
// Create a self looping branch instruction.
- BuildMI(MBB, X86::JNE, 1).addMBB(&amp;MBB);
+ BuildMI(MBB, X86::JNE, 1).addMBB(&MBB);
The key thing to remember with the ``BuildMI`` functions is that you have to
specify the number of operands that the machine instruction will take. This
OpenPOWER on IntegriCloud