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
none0
declaration1 << 0
definition1 << 1
reference1 << 2
read1 << 3
write1 << 4
call1 << 5
dynamic1 << 6
addressOf1 << 7
implicit1 << 8

Meta