Auto merge of #2445 - micbou:documentation-clang-3.9, r=puremourning

[READY] Bump Clang version in documentation

Since PR https://github.com/Valloric/ycmd/pull/590, Clang 3.9 is required because of the `KeepGoing` option. In fact, it is still possible to successfully compile against a 3.8 system libclang or with the `-DEXTERNAL_LIBCLANG_PATH` flag pointing to a 3.8 libclang since [the headers included in ycmd](https://github.com/Valloric/ycmd/tree/master/cpp/llvm/include/clang-c) are used in these two cases. However, the `KeepGoing` option will have no effect. So, we still recommend Clang 3.9 in all cases.

Closes https://github.com/Valloric/ycmd/issues/654.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2445)
<!-- Reviewable:end -->
This commit is contained in:
Homu 2016-11-22 18:19:09 +09:00
commit 8c39a0d5c5
2 changed files with 6 additions and 6 deletions

View File

@ -527,10 +527,10 @@ process.
**Download the latest version of `libclang`**. Clang is an open-source **Download the latest version of `libclang`**. Clang is an open-source
compiler that can compile C/C++/Objective-C/Objective-C++. The `libclang` compiler that can compile C/C++/Objective-C/Objective-C++. The `libclang`
library it provides is used to power the YCM semantic completion engine for library it provides is used to power the YCM semantic completion engine for
those languages. YCM is designed to work with libclang version 3.8 or those languages. YCM is designed to work with libclang version 3.9 or
higher. higher.
You can use the system libclang _only if you are sure it is version 3.8 or You can use the system libclang _only if you are sure it is version 3.9 or
higher_, otherwise don't. Even if it is, we recommend using the [official 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 binaries from llvm.org][clang-download] if at all possible. Make sure you
download the correct archive file for your OS. download the correct archive file for your OS.
@ -2621,7 +2621,7 @@ undefined symbol: clang_CompileCommands_dispose
``` ```
This means that Vim is trying to load a `libclang.so` that is too old. You need This means that Vim is trying to load a `libclang.so` that is too old. You need
at least a 3.8 libclang. Just go through the installation guide and make sure at least a 3.9 libclang. Just go through the installation guide and make sure
you are using a correct `libclang.so`. We recommend downloading prebuilt you are using a correct `libclang.so`. We recommend downloading prebuilt
binaries from llvm.org. binaries from llvm.org.

View File

@ -743,10 +743,10 @@ will notify you to recompile it. You should then rerun the install process.
**Download the latest version of 'libclang'**. Clang is an open-source **Download the latest version of 'libclang'**. Clang is an open-source
compiler that can compile C/C++/Objective-C/Objective-C++. The 'libclang' compiler that can compile C/C++/Objective-C/Objective-C++. The 'libclang'
library it provides is used to power the YCM semantic completion engine library it provides is used to power the YCM semantic completion engine
for those languages. YCM is designed to work with libclang version 3.8 or for those languages. YCM is designed to work with libclang version 3.9 or
higher. higher.
You can use the system libclang _only if you are sure it is version 3.8 You can use the system libclang _only if you are sure it is version 3.9
or higher_, otherwise don't. Even if it is, we recommend using the or higher_, otherwise don't. Even if it is, we recommend using the
official binaries from llvm.org [40] if at all possible. Make sure you official binaries from llvm.org [40] if at all possible. Make sure you
download the correct archive file for your OS. download the correct archive file for your OS.
@ -2870,7 +2870,7 @@ crashes:
undefined symbol: clang_CompileCommands_dispose undefined symbol: clang_CompileCommands_dispose
< <
This means that Vim is trying to load a 'libclang.so' that is too old. You need This means that Vim is trying to load a 'libclang.so' that is too old. You need
at least a 3.8 libclang. Just go through the installation guide and make sure at least a 3.9 libclang. Just go through the installation guide and make sure
you are using a correct 'libclang.so'. We recommend downloading prebuilt you are using a correct 'libclang.so'. We recommend downloading prebuilt
binaries from llvm.org. binaries from llvm.org.