Update clang-tools-extra, clang/tools, clang/unittests to migrate from
SourceManager::getBuffer, which returns an always dereferenceable
MemoryBuffer*, to getBufferOrNone or getBufferOrFake, both of
which return a MemoryBufferRef, depending on whether the call site was
checking for validity of the buffer. No functionality change intended.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Removed the now-unused Invalid local variable from the libclang change; not sure how I missed the warning before.