Improve clang-format vim integration.
authorDaniel Jasper <djasper@google.com>
Fri, 19 Jul 2013 09:30:44 +0000 (09:30 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 19 Jul 2013 09:30:44 +0000 (09:30 +0000)
commitb11c2c28389b7b2baffb4d849f92a094cdfdde28
treec3560e80042a9a2b90cd6a9bdc1123ecaba5817b
parent9f21fe1d65427453ed4c162110d052b43ce67f7b
Improve clang-format vim integration.

The previous line-by-line replacement causes vim to take a long time if
the foldmethod is set to 'syntax'. This should significantly improve
performance in that case.

llvm-svn: 186660
clang/tools/clang-format/clang-format.py