Function is_struct_declaration

Function Documentation

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

Checks if a cursor refers to a struct declaration (not a definition).

Parameters:

cursor – The Clang cursor.

Returns:

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