clang-format issue


When running from command line or
from vim, either way, I'm getting the following error:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/tfarina/src/llvm/tools/clang/tools/clang-format/",
line 44, in <module>
  File "/usr/lib/python2.7/", line 672, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/", line 1213, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Anyone knows what I might be doing wrong?

$ clang --version
clang version 3.3 (trunk 179138)
Target: x86_64-unknown-linux-gnu
Thread model: posix

$ which clang


I got it, sorry for the noise.

Since clang-format is not in my path, I had to edit |binary| and
change it to point to ~/src/llvm/build/bin/clang-format. Doing that
fixed it.