Commit d2798f8c authored by Christian Hergert's avatar Christian Hergert
Browse files

clang: use short name for symbol

Having the full spelling was getting really distracting.
parent 57acc177
......@@ -1280,7 +1280,7 @@ ide_clang_translation_unit_find_nearest_scope (IdeClangTranslationUnit *self,
}
symbol_location = ide_source_location_new (ifile, line - 1, line_offset - 1, 0);
cxname = clang_getCursorDisplayName (cursor);
cxname = clang_getCursorSpelling (cursor);
symkind = get_symbol_kind (cursor, &symflags);
ret = ide_symbol_new (clang_getCString (cxname),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment