build: Mark tryDemangle as [[maybe_unused]] (#1606)
This commit is contained in:
parent
0fb43ccc2b
commit
e56b34f174
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
namespace {
|
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)
|
if (auto variant1 = llvm::demangle(symbolName); variant1 != symbolName)
|
||||||
return variant1;
|
return variant1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user