diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-10-14 12:58:19 -0400 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-10-19 17:02:59 -0400 |
commit | 0ddf4bd47c18a4608b67fdda537f575c4c7a0a52 (patch) | |
tree | 367fb7cf6fdb3f96e8ce8739e47c0c28ac188097 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 188a7d671019247932b7242c7794960ca1986b5a (diff) | |
download | llvm-0ddf4bd47c18a4608b67fdda537f575c4c7a0a52.zip llvm-0ddf4bd47c18a4608b67fdda537f575c4c7a0a52.tar.gz llvm-0ddf4bd47c18a4608b67fdda537f575c4c7a0a52.tar.bz2 |
clang/{Format,Rewrite}: Stop using SourceManager::getBuffer, NFC
Update clang/lib/Format and clang/lib/Rewrite to use a `MemoryBufferRef`
from `getBufferOrFake` instead of `MemoryBuffer*` from `getBuffer`.
No functionality change here, since the call sites weren't checking if
the buffer was valid.
Differential Revision: https://reviews.llvm.org/D89406
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions