This is an archive of the discontinued LLVM Phabricator instance.

Tooling: Migrate some tests to FileEntryRef, NFC
ClosedPublic

Authored by dexonsmith on Dec 9 2020, 1:34 PM.

Details

Summary

Migrate to the FileEntryRef overload of SourceManager::createFileID
(using FileManager::getOptionalFileRef) in RefactoringTest.cpp and
RewriterTestContext.h.

No functionality change.

Diff Detail

Event Timeline

dexonsmith created this revision.Dec 9 2020, 1:34 PM
dexonsmith requested review of this revision.Dec 9 2020, 1:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 9 2020, 1:34 PM
dexonsmith updated this revision to Diff 310702.Dec 9 2020, 4:00 PM
dexonsmith retitled this revision from Tooling: Migrate RewriterTestContext to FileEntryRef, NFC to Tooling: Migrate some tests to FileEntryRef, NFC.
dexonsmith edited the summary of this revision. (Show Details)

Found another Tooling test that needed an update; adding it to this patch.

This revision is now accepted and ready to land.Dec 10 2020, 7:03 AM
This revision was automatically updated to reflect the committed changes.