[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
Wed Oct 14 07:17:12 PDT 2020
dexonsmith updated this revision to Diff 298145.
dexonsmith added a comment.
Hah, and now I notice while working on a follow-up that `SourceManager::getBufferOrNone` was missing a `const`-qualifier (the use in this patch didn't need it). Fixed that too.
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.298145.patch
Type: text/x-patch
Size: 16732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201014/a0056fe0/attachment.bin>
More information about the cfe-commits
mailing list