[gnome-builder/wip/libide] libide: use clang options optimized for editing files
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/libide] libide: use clang options optimized for editing files
- Date: Mon, 2 Mar 2015 07:38:38 +0000 (UTC)
commit 35aa5a0cd73f72e7df988b174f4253550a8a4537
Author: Christian Hergert <christian hergert me>
Date: Sun Mar 1 23:36:57 2015 -0800
libide: use clang options optimized for editing files
We still need to come up with a strategy that allows us to use
clang_reparseTranslationUnit() though.
libide/clang/ide-clang-service.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/clang/ide-clang-service.c b/libide/clang/ide-clang-service.c
index 847dce2..e291d86 100644
--- a/libide/clang/ide-clang-service.c
+++ b/libide/clang/ide-clang-service.c
@@ -270,7 +270,7 @@ ide_clang_service_get_translation_unit_async (IdeClangService *self,
request->command_line_args = NULL;
request->unsaved_files = ide_unsaved_files_get_unsaved_files (unsaved_files);
request->sequence = ide_unsaved_files_get_sequence (unsaved_files);
- request->options = 0;
+ request->options = clang_defaultEditingTranslationUnitOptions ();
g_task_set_task_data (task, request, parse_request_free);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]