Reapply r236854 and fixed r236867.
authorDaniel Jasper <djasper@google.com>
Sun, 10 May 2015 07:47:19 +0000 (07:47 +0000)
committerDaniel Jasper <djasper@google.com>
Sun, 10 May 2015 07:47:19 +0000 (07:47 +0000)
commit622c72ded5df46eb6a705cb6fbfc0e680294a590
tree4cc0d55f016fbd76f9d05eceacd5cd3bfeb337d4
parentee33c49ade47ea24f0d26d86456632a664efe069
Reapply r236854 and fixed r236867.

Makes emacs show a different message when clang-format encountered a
syntax error.

llvm-svn: 236943
clang/test/Format/cursor.cpp
clang/test/Format/incomplete.cpp [new file with mode: 0644]
clang/tools/clang-format/ClangFormat.cpp
clang/tools/clang-format/clang-format.el