Improve the implementation of ClangUtils::getRawContents()
requested to merge thomassc/kdevelop:improved_implementation_of_ClangUtils_getRawContents into master
These are the changes from !60 (merged) which were not merged into 5.4, but should go into master instead:
- Simplify the implementation of ClangUtils::getRawContents() by using clang_getFileContents()
- New: Increase the libclang minimum version requirement accordingly (as a result,
CINDEX_VERSION_MINOR >= 45
) - New: Remove other code for older versions of libclang