[PATCH] D89348: clang/Basic: Replace ContentCache::getBuffer with Optional semantics

Duncan P. N. Exon Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 13 16:11:28 PDT 2020


dexonsmith updated this revision to Diff 297987.
dexonsmith added a comment.

Fixed a bug where `Invalid` was only set when it was `true`.


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

https://reviews.llvm.org/D89348

Files:
  clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
  clang/include/clang/Basic/SourceManager.h
  clang/lib/AST/ASTImporter.cpp
  clang/lib/Basic/SourceManager.cpp
  clang/lib/Serialization/ASTWriter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89348.297987.patch
Type: text/x-patch
Size: 16940 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201013/7ac7e0bf/attachment.bin>


More information about the cfe-commits mailing list