Commits

Ivan Vučica committed e1b58e3

A few #if HAVE_LIBCLANG checks, based on commit cf32f5c.

  • Participants
  • Parent commits 9b155ec

Comments (0)

Files changed (1)

File IDE/ZCTextEditorViewController.m

 
 @implementation ZCTextEditorViewController
 @synthesize textView;
+#if HAVE_LIBCLANG
 @synthesize codeCompletionIndex;
 @synthesize codeCompletionTranslationUnit;
+#endif
 -(void)loadView
 {
     [super loadView];
 #endif
 -(void)dealloc
 {
+#if HAVE_LIBCLANG
     clang_disposeIndex(self.codeCompletionIndex);
     clang_disposeTranslationUnit(self.codeCompletionTranslationUnit);
+#endif
     [super dealloc];
 }
 -(void)_loadFile