[PATCH] D42893: [libclang] Add clang_File_tryGetRealPathName

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 6 16:54:00 PDT 2018


MaskRay added a comment.

There is no unittest but I have verified with a C++ language server on Arch Linux. Without using this function, cquery/ccls will not be able to index system header files because of excessive .. in the path returned by clang_getFileName.


Repository:
  rC Clang

https://reviews.llvm.org/D42893





More information about the cfe-commits mailing list