[PATCH] D20372: [include-fixer] Also look up prefixes of queries.
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Wed May 18 08:41:31 PDT 2016
bkramer created this revision.
bkramer added reviewers: hokein, ioeric.
bkramer added a subscriber: cfe-commits.
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.
http://reviews.llvm.org/D20372
Files:
include-fixer/SymbolIndexManager.cpp
unittests/include-fixer/IncludeFixerTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20372.57635.patch
Type: text/x-patch
Size: 5585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160518/8343efcf/attachment.bin>
More information about the cfe-commits
mailing list