[PATCH] D66705: FileManager: Use llvm::Expected in new getFileRef API

Duncan P. N. Exon Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 24 12:12:05 PDT 2019


dexonsmith updated this revision to Diff 217025.
dexonsmith marked an inline comment as done.
dexonsmith edited the summary of this revision.
dexonsmith added a comment.

Also update `FileEntryRef` to be copy- and move-assignable so that `Optional<FileEntryRef>` can be assigned to.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66705/new/

https://reviews.llvm.org/D66705

Files:
  clang/include/clang/Basic/FileManager.h
  clang/lib/Basic/FileManager.cpp
  clang/lib/Frontend/CompilerInstance.cpp
  clang/lib/Lex/HeaderMap.cpp
  clang/lib/Lex/HeaderSearch.cpp
  llvm/include/llvm/Support/Error.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66705.217025.patch
Type: text/x-patch
Size: 8320 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190824/9823d420/attachment.bin>


More information about the cfe-commits mailing list