This is an archive of the discontinued LLVM Phabricator instance.

SourceManager: Return non-const references in getOrCreateContentCache and related, NFC
ClosedPublic

Authored by dexonsmith on Oct 23 2020, 12:21 PM.

Details

Summary

Update a few APIs to return non-const references instead of pointers,
and remove associated const_casts and non-null assertions.

Diff Detail