From 8592df7cf66a366eaac87b6253a8b6139ae39f4a Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 27 Dec 2017 19:31:42 -0800 Subject: [PATCH] Use --bundled-clang=5.0.1 by default (instead of 4.0.0) --- src/test.cc | 2 +- wscript | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test.cc b/src/test.cc index 80e24c01..e34aade8 100644 --- a/src/test.cc +++ b/src/test.cc @@ -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 \"" diff --git a/wscript b/wscript index 48b4d473..e6900bf2 100644 --- a/wscript +++ b/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]')