aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2020-10-14 12:58:19 -0400
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2020-10-19 17:02:59 -0400
commit0ddf4bd47c18a4608b67fdda537f575c4c7a0a52 (patch)
tree367fb7cf6fdb3f96e8ce8739e47c0c28ac188097 /clang/lib/Frontend/CompilerInvocation.cpp
parent188a7d671019247932b7242c7794960ca1986b5a (diff)
downloadllvm-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