Avoid requiring an actual MemoryBuffer in ComputePreambleBounds, when a MemoryBufferRef will do just fine.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D90890
Frontend: Change ComputePreambleBounds to take MemoryBufferRef, NFC ClosedPublic Authored by dexonsmith on Nov 5 2020, 2:32 PM.
Details Summary Avoid requiring an actual MemoryBuffer in ComputePreambleBounds, when a MemoryBufferRef will do just fine.
Diff Detail
Event TimelineHerald added subscribers: usaxena95, ributzka, kadircet. · View Herald TranscriptNov 5 2020, 2:32 PM This revision is now accepted and ready to land.Nov 10 2020, 8:39 AM Closed by commit rG4c55c3b66dea: Frontend: Change ComputePreambleBounds to take MemoryBufferRef, NFC (authored by dexonsmith). · Explain WhyNov 11 2020, 2:20 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 304655 clang-tools-extra/clangd/CodeComplete.cpp
clang-tools-extra/clangd/Preamble.cpp
clang/include/clang/Frontend/PrecompiledPreamble.h
clang/lib/Frontend/ASTUnit.cpp
clang/lib/Frontend/PrecompiledPreamble.cpp
|