This is an archive of the discontinued LLVM Phabricator instance.

[libclang] Add function to get the buffer for a file
ClosedPublic

Authored by erikjv on Nov 30 2017, 2:13 AM.

Details

Summary

This can be used by clients in conjunction with an offset returned by
e.g. clang_getFileLocation. Now those clients do not need to also
open/read the file.

Diff Detail

Repository
rL LLVM

Event Timeline

erikjv created this revision.Nov 30 2017, 2:13 AM
erikjv updated this revision to Diff 124904.Nov 30 2017, 3:32 AM

Bumped the CINDEX_VERSION_MINOR.

This revision is now accepted and ready to land.Nov 30 2017, 6:20 AM
This revision was automatically updated to reflect the committed changes.