[gnome-builder/gnome-builder-3-26] clang: keep processing after include failures
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-26] clang: keep processing after include failures
- Date: Wed, 1 Nov 2017 19:24:45 +0000 (UTC)
commit 15fc045f32c92d6943ce8617b3e389a10b489136
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.
plugins/clang/ide-clang-service.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/clang/ide-clang-service.c b/plugins/clang/ide-clang-service.c
index 0988deb..cca34cc 100644
--- a/plugins/clang/ide-clang-service.c
+++ b/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]