diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-10-23 15:14:51 -0400 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-10-26 14:07:46 -0400 |
commit | 0387015d7549fc2c0cc8c45d3e78114cc4fd153f (patch) | |
tree | f15b558609962e45d08b6b90217a8c241e36a9df /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 89485efc2672f79d0acc0644830d0b9975068199 (diff) | |
download | llvm-0387015d7549fc2c0cc8c45d3e78114cc4fd153f.zip llvm-0387015d7549fc2c0cc8c45d3e78114cc4fd153f.tar.gz llvm-0387015d7549fc2c0cc8c45d3e78114cc4fd153f.tar.bz2 |
SourceManager: Return non-const references in getOrCreateContentCache and related, NFC
Update a few APIs to return non-const references instead of pointers,
and remove associated `const_cast`s and non-null assertions.
Differential Revision: https://reviews.llvm.org/D90067
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions