diff --git a/llvm/docs/WritingAnLLVMPass.rst b/llvm/docs/WritingAnLLVMPass.rst --- a/llvm/docs/WritingAnLLVMPass.rst +++ b/llvm/docs/WritingAnLLVMPass.rst @@ -1263,7 +1263,7 @@ .. code-block:: c++ - MachinePassRegistry RegisterMyPasses::Registry; + MachinePassRegistry RegisterMyPasses::Registry; And finally, declare the command line option for your passes. Example: