Skip to content

Commit

Permalink
[NFC] Remove semicolons after function definitions (#87764)
Browse files Browse the repository at this point in the history
They were accidentally left behind when
#86536 converted some lambdas
into stand-alone methods.

This fixes warnings from -Wc++98-compat-extra-semi
  • Loading branch information
NagyDonat committed Apr 5, 2024
1 parent 8487e05 commit 9a16c12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clang/lib/StaticAnalyzer/Core/CallDescription.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ bool ento::CallDescription::matchNameOnly(const NamedDecl *ND) const {
// FIXME This comparison is way SLOWER than comparing pointers.
// At some point in the future, we should compare FunctionDecl pointers.
return Name.getAsString() == getFunctionName();
};
}

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

// We matched if we consumed all expected qualifier segments.
return QualifierPartsIt == QualifierPartsEndIt;
};
}

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

0 comments on commit 9a16c12

Please sign in to comment.