This is an archive of the discontinued LLVM Phabricator instance.

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 Timeline

dexonsmith created this revision.Nov 5 2020, 2:32 PM
dexonsmith requested review of this revision.Nov 5 2020, 2:32 PM

Missed a couple of calls from clang-tools-extra. Fixed those.

This revision is now accepted and ready to land.Nov 10 2020, 8:39 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 11 2020, 2:20 PM