This is an archive of the discontinued LLVM Phabricator instance.

clang/CodeGen: Stop using SourceManager::getBuffer, NFC
ClosedPublic

Authored by dexonsmith on Oct 14 2020, 10:51 AM.

Details

Summary

Update clang/lib/CodeGen to use a MemoryBufferRef from getBufferOrNone instead of MemoryBuffer* from getBuffer. No functionality change here.

Diff Detail

Event Timeline

dexonsmith created this revision.Oct 14 2020, 10:51 AM
dexonsmith requested review of this revision.Oct 14 2020, 10:51 AM
dexonsmith retitled this revision from clang/CodeGen: Mostly stop using SourceManager::getBuffer, NFC to clang/CodeGen: Stop using SourceManager::getBuffer, NFC.Oct 14 2020, 10:55 AM
arphaman accepted this revision.Oct 14 2020, 6:37 PM
This revision is now accepted and ready to land.Oct 14 2020, 6:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 14 2020, 8:58 PM