Improve failure message when usable libclang is not found

Change-Id: Id541206c6b284be7a1068533825c88c9352f9d7f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Alexandru Croitor
2018-01-11 14:15:03 +01:00
parent f42ea09b74
commit b65c13c6a5

View File

@@ -55,9 +55,10 @@ Module {
validate: {
if (!clangProbe.found) {
console.warn("Set LLVM_INSTALL_DIR to build the Clang Code Model."
console.warn("No usable libclang version found."
+ " Set LLVM_INSTALL_DIR to build the Clang Code Model."
+ " For details, see doc/src/editors/creator-clang-codemodel.qdoc.");
throw "No usable libclang found";
throw new Error();
}
}
}