[gnome-builder] clang: keep processing after include failures



commit fa266b10dad6803272604be185203db7d2339bac
Author: Christian Hergert <chergert redhat com>
Date:   Sun Oct 22 13:50:05 2017 -0700

    clang: keep processing after include failures
    
    This might be set by the default editing options, but we should
    set it anyway so that we are more likely to get past include
    failures.

 src/plugins/clang/ide-clang-service.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/clang/ide-clang-service.c b/src/plugins/clang/ide-clang-service.c
index eefd80b..90e9be0 100644
--- a/src/plugins/clang/ide-clang-service.c
+++ b/src/plugins/clang/ide-clang-service.c
@@ -500,7 +500,8 @@ ide_clang_service_get_translation_unit_worker (DzlTaskCache  *cache,
    * things go.
    */
   request->options = (clang_defaultEditingTranslationUnitOptions () |
-                      CXTranslationUnit_DetailedPreprocessingRecord);
+                      CXTranslationUnit_DetailedPreprocessingRecord |
+                      CXTranslationUnit_KeepGoing);
 
   real_task = g_task_new (self,
                           g_task_get_cancellable (task),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]