title: XCode 4.2 Objective-C ARC LLVM Errors: current parser token '-' and generation of compound statement ('{}')
body: <p>After upgrading to Objective-C ARC (Automatic reference counting) my code no longer compiles and gives me these weird errors:</p>
  
  <pre>
  /Users/teacher/drawingapp/Main/Source/PurchaseThemeOptionVC.m 
  1. /Users/teacher/drawingapp/Main/Source/PurchaseThemeOptionVC.m:52:1: current parser token '-'
  2. /Users/teacher/drawingapp/Main/Source/PurchaseThemeOptionVC.m:39:1: LLVM IR generation of declaration 'PurchaseThemeOptionVC::viewDidLoad'
  3. /Users/teacher/drawingapp/Main/Source/PurchaseThemeOptionVC.m:39:21: LLVM IR generation of compound statement ('{}')
  clang: error: unable to execute command: Segmentation fault
  clang: error: clang frontend command failed due to signal 2 (use -v to see invocation)
  </pre>
  
  <p>I've looked through the source file several times and I can't see anything wrong with it.</p>
  
  <p>What do these errors mean?</p>
  
  <ul>
  <li>current parser token '-'</li>
  <li>generation of declaration 'PurchaseThemeOptionVC::viewDidLoad'</li>
  <li>generation of compound statement ('{}')</li>
  </ul>