HomePhabricator

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

Description

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

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.

Differential Revision: https://reviews.llvm.org/D40643

Details

Committed
erikjvDec 6 2017, 1:02 AM
Differential Revision
D40643: [libclang] Add function to get the buffer for a file
Branches
Unknown
Tags
Unknown