summaryrefslogtreecommitdiffstats
path: root/clang/include/clang-c
diff options
context:
space:
mode:
authorFrancisco Lopes da Silva <oblita@gmail.com>2015-01-21 16:24:11 +0000
committerFrancisco Lopes da Silva <oblita@gmail.com>2015-01-21 16:24:11 +0000
commit975a9f6ecea606c2af7b16f489893958badcad30 (patch)
treee7d6242fab5855cb423c0b825770f55b39fe5e44 /clang/include/clang-c
parent3f02c14cc742180a27f5c99a998e3c5d1ac2f6c8 (diff)
downloadbcm5719-llvm-975a9f6ecea606c2af7b16f489893958badcad30.tar.gz
bcm5719-llvm-975a9f6ecea606c2af7b16f489893958badcad30.zip
Initial support for C++ parameter completion
The improved completion in call context now works with: - Functions. - Member functions. - Constructors. - New expressions. - Function call expressions. - Template variants of the previous. There are still rough edges to be fixed: - Provide support for optional parameters. (fix known) - Provide support for member initializers. (fix known) - Provide support for variadic template functions. (fix unknown) - Others? llvm-svn: 226670
Diffstat (limited to 'clang/include/clang-c')
-rw-r--r--clang/include/clang-c/Index.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/clang/include/clang-c/Index.h b/clang/include/clang-c/Index.h
index ed7bd169f6f..925d0bfd092 100644
--- a/clang/include/clang-c/Index.h
+++ b/clang/include/clang-c/Index.h
@@ -2276,7 +2276,12 @@ enum CXCursorKind {
*/
CXCursor_ModuleImportDecl = 600,
CXCursor_FirstExtraDecl = CXCursor_ModuleImportDecl,
- CXCursor_LastExtraDecl = CXCursor_ModuleImportDecl
+ CXCursor_LastExtraDecl = CXCursor_ModuleImportDecl,
+
+ /**
+ * \brief A code completion overload candidate.
+ */
+ CXCursor_OverloadCandidate = 700
};
/**
OpenPOWER on IntegriCloud