llvm-project/clang/include/clang-c
Sam McCall 3d8051abb8 [CodeComplete] Add completions for filenames in #include directives.
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
2018-09-18 08:40:41 +00:00
..
BuildSystem.h Change \t to spaces 2018-07-20 08:19:20 +00:00
CXCompilationDatabase.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CXErrorCode.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
CXString.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
Documentation.h Remove \brief commands from doxygen comments. 2018-05-09 01:00:01 +00:00
Index.h [CodeComplete] Add completions for filenames in #include directives. 2018-09-18 08:40:41 +00:00
Platform.h
module.modulemap