diff options
author | Renato Golin <renato.golin@linaro.org> | 2016-07-20 09:47:09 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2016-07-20 09:47:09 +0000 |
commit | 10f8472771c0eae5310b48b0efa48c99680e666d (patch) | |
tree | 3d5bc11713f53e258fbb34171bc4a485a83cc42c /llvm | |
parent | e433cf7547d3418af1e4e6ba9b3a30ba040740f9 (diff) | |
download | bcm5719-llvm-10f8472771c0eae5310b48b0efa48c99680e666d.tar.gz bcm5719-llvm-10f8472771c0eae5310b48b0efa48c99680e666d.zip |
[docs] fix cmake code-block warning
This will unblock the llvm-sphinx-buildbot, which is currently failing due
to a warning being treated as error.
llvm-svn: 276100
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/docs/CMakePrimer.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/docs/CMakePrimer.rst b/llvm/docs/CMakePrimer.rst index 03477902214..1e3a09e4d98 100644 --- a/llvm/docs/CMakePrimer.rst +++ b/llvm/docs/CMakePrimer.rst @@ -246,11 +246,11 @@ In general CMake if blocks work the way you'd expect: .. code-block:: cmake if(<condition>) - .. do stuff + message("do stuff") elseif(<condition>) - .. do other stuff + message("do other stuff") else() - .. do other other stuff + message("do other other stuff") endif() The single most important thing to know about CMake's if blocks coming from a C @@ -265,7 +265,7 @@ The most common form of the CMake ``foreach`` block is: .. code-block:: cmake foreach(var ...) - .. do stuff + message("do stuff") endforeach() The variable argument portion of the ``foreach`` block can contain dereferenced |