[llvm-commits] [llvm] r164922 - in /llvm/trunk/docs: AliasAnalysis.rst CodeGenerator.rst

Dmitri Gribenko gribozavr at gmail.com
Sun Sep 30 13:51:02 PDT 2012


Author: gribozavr
Date: Sun Sep 30 15:51:02 2012
New Revision: 164922

URL: http://llvm.org/viewvc/llvm-project?rev=164922&view=rev
Log:
RST docs: convert HTML escapes to plain text in code examples.

Modified:
    llvm/trunk/docs/AliasAnalysis.rst
    llvm/trunk/docs/CodeGenerator.rst

Modified: llvm/trunk/docs/AliasAnalysis.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/AliasAnalysis.rst?rev=164922&r1=164921&r2=164922&view=diff
==============================================================================
--- llvm/trunk/docs/AliasAnalysis.rst (original)
+++ llvm/trunk/docs/AliasAnalysis.rst Sun Sep 30 15:51:02 2012
@@ -230,7 +230,7 @@
 
 .. code-block:: c++
 
-  void getAnalysisUsage(AnalysisUsage &AU) const {
+  void getAnalysisUsage(AnalysisUsage &AU) const {
     AliasAnalysis::getAnalysisUsage(AU);
     // declare your dependencies here.
   }

Modified: llvm/trunk/docs/CodeGenerator.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CodeGenerator.rst?rev=164922&r1=164921&r2=164922&view=diff
==============================================================================
--- llvm/trunk/docs/CodeGenerator.rst (original)
+++ llvm/trunk/docs/CodeGenerator.rst Sun Sep 30 15:51:02 2012
@@ -390,7 +390,7 @@
   MachineInstr *MI = BuildMI(X86::MOV32ri, 1, DestReg).addImm(42);
 
   // Create the same instr, but insert it at the end of a basic block.
-  MachineBasicBlock &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 @@
   MI = BuildMI(X86::SAHF, 0);
 
   // Create a self looping branch instruction.
-  BuildMI(MBB, X86::JNE, 1).addMBB(&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





More information about the llvm-commits mailing list