This is an archive of the discontinued LLVM Phabricator instance.

[libclang] Get rid of relience on SourceManager member signature
ClosedPublic

Authored by kadircet on Jun 25 2020, 2:02 AM.

Details

Summary

Libclang was enforcing a singature on SourceManager::getLocalSLocEntry
which isn't possible to satisfy as pointed out in
https://reviews.llvm.org/D80681#inline-751438.

This patch updates the libclang, hopefully without breaking API stability, to
not rely on member signature. To enable changing the signature in D82498.

Diff Detail

Event Timeline

kadircet created this revision.Jun 25 2020, 2:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 25 2020, 2:02 AM
sammccall accepted this revision.Jun 25 2020, 2:10 AM

Regardless of the outcome on the other patch, I like this code better.

This revision is now accepted and ready to land.Jun 25 2020, 2:10 AM
This revision was automatically updated to reflect the committed changes.