[clang] bf897e6 - Remove superfluous semicolon to stop Wpedantic warning. NFCI.

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Fri May 22 04:07:12 PDT 2020


Author: Simon Pilgrim
Date: 2020-05-22T12:05:56+01:00
New Revision: bf897e6ea122c07b8848133beee749fd96895c14

URL: https://github.com/llvm/llvm-project/commit/bf897e6ea122c07b8848133beee749fd96895c14
DIFF: https://github.com/llvm/llvm-project/commit/bf897e6ea122c07b8848133beee749fd96895c14.diff

LOG: Remove superfluous semicolon to stop Wpedantic warning. NFCI.

Added: 
    

Modified: 
    clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp b/clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
index cb76f576ac34..168cfd511170 100644
--- a/clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
@@ -55,7 +55,7 @@ const CXXRecordDecl *isRefCountable(const CXXBaseSpecifier *Base) {
     return nullptr;
 
   return hasPublicRefAndDeref(R) ? R : nullptr;
-};
+}
 
 bool isRefCountable(const CXXRecordDecl *R) {
   assert(R);


        


More information about the cfe-commits mailing list