This package provides a
completion-at-point function to complete C/C++
code using clang, offering context-base suggestions for functions,
variables and types without having to save the buffer.
clang-capf doesn't require anything to be installed besides
clang as an external component, a better looking completion
front-end in Emacs, such as ivy might be worth recommending.
(setup (:package clang-capf) (:with-mode cc-mode (:local-hook completion-at-point-functions #'clang-capf)))
This will let
completion-at-point know that it should try
clang-capf first when looking for completions, in
Also make sure that
In vanilla Emacs:
()for functions or
Any further bugs or questions can be submitted to my public inbox.
clang-capf.el is distributed under the CC0 1.0 Universal (CC0 1.0)
Public Domain Dedication license.