[cfe-dev] RFC: Improving Clang's FileManager
Harlan Haskins via cfe-dev
cfe-dev at lists.llvm.org
Wed Jul 31 13:34:19 PDT 2019
> Additionally to fixing the issue described above, Harlan (CCed) and I would like to also perform the following minor cleanups and improvements:
> - Start using error_code/ErrorOr for FileManager for improved API.
As a first step of this refactor, I’ve posted a patch that changes FileManager::getFile and FileManager::getDirectory to use llvm::ErrorOr.
It’s a big patch, but the bulk of the changes are updating clients throughout clang, lldb, and clang-tools-extra.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev