[all-commits] [llvm/llvm-project] 5431c3: SourceManager: Make LastLineNoContentCache and Con...
Duncan P. N. Exon Smith via All-commits
all-commits at lists.llvm.org
Fri Oct 23 10:23:07 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5431c37b55e2c2952b6b56c9690bd1ce05b23c7e
https://github.com/llvm/llvm-project/commit/5431c37b55e2c2952b6b56c9690bd1ce05b23c7e
Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
Date: 2020-10-23 (Fri, 23 Oct 2020)
Changed paths:
M clang/include/clang/Basic/SourceManager.h
M clang/lib/Basic/SourceManager.cpp
M clang/lib/Lex/ScratchBuffer.cpp
Log Message:
-----------
SourceManager: Make LastLineNoContentCache and ContentCache::SourceLineCache mutable, NFC
Avoid some noisy `const_cast`s by making `ContentCache::SourceLineCache`
and `SourceManager::LastLineNoContentCache` both mutable.
Differential Revision: https://reviews.llvm.org/D89914
More information about the All-commits
mailing list