mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-25 06:40:18 +00:00
3ac550984e
enums and structs declared inside typedefs have incorrect declaration fragments, where the typedef keyword and other syntax is missing. For the following struct: typedef struct Test { int hello; } Test; The produced declaration is: "declarationFragments": [ { "kind": "keyword", "spelling": "struct" }, { "kind": "text", "spelling": " " }, { "kind": "identifier", "spelling": "Test" } ], instead the declaration fragments should represent the following typedef struct Test { … } Test; This patch removes the condition in SymbolGraphSerializer.cpp file and completes declaration fragments Reviewed By: dang Differential Revision: https://reviews.llvm.org/D146385 |
||
---|---|---|
.. | ||
anonymous_record_no_typedef.c | ||
availability.c | ||
enum.c | ||
global_record_multifile.c | ||
global_record.c | ||
ignored-symbols-multifile.c | ||
ignored-symbols.c | ||
known_files_only.c | ||
language.c | ||
macro_undefined.c | ||
macros.c | ||
objc_category.m | ||
objc_id_protocol.m | ||
objc_instancetype.m | ||
objc_interface.m | ||
objc_property.m | ||
objc_protocol.m | ||
relative_include.m | ||
struct.c | ||
typedef_anonymous_record.c | ||
typedef_chain.c | ||
typedef_struct_enum.c | ||
typedef.c | ||
underscored.c |