From 4f13f657a4bb3aa01ef9d5e9a3e32ab95eb9eaf7 Mon Sep 17 00:00:00 2001
From: Saleem Abdulrasool <compnerd@compnerd.org>
Date: Sun, 2 Nov 2014 21:27:52 +0000
Subject: [PATCH] docs: remove double carriage-return

The double carriage return would silence a warning due to a missing
.clang-format.  Permit the error to bubble through.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221107 91177308-0d34-0410-b5e6-96231b3b80d8
---
 docs/ClangFormat.rst               | 4 ++--
 tools/clang-format/clang-format.py | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/ClangFormat.rst b/docs/ClangFormat.rst
index b37241786b..45ea327179 100644
--- a/docs/ClangFormat.rst
+++ b/docs/ClangFormat.rst
@@ -96,8 +96,8 @@ This can be integrated by adding the following to your `.vimrc`:
 
 .. code-block:: vim
 
-  map <C-K> :pyf <path-to-this-file>/clang-format.py<cr><cr>
-  imap <C-K> <c-o>:pyf <path-to-this-file>/clang-format.py<cr><cr>
+  map <C-K> :pyf <path-to-this-file>/clang-format.py<cr>
+  imap <C-K> <c-o>:pyf <path-to-this-file>/clang-format.py<cr>
 
 The first line enables :program:`clang-format` for NORMAL and VISUAL mode, the
 second line adds support for INSERT mode. Change "C-K" to another binding if
diff --git a/tools/clang-format/clang-format.py b/tools/clang-format/clang-format.py
index 487b9ed48e..3bb89e04b1 100644
--- a/tools/clang-format/clang-format.py
+++ b/tools/clang-format/clang-format.py
@@ -3,7 +3,7 @@
 # - Add to your .vimrc:
 #
 #   map <C-I> :pyf <path-to-this-file>/clang-format.py<cr>
-#   imap <C-I> <c-o>:pyf <path-to-this-file>/clang-format.py<cr><cr>
+#   imap <C-I> <c-o>:pyf <path-to-this-file>/clang-format.py<cr>
 #
 # The first line enables clang-format for NORMAL and VISUAL mode, the second
 # line adds support for INSERT mode. Change "C-I" to another binding if you
-- 
2.40.0