[cfe-dev] clang-format issue

Thiago Farina tfransosi at gmail.com
Sat May 4 06:32:15 PDT 2013


Hi,

When running clang-format-diff.py from command line or clang-format.py
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/clang-format.py",
line 44, in <module>
    stdin=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 672, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", 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
/home/tfarina/chromium/src/third_party/llvm-build/Release+Asserts/bin/clang

Thanks,



More information about the cfe-dev mailing list