This patch renames DW_ACCESS_to_AccessType function and move it to the abstract DWARFASTParser, since there is no clang-specific code there. This is useful for plugins other than Clang.
This makes sense to me. Out of curiosity, do you have plans to use this for non-clang-based languages?
Yes. I'm currently working on a D language plugin. You can see my fork, until I upstream it https://github.com/ljmf00/lldb-d .