[PATCH] D46862: [libclang] Optionally add code completion results for arrow instead of dot

Nikolai Kosjar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 13 03:05:45 PDT 2018


nik added inline comments.


================
Comment at: include/clang-c/Index.h:5302
+    CXCodeCompleteResults *results, unsigned completion_index,
+    unsigned fixit_index, CXSourceRange *replacement_range);
+
----------------
Please document the parameters. It's more important here than for any other function that was introduced.


================
Comment at: include/clang-c/Index.h:5338
+  /**
+   * Whether to include completion items with small
+   * fix-its, e.g. change '.' to '->' on member access, etc.
----------------
s/completion items/completions/g


https://reviews.llvm.org/D46862





More information about the cfe-commits mailing list