https://bugs.kde.org/show_bug.cgi?id=409041
Milian Wolff <m...@milianw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/kde/ |https://invent.kde.org/kde/ |kdevelop/commit/d1f58562046 |kdevelop/commit/a6df33cf7cd |494b78e17c50c2fdab5c2800d9a |7463f146b724606bf4add169bad |af |b8 --- Comment #5 from Milian Wolff <m...@milianw.de> --- Git commit a6df33cf7cd7463f146b724606bf4add169badb8 by Milian Wolff. Committed on 21/09/2019 at 12:27. Pushed by mwolff into branch '5.4'. Use type name as fallback ID for anon typedef'ed structs/unions etc. The cursor pointing to the struct within `typedef struct {...} foo;` has an empty cursor spelling, but its type spelling is set to `foo`. This is ideal to disambiguate between different structs. Without that, we would end up associating uses of different cursors to the first declaration with an empty name. Now that we set a proper non-empty name, we can correctly disambiguate and associate the uses correctly. M +8 -1 plugins/clang/duchain/builder.cpp A +42 -0 plugins/clang/tests/files/uses.c [License: UNKNOWN] * The files marked with a * at the end have a non valid license. Please read: https://community.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page. https://invent.kde.org/kde/kdevelop/commit/a6df33cf7cd7463f146b724606bf4add169badb8 -- You are receiving this mail because: You are watching all bug changes.