We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fad7bdc + 19adc69 commit 2f7de42Copy full SHA for 2f7de42
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