mirror of
https://github.com/MaskRay/ccls.git
synced 2025-01-31 09:50:26 +00:00
Use --bundled-clang=5.0.1 by default (instead of 4.0.0)
This commit is contained in:
parent
f85659713e
commit
8592df7cf6
@ -113,7 +113,7 @@ void RunIndexTests(const std::string& filter_path) {
|
||||
|
||||
// Index tests change based on the version of clang used.
|
||||
static constexpr const char* kRequiredClangVersion =
|
||||
"clang version 4.0.0 (tags/RELEASE_400/final)";
|
||||
"clang version 5.0.1 (tags/RELEASE_501/final)";
|
||||
if (GetClangVersion() != kRequiredClangVersion) {
|
||||
std::cerr << "Index tests must be run using clang version \""
|
||||
<< kRequiredClangVersion << "\" (cquery is running with \""
|
||||
|
2
wscript
2
wscript
@ -80,7 +80,7 @@ def options(opt):
|
||||
help='enable use of clang from the system')
|
||||
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='4.0.0',
|
||||
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('--llvm-config', dest='llvm_config', default='llvm-config',
|
||||
help='specify path to llvm-config for automatic configuration [default: %default]')
|
||||
|
Loading…
Reference in New Issue
Block a user