Increase Clang requirement to 8.0.0 in the docs

This commit is contained in:
micbou 2019-04-27 22:01:33 +02:00
parent 8b07bd14b8
commit 2708c6210a
No known key found for this signature in database
GPG Key ID: C7E8FD1F3BDA1E05
2 changed files with 8 additions and 8 deletions

View File

@ -593,16 +593,16 @@ process.
**Download the latest version of `libclang`**. Clang is an open-source
compiler that can compile C-family languages. The `libclang` library it
provides is used to power the YCM semantic completion engine for those
languages. YCM is designed to work with libclang version 7.0.0 or higher.
languages. YCM is designed to work with libclang version 8.0.0 or higher.
In addition to `libclang`, YCM also supports an **experimental**
[clangd][]-based completer. You can download the latest version of
[clangd][] from [llvm.org releases][clang-download]. Follow Step 4 to learn
how to tell YCM where to find clangd binary. Please note that YCM is
designed to work with [clangd][] version 7.0.0 or higher.
designed to work with [clangd][] version 8.0.0 or higher.
You can use the system libclang or clangd _only if you are sure it is
version 7.0.0 or higher_, otherwise don't. Even if it is, we recommend using
version 8.0.0 or higher_, otherwise don't. Even if it is, we recommend using
the [official binaries from llvm.org][clang-download] if at all possible.
Make sure you download the correct archive file for your OS.
@ -3237,7 +3237,7 @@ to go through the full installation guide by hand.
### I see `undefined symbol: clang_getCompletionFixIt` in the server logs.
This means that the server is trying to load a version of libclang that is too
old. You need at least libclang 7.0.0. We recommend running the `install.py`
old. You need at least libclang 8.0.0. We recommend running the `install.py`
script without `--system-libclang` or downloading the [latest prebuilt binaries
from llvm.org][clang-download] when going through the [full installation
guide](#full-installation-guide).

View File

@ -807,16 +807,16 @@ will notify you to recompile it. You should then rerun the install process.
**Download the latest version of 'libclang'**. Clang is an open-source
compiler that can compile C-family languages. The 'libclang' library it
provides is used to power the YCM semantic completion engine for those
languages. YCM is designed to work with libclang version 7.0.0 or higher.
languages. YCM is designed to work with libclang version 8.0.0 or higher.
In addition to 'libclang', YCM also supports an **experimental** clangd
[12]-based completer. You can download the latest version of clangd [12]
from llvm.org releases [41]. Follow Step 4 to learn how to tell YCM where
to find clangd binary. Please note that YCM is designed to work with
clangd [12] version 7.0.0 or higher.
clangd [12] version 8.0.0 or higher.
You can use the system libclang or clangd _only if you are sure it is
version 7.0.0 or higher_, otherwise don't. Even if it is, we recommend
version 8.0.0 or higher_, otherwise don't. Even if it is, we recommend
using the official binaries from llvm.org [41] if at all possible. Make
sure you download the correct archive file for your OS.
@ -3467,7 +3467,7 @@ to go through the full installation guide by hand.
I see 'undefined symbol: clang_getCompletionFixIt' in the server logs. ~
This means that the server is trying to load a version of libclang that is too
old. You need at least libclang 7.0.0. We recommend running the 'install.py'
old. You need at least libclang 8.0.0. We recommend running the 'install.py'
script without '--system-libclang' or downloading the latest prebuilt binaries
from llvm.org [41] when going through the full installation guide.