This is an archive of the discontinued LLVM Phabricator instance.

Allow interfaces to operate on in-memory buffers with no source location info.
AbandonedPublic

Authored by tapaswenipathak on May 23 2022, 9:20 PM.

Details

Reviewers
v.g.vassilev
Summary

Allow interfaces to operate on in-memory buffers with no source location info.

This patch avoid an assert PresumedLoc::getFilename if it is invalid.

Add unittests for allowing interface to operate on in-memory buffers with no
source location info.

Co-authored-by: Vassil Vassilev <vvasilev@cern.ch>

Diff Detail