summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2018-11-13 01:26:25 +0000
committerLang Hames <lhames@gmail.com>2018-11-13 01:26:25 +0000
commit8bf69be1c1805a8fdde0880da959133aca623e9a (patch)
tree59bec462f8cbc71837c9b9c163b83391b3877f65 /llvm/docs/tutorial
parent575515fddf9003c0a5f680c52bfa9893ceb4c20c (diff)
downloadbcm5719-llvm-8bf69be1c1805a8fdde0880da959133aca623e9a.tar.gz
bcm5719-llvm-8bf69be1c1805a8fdde0880da959133aca623e9a.zip
[BuildingAJIT] Clang-format chapters 1 and 2.
llvm-svn: 346727
Diffstat (limited to 'llvm/docs/tutorial')
-rw-r--r--llvm/docs/tutorial/BuildingAJIT2.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/tutorial/BuildingAJIT2.rst b/llvm/docs/tutorial/BuildingAJIT2.rst
index 902382adf89..7d25ccaba0a 100644
--- a/llvm/docs/tutorial/BuildingAJIT2.rst
+++ b/llvm/docs/tutorial/BuildingAJIT2.rst
@@ -99,8 +99,8 @@ Next we need to update our addModule method to replace the call to
.. code-block:: c++
- ThreadSafeModule optimizeModule(ThreadSafeModule M,
- const MaterializationResponsibility &R) {
+ static Expected<ThreadSafeModule>
+ optimizeModule(ThreadSafeModule M, const MaterializationResponsibility &R) {
// Create a function pass manager.
auto FPM = llvm::make_unique<legacy::FunctionPassManager>(M.get());
OpenPOWER on IntegriCloud