We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e89a76 commit 19adc69Copy full SHA for 19adc69
clang/lib/StaticAnalyzer/Core/EntryPointStats.cpp
@@ -80,7 +80,7 @@ void EntryPointStat::lockRegistry() {
80
StatsRegistry->IsLocked = true;
81
}
82
83
-static bool isRegistered(llvm::StringLiteral Name) {
+[[maybe_unused]] static bool isRegistered(llvm::StringLiteral Name) {
84
auto ByName = [Name](const EntryPointStat *M) { return M->name() == Name; };
85
bool Result = false;
86
enumerateStatVectors([ByName, &Result](const auto &Stats) {
0 commit comments