[cfe-dev] clang-format Emacs problem

Luke Mauldin luke.mauldin at talkfusion.com
Mon Nov 25 05:34:49 PST 2013


All, I have checked out and compiled the latest SVN version of clang (see version info below) and I installed it into /usr/local so it will not conflict with the standard clang version shipping with Mac OS 10.9.  I moved clang-format.el into my emacs load path but when I try to run the commands clang-format-region or clang-format-buffer, my Emacs buffer is blanked out and I receive the message “End of file during parsing” in the status line at the bottom.  I have verified the file is valid C++ and if I run the clang-format binary from the command line then it works as expected.  Can anyone help me out?


Version info:
clang version 3.5 (trunk 195639)
Target: x86_64-apple-darwin13.0.2
Thread model: posix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131125/f8ad0076/attachment.html>


More information about the cfe-dev mailing list