Fixed compilation with some failing test cases on LLVM 16

This commit is contained in:
Bartek Kryza
2023-03-26 16:10:27 +02:00
parent 91ece95d49
commit 15f9f9ae2b
9 changed files with 109 additions and 25 deletions

View File

@@ -268,13 +268,10 @@ cli_flow_t cli_handler::handle_post_config_options()
cli_flow_t cli_handler::print_version()
{
constexpr auto kLLVMBackendPackageStringLength{5};
ostr_ << "clang-uml " << clanguml::version::CLANG_UML_VERSION << '\n';
ostr_ << "Copyright (C) 2021-2023 Bartek Kryza <bkryza@gmail.com>" << '\n';
ostr_ << "Built against LLVM/Clang libraries version: "
<< std::string{BACKEND_PACKAGE_STRING}.substr(
kLLVMBackendPackageStringLength)
<< std::endl;
<< LLVM_VERSION_STRING << std::endl;
ostr_ << "Using LLVM/Clang libraries version: "
<< clang::getClangFullVersion() << std::endl;