[llvm] 731a2bc - [docs][JITLink] Try explicit literal blocks for monospace list elements.

Lang Hames via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 24 02:50:41 PST 2021


Author: Lang Hames
Date: 2021-02-24T21:50:27+11:00
New Revision: 731a2bcaf7469e8411cc07b48d36c8f4040d4455

URL: https://github.com/llvm/llvm-project/commit/731a2bcaf7469e8411cc07b48d36c8f4040d4455
DIFF: https://github.com/llvm/llvm-project/commit/731a2bcaf7469e8411cc07b48d36c8f4040d4455.diff

LOG: [docs][JITLink] Try explicit literal blocks for monospace list elements.

Added: 
    

Modified: 
    llvm/docs/JITLink.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/JITLink.rst b/llvm/docs/JITLink.rst
index a224abc92d0c..75cbf6e55089 100644
--- a/llvm/docs/JITLink.rst
+++ b/llvm/docs/JITLink.rst
@@ -57,11 +57,9 @@ ObjectLinkingLayer Plugins
 
 The ``ObjectLinkingLayer::Plugin`` class  provides the following  methods:
 
-* ::
-
-    virtual void modifyPassConfig(MaterializationResponsibility &MR,
-                                  const Triple &TT,
-                                  jitlink::PassConfiguration &Config)``
+* :literal:`virtual void modifyPassConfig(MaterializationResponsibility &MR,
+                                          const Triple &TT,
+                                          jitlink::PassConfiguration &Config)`
 
   Called each time a LinkGraph is about to be linked. Override to install
   custom JITLink *Passes* to run during the link process for this graph.
@@ -87,10 +85,8 @@ The ``ObjectLinkingLayer::Plugin`` class  provides the following  methods:
   ``notifyTransferringResources`` should be implemented, or neither should be.
   Implementing one but not the other will lead to resource management bugs.
 
-* ::
-
-    virtual void notifyTransferringResources(ResourceKey DstKey,
-                                             ResourceKey SrcKey)
+* :literal:`virtual void notifyTransferringResources(ResourceKey DstKey,
+                                                     ResourceKey SrcKey)`
 
   Called if/when a request is made to reassociate resources from *SrcKey* to
   *DstKey*. Override to update the plugin's resource tracking maps (if any).


        


More information about the llvm-commits mailing list