diff --git a/src/test.cc b/src/test.cc index ebd1344d..429da329 100644 --- a/src/test.cc +++ b/src/test.cc @@ -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 \"" diff --git a/wscript b/wscript index 748097c1..fa6c0f76 100644 --- a/wscript +++ b/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',