[all-commits] [llvm/llvm-project] 54c1bc: clang/Basic: Stop using SourceManager::getBuffer, NFC
Duncan P. N. Exon Smith via All-commits
all-commits at lists.llvm.org
Wed Oct 14 19:43:43 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 54c1bcab90102481fe43b73f8547d47446ba2163
https://github.com/llvm/llvm-project/commit/54c1bcab90102481fe43b73f8547d47446ba2163
Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
Date: 2020-10-14 (Wed, 14 Oct 2020)
Changed paths:
M clang/include/clang/Basic/SourceManager.h
M clang/lib/Basic/Diagnostic.cpp
M clang/lib/Basic/SourceLocation.cpp
M clang/lib/Basic/SourceManager.cpp
Log Message:
-----------
clang/Basic: Stop using SourceManager::getBuffer, NFC
Update clang/lib/Basic to stop relying on a `MemoryBuffer*`, using the
`MemoryBufferRef` from `getBufferOrNone` or `getBufferOrFake` instead of
`getBuffer`.
Differential Revision: https://reviews.llvm.org/D89394
More information about the All-commits
mailing list