llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang-static-analyzer-1 Author: None (NagyDonat) <details> <summary>Changes</summary> They were accidentally left behind when https://github.com/llvm/llvm-project/pull/86536 converted some lambdas into stand-alone methods. This fixes warnings from -Wc++98-compat-extra-semi --- Full diff: https://github.com/llvm/llvm-project/pull/87764.diff 1 Files Affected: - (modified) clang/lib/StaticAnalyzer/Core/CallDescription.cpp (+2-2) ``````````diff diff --git a/clang/lib/StaticAnalyzer/Core/CallDescription.cpp b/clang/lib/StaticAnalyzer/Core/CallDescription.cpp index dcf6a2625b66f4..0bb0fe66e54ff8 100644 --- a/clang/lib/StaticAnalyzer/Core/CallDescription.cpp +++ b/clang/lib/StaticAnalyzer/Core/CallDescription.cpp @@ -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 = @@ -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 { `````````` </details> https://github.com/llvm/llvm-project/pull/87764 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits