[NFC] silence unused warnings

This commit is contained in:
Andrew Lenharth 2024-03-21 13:57:44 -07:00
parent 66f6369fb1
commit 7a01c493b6
1 changed files with 2 additions and 2 deletions

View File

@ -47,14 +47,14 @@ namespace {
// conversion from YAML. The LLVM YAML infrastructure doesn't provide the
// ability to differentitate this and we don't need it for the purposes of
// Grand Central.
static std::string noDefault(StringRef clazz) {
[[maybe_unused]] static std::string noDefault(StringRef clazz) {
return ("default '" + clazz +
"' construction is an intentionally *NOT* implemented "
"YAML feature (you should never be using this)")
.str();
}
static std::string deNorm(StringRef clazz) {
[[maybe_unused]] static std::string deNorm(StringRef clazz) {
return ("conversion from YAML to a '" + clazz +
"' is intentionally *NOT* implemented (you should not be "
"converting from YAML to an interface)")