[PATCH] D91297: Frontend: Take VFS and MainFileBuffer by reference in PrecompiledPreamble::CanReuse, NFC
    Duncan P. N. Exon Smith via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Wed Nov 11 13:26:32 PST 2020
    
    
  
dexonsmith created this revision.
dexonsmith added reviewers: JDevlieghere, arphaman, jansvoboda11.
Herald added subscribers: usaxena95, ributzka, kadircet.
dexonsmith requested review of this revision.
Clarify that `PrecompiledPreamble::CanReuse` requires non-null arguments
for `VFS` and `MainFileBuffer`, taking them by reference instead of by
pointer.
https://reviews.llvm.org/D91297
Files:
  clang-tools-extra/clangd/Preamble.cpp
  clang/include/clang/Frontend/PrecompiledPreamble.h
  clang/lib/Frontend/ASTUnit.cpp
  clang/lib/Frontend/PrecompiledPreamble.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91297.304635.patch
Type: text/x-patch
Size: 5551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201111/161e93a4/attachment.bin>
    
    
More information about the cfe-commits
mailing list