[gnome-builder] clang: add CXXMethod and namespace to symbol tree



commit e75ea5af82766c45d7929e6dd7b2449cf62eeb95
Author: Christian Hergert <chergert redhat com>
Date:   Sun Mar 12 00:47:24 2017 -0800

    clang: add CXXMethod and namespace to symbol tree
    
    https://bugzilla.gnome.org/show_bug.cgi?id=779797

 plugins/clang/ide-clang-symbol-tree.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/clang/ide-clang-symbol-tree.c b/plugins/clang/ide-clang-symbol-tree.c
index ad69abf..662daff 100644
--- a/plugins/clang/ide-clang-symbol-tree.c
+++ b/plugins/clang/ide-clang-symbol-tree.c
@@ -101,10 +101,12 @@ cursor_is_recognized (TraversalState *state,
      */
 
     case CXCursor_ClassDecl:
+    case CXCursor_CXXMethod:
     case CXCursor_EnumConstantDecl:
     case CXCursor_EnumDecl:
     case CXCursor_FieldDecl:
     case CXCursor_FunctionDecl:
+    case CXCursor_Namespace:
     case CXCursor_StructDecl:
     case CXCursor_TypedefDecl:
     case CXCursor_UnionDecl:


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