[gnome-builder] clang: add autolist/slist/queue types for highlighting



commit 0cadda5ced9e21f0b9e560bdb0ba37f60b84c225
Author: Christian Hergert <chergert redhat com>
Date:   Tue Nov 26 20:01:45 2019 -0800

    clang: add autolist/slist/queue types for highlighting

 src/plugins/clang/ide-clang.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/plugins/clang/ide-clang.c b/src/plugins/clang/ide-clang.c
index 05e38390f..bb5e642da 100644
--- a/src/plugins/clang/ide-clang.c
+++ b/src/plugins/clang/ide-clang.c
@@ -2122,6 +2122,9 @@ ide_clang_get_highlight_index_worker (IdeTask      *task,
   ide_highlight_index_insert (highlight, "TRUE", (gpointer)"c:boolean");
   ide_highlight_index_insert (highlight, "FALSE", (gpointer)"c:boolean");
   ide_highlight_index_insert (highlight, "g_autoptr", (gpointer)"c:storage-class");
+  ide_highlight_index_insert (highlight, "g_autolist", (gpointer)"c:storage-class");
+  ide_highlight_index_insert (highlight, "g_autoslist", (gpointer)"c:storage-class");
+  ide_highlight_index_insert (highlight, "g_autoqueue", (gpointer)"c:storage-class");
   ide_highlight_index_insert (highlight, "g_auto", (gpointer)"c:storage-class");
   ide_highlight_index_insert (highlight, "g_autofree", (gpointer)"c:storage-class");
 


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