mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 07:35:08 +00:00
Upgrade to --bundled-clang=6.0.0
This commit is contained in:
parent
f9f8429c74
commit
ce6b7363c6
@ -306,7 +306,7 @@ bool RunIndexTests(const std::string& filter_path, bool enable_update) {
|
||||
|
||||
// Index tests change based on the version of clang used.
|
||||
static constexpr const char* kRequiredClangVersion =
|
||||
"clang version 5.0.1 (tags/RELEASE_501/final)";
|
||||
"clang version 6.0.0 (tags/RELEASE_600/final)";
|
||||
if (GetClangVersion() != kRequiredClangVersion &&
|
||||
GetClangVersion().find("trunk") == std::string::npos) {
|
||||
std::cerr << "Index tests must be run using clang version \""
|
||||
|
4
wscript
4
wscript
@ -86,8 +86,8 @@ def options(opt):
|
||||
grp.add_option('--enable-assert', action='store_true')
|
||||
grp.add_option('--use-clang-cxx', dest='use_clang_cxx', default=False, action='store_true',
|
||||
help='use clang C++ API')
|
||||
grp.add_option('--bundled-clang', dest='bundled_clang', default='5.0.1',
|
||||
help='bundled clang version, downloaded from https://releases.llvm.org/ , e.g. 4.0.0 5.0.1')
|
||||
grp.add_option('--bundled-clang', dest='bundled_clang', default='6.0.0',
|
||||
help='bundled clang version, downloaded from https://releases.llvm.org/ , e.g. 5.0.1 6.0.0')
|
||||
grp.add_option('--llvm-config', dest='llvm_config',
|
||||
help='path to llvm-config to use system libclang, e.g. llvm-config llvm-config-6.0')
|
||||
grp.add_option('--clang-prefix', dest='clang_prefix',
|
||||
|
Loading…
Reference in New Issue
Block a user