This is an archive of the discontinued LLVM Phabricator instance.

clang/Frontend: Mostly stop using SourceManager::getBuffer, NFC
ClosedPublic

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

Details

Summary

Update clang/lib/Frontend to use a MemoryBufferRef from
getBufferOrFake instead of MemoryBuffer* from getBuffer, with the
exception of FrontendInputFile, which I'm leaving for later.

Diff Detail