Skip to content

Commit 9a16c12

Browse files
authored
[NFC] Remove semicolons after function definitions (#87764)
They were accidentally left behind when #86536 converted some lambdas into stand-alone methods. This fixes warnings from -Wc++98-compat-extra-semi
1 parent 8487e05 commit 9a16c12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/StaticAnalyzer/Core/CallDescription.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ bool ento::CallDescription::matchNameOnly(const NamedDecl *ND) const {
8989
// FIXME This comparison is way SLOWER than comparing pointers.
9090
// At some point in the future, we should compare FunctionDecl pointers.
9191
return Name.getAsString() == getFunctionName();
92-
};
92+
}
9393

9494
bool ento::CallDescription::matchQualifiedNameParts(const Decl *D) const {
9595
const auto FindNextNamespaceOrRecord =
@@ -115,7 +115,7 @@ bool ento::CallDescription::matchQualifiedNameParts(const Decl *D) const {
115115

116116
// We matched if we consumed all expected qualifier segments.
117117
return QualifierPartsIt == QualifierPartsEndIt;
118-
};
118+
}
119119

120120
bool ento::CallDescription::matchesImpl(const FunctionDecl *FD, size_t ArgCount,
121121
size_t ParamCount) const {

0 commit comments

Comments
 (0)