]> granicus.if.org Git - clang/commitdiff
Remove unnecessary semicolon to silence -Wpedantic warning. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 6 Sep 2018 15:16:17 +0000 (15:16 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 6 Sep 2018 15:16:17 +0000 (15:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341556 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaExceptionSpec.cpp

index f3e1563c3a8dbc9928288bdd68adb2c4702f3510..4de205c50435a2e7e1543a06911188e809c31210 100644 (file)
@@ -238,7 +238,7 @@ static bool exceptionSpecNotKnownYet(const FunctionDecl *FD) {
   auto EST = MD->getType()->castAs<FunctionProtoType>()->getExceptionSpecType();
   return EST == EST_Unparsed ||
          (EST == EST_Unevaluated && MD->getParent()->isBeingDefined());
-};
+}
 
 static bool CheckEquivalentExceptionSpecImpl(
     Sema &S, const PartialDiagnostic &DiagID, const PartialDiagnostic &NoteID,