Function is_struct_definition

Function Documentation

bool anonymous_namespace{parsing.cpp}::is_struct_definition (const CXCursor &cursor)

Checks if a cursor refers to a struct definition.

Parameters:

cursor – The Clang cursor.

Returns:

True if the cursor is a struct definition, false otherwise.