1
0
mirror of synced 2025-01-18 00:56:49 +01:00

build: Mark tryDemangle as [[maybe_unused]] (#1606)

This commit is contained in:
iTrooz 2024-03-21 13:33:23 +01:00 committed by GitHub
parent 0fb43ccc2b
commit e56b34f174
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@
namespace {
std::string tryDemangle(const std::string &symbolName) {
[[maybe_unused]] std::string tryDemangle(const std::string &symbolName) {
if (auto variant1 = llvm::demangle(symbolName); variant1 != symbolName)
return variant1;