From 4d6deb099ee63f2b19f3abbe11e8e3c106fd8493 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sat, 9 Apr 2011 09:51:57 +0000 Subject: docs/*.html: Make W3C HTML 4.01 Strict more compliant. FIXME: The logo handling in ReleaseNotes.html git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129208 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/WritingAnLLVMPass.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/WritingAnLLVMPass.html') diff --git a/docs/WritingAnLLVMPass.html b/docs/WritingAnLLVMPass.html index 866f406..6d18d19 100644 --- a/docs/WritingAnLLVMPass.html +++ b/docs/WritingAnLLVMPass.html @@ -185,7 +185,7 @@ source tree in the lib/Transforms/Hello directory.

lib/Transforms/Hello. Finally, you must set up a build script (Makefile) that will compile the source code for the new pass. To do this, copy the following into Makefile:

-
+
 # Makefile for hello pass
@@ -301,7 +301,7 @@ function.

initialization value is not important.

-  static RegisterPass X("hello", "Hello World Pass",
+  static RegisterPass<Hello> X("hello", "Hello World Pass",
                         false /* Only looks at CFG */,
                         false /* Analysis Pass */);
 }  // end of anonymous namespace
@@ -337,7 +337,7 @@ is supplied as fourth argument. 

}; char Hello::ID = 0; - static RegisterPass X("hello", "Hello World Pass", false, false); + static RegisterPass<Hello> X("hello", "Hello World Pass", false, false); }
-- cgit v1.1