Fix example code.
authorDevang Patel <dpatel@apple.com>
Wed, 25 Jul 2007 21:05:39 +0000 (21:05 +0000)
committerDevang Patel <dpatel@apple.com>
Wed, 25 Jul 2007 21:05:39 +0000 (21:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40493 91177308-0d34-0410-b5e6-96231b3b80d8

docs/WritingAnLLVMPass.html

index c967000a9e08ea86a0681d27f5a3d80d229c21e7..58bea1a0cad4cce106158fb54808e40c73d6a012 100644 (file)
@@ -320,6 +320,7 @@ argument "<tt>hello</tt>", and a name "<tt>Hello World Pass</tt>".</p>
     }
   };
   
+  char Hello::ID = 0;
   RegisterPass&lt;Hello&gt; X("<i>hello</i>", "<i>Hello World Pass</i>");
 }
 </pre></div>