summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorNicola Zaghen <nicola.zaghen@imgtec.com>2018-06-04 14:40:34 +0000
committerNicola Zaghen <nicola.zaghen@imgtec.com>2018-06-04 14:40:34 +0000
commit771e3beea6757d04ecbe7ed3a0df19af211d3d22 (patch)
treebae8ff541fea90f979202d91339f2fca61519068 /llvm/docs
parente2ef7560bc63dcb0b49a7513b3666b845e108dfc (diff)
downloadbcm5719-llvm-771e3beea6757d04ecbe7ed3a0df19af211d3d22.tar.gz
bcm5719-llvm-771e3beea6757d04ecbe7ed3a0df19af211d3d22.zip
[ReleaseNotes] Formatting fixes.
llvm-svn: 333902
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/ReleaseNotes.rst13
1 files changed, 4 insertions, 9 deletions
diff --git a/llvm/docs/ReleaseNotes.rst b/llvm/docs/ReleaseNotes.rst
index a5ef08aa021..1784f8b9091 100644
--- a/llvm/docs/ReleaseNotes.rst
+++ b/llvm/docs/ReleaseNotes.rst
@@ -88,19 +88,14 @@ Non-comprehensive list of changes in this release
``llvm/Config/llvm-config.h``. If you used this macro, use the compiler-set
``_WIN32`` instead which is set exactly when ``LLVM_ON_WIN32`` used to be set.
-* The ``DEBUG`` macro has been renamed to ``LLVM_DEBUG``. The interface remains
- the same. If you used this macro you need to migrate to the new one, you can
- do this with the following bash command:
+* The ``DEBUG`` macro has been renamed to ``LLVM_DEBUG``, the interface remains
+ the same. If you used this macro you need to migrate to the new one.
+ You should also clang-format your code to make it easier to integrate future
+ changes locally. This can be done with the following bash commands:
.. code-block:: bash
git grep -l 'DEBUG' | xargs perl -pi -e 's/\bDEBUG\s?\(/LLVM_DEBUG(/g'
-
- Additionally, you can clang-format your code to make it easier to integrate
- future changes locally. This can be done with the following bash command:
-
-.. code-block:: bash
-
git diff -U0 master | ../clang/tools/clang-format/clang-format-diff.py -i -p1 -style LLVM
* Note..
OpenPOWER on IntegriCloud