summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeCompletion/included-files.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [CodeComplete] #include completion treats -I as non-system (require ↵Sam McCall2018-10-011-4/+10
| | | | | | header-like extension). llvm-svn: 343457
* [CodeComplete] Add completions for filenames in #include directives.Sam McCall2018-09-181-0/+29
Summary: The dir component ("somedir" in #include <somedir/fo...>) is considered fixed. We append "foo" to each directory on the include path, and then list its files. Completions are of the forms: #include <somedir/fo^ foo.h> fox/ The filter is set to the filename part ("fo"), so fuzzy matching can be applied to the filename only. No fancy scoring/priorities are set, and no information is added to CodeCompleteResult to make smart scoring possible. Could be in future. Reviewers: ilya-biryukov Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D52076 llvm-svn: 342449
OpenPOWER on IntegriCloud