Function type_declaration_from_cursor

Function Documentation

Symbol anonymous_namespace{parsing.cpp}::type_declaration_from_cursor (const CXCursor &cursor)

Creates a Symbol representing either a type declaration or definition from the cursor.

Parameters:

cursor – The Clang cursor.

Returns:

The Symbol representing the type.