This is an archive of the discontinued LLVM Phabricator instance.

Add an overload to ASTUnit::LoadFromASTFile that accepts a virtual file system.
AbandonedPublic

Authored by asoffer on Jun 1 2022, 12:16 PM.

Details

Reviewers
ymandel

Diff Detail

Event Timeline

asoffer created this revision.Jun 1 2022, 12:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 1 2022, 12:16 PM
asoffer requested review of this revision.Jun 1 2022, 12:16 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 1 2022, 12:16 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Why add an overload rather than adding it before UseDebugInfo and defaulting it to getRealFileSystem()?

To be clear, I'm fine with the change either way, just want to understand a bit better first.

asoffer updated this revision to Diff 433747.Jun 2 2022, 7:34 AM

Use default arguments instead of overloads.

asoffer abandoned this revision.Jun 2 2022, 7:36 AM

I don't know what happened here, but when I update a diff half my changes disappear. I'm going to recreate this in a new diff.