Function is_struct_reference

Function Documentation

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

Checks if a cursor references a struct (via DeclRefExpr, TypeRef, or MemberRefExpr).

Parameters:

cursor – The Clang cursor.

Returns:

True if the cursor references a struct, false otherwise.