CXSymbolRole

Roles that are attributed to symbol occurrences.

Internal: this currently mirrors low 9 bits of clang::index::SymbolRole with higher bits zeroed. These high bits may be exposed in the future.

Values

ValueMeaning
CXSymbolRole_None0
CXSymbolRole_Declaration1 << 0
CXSymbolRole_Definition1 << 1
CXSymbolRole_Reference1 << 2
CXSymbolRole_Read1 << 3
CXSymbolRole_Write1 << 4
CXSymbolRole_Call1 << 5
CXSymbolRole_Dynamic1 << 6
CXSymbolRole_AddressOf1 << 7
CXSymbolRole_Implicit1 << 8

Meta