OSDN Git Service

[ReleaseNotes] Formatting fixes.
authorNicola Zaghen <nicola.zaghen@imgtec.com>
Mon, 4 Jun 2018 14:40:34 +0000 (14:40 +0000)
committerNicola Zaghen <nicola.zaghen@imgtec.com>
Mon, 4 Jun 2018 14:40:34 +0000 (14:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333902 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ReleaseNotes.rst

index a5ef08a..1784f8b 100644 (file)
@@ -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..