travisjeffery / ClangFormat-Xcode

Xcode plug-in to to use clang-format from in Xcode and consistently format your code with Clang
https://twitter.com/travisjeffery
MIT License
2.89k stars 288 forks source link

"Use System ClangFormat" crashes Xcode #41

Closed lboecker closed 7 years ago

lboecker commented 10 years ago

I'm using the clang-format that comes bundled with LLVM 3.4.1. Here's the code that leads to the crash.

Edit: Just to be clear. Any code leads to a crash. The code below is just the smallest example I could think of to reproduce the error.

// Foo.h
class Foo {
public:
void foo();
};
Phenmod commented 9 years ago

me 2

jkyin commented 9 years ago

Did you have install system clang-format?