title: Using clang_complete with OS X frameworks
body: <p>If I save the following to /tmp/test.cpp:</p>
  
  <pre><code>#include &lt;CoreServices/CoreServices.h&gt;
  #include &lt;iostream&gt;
  
  int main() {
    CFStringRef my_string = CFSTR("hello, world!");
    std::cout &lt;&lt; CFStringGetLength(my_string) &lt;&lt; '\n';
  }
  </code></pre>
  
  <p>I can compile this correctly with <code>!clang++ -framework CoreServices %</code>, however clang_complete can't complete anything from CoreServices. </p>
  
  <p>The docs say I should place compiler options in a .clang_complete file (in this case I'm using /tmp/.clang_complete), however everything I've tried so far results in <code>test.cpp|| unknown argument: '-framework'</code> appearing in the quick fix window.</p>
  
  <p>What's the correct way of getting clang_complete to deal with frameworks correctly?</p>