[gnome-builder] clang: highlight C++ class names



commit fd68014e6be676f8b935502a9c013b7c875b7377
Author: Christian Hergert <chergert redhat com>
Date:   Fri Apr 15 02:05:21 2016 -0700

    clang: highlight C++ class names

 plugins/clang/ide-clang-service.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/clang/ide-clang-service.c b/plugins/clang/ide-clang-service.c
index 173833b..286c288 100644
--- a/plugins/clang/ide-clang-service.c
+++ b/plugins/clang/ide-clang-service.c
@@ -104,6 +104,8 @@ ide_clang_service_build_index_visitor (CXCursor     cursor,
     {
     case CXCursor_TypedefDecl:
     case CXCursor_TypeAliasDecl:
+    case CXCursor_StructDecl:
+    case CXCursor_ClassDecl:
       style_name = IDE_CLANG_HIGHLIGHTER_TYPE;
       break;
 


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