This is an archive of the discontinued LLVM Phabricator instance.

[include-fixer] Also look up prefixes of queries.
ClosedPublic

Authored by bkramer on May 18 2016, 8:41 AM.

Details

Summary

This is used to find nested classes. For a nested name foo::bar::qux we
will first look up foo::bar::qux, then foo::bar, then foo unless we find
a result. This is used to support nested classes which are not part of
the index but can only be used if the header for the parent context is
included.

Diff Detail

Repository
rL LLVM

Event Timeline

bkramer updated this revision to Diff 57635.May 18 2016, 8:41 AM
bkramer retitled this revision from to [include-fixer] Also look up prefixes of queries..
bkramer updated this object.
bkramer added reviewers: hokein, ioeric.
bkramer added a subscriber: cfe-commits.
hokein accepted this revision.May 18 2016, 9:40 AM
hokein edited edge metadata.

LGTM.

This revision is now accepted and ready to land.May 18 2016, 9:40 AM
This revision was automatically updated to reflect the committed changes.