We have CentOS machines where
histedit.h is not installed in a standard location. But completion and history provided by LineEditor are very useful features in
clang-query and so I always build clang tools with
LLVM_ENABLE_LIBEDIT=ON with the location of
histedit.h specified via
However, the above will not work out of the box. Other changes in
llvm/lib/LineEditor/CMakeLists.txt are required.
If there is interest, I can submit a patch on Phabricator. Please let me know. I don’t want to waste any effort if this doesn’t seem like a useful thing to the community.