[gnome-builder] clang: sync buffer before completion request
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] clang: sync buffer before completion request
- Date: Mon, 11 Jun 2018 08:09:48 +0000 (UTC)
commit df6b90c2c037b4f6b70ad5b76a43df9e6a118f96
Author: Christian Hergert <chergert redhat com>
Date: Mon Jun 11 01:08:52 2018 -0700
clang: sync buffer before completion request
src/plugins/clang/ide-clang-proposals.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/clang/ide-clang-proposals.c b/src/plugins/clang/ide-clang-proposals.c
index 2b734399d..8cb47221b 100644
--- a/src/plugins/clang/ide-clang-proposals.c
+++ b/src/plugins/clang/ide-clang-proposals.c
@@ -692,6 +692,7 @@ ide_clang_proposals_populate_async (IdeClangProposals *self,
query_client:
+ ide_buffer_sync_to_unsaved_files (IDE_BUFFER (buffer));
file = ide_buffer_get_file (IDE_BUFFER (buffer));
prev_cancellable = g_steal_pointer (&self->cancellable);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]