[llvm] 3a86713 - [KnownBitsTest] Remove stray semicolons

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 08:20:43 PDT 2023


Author: Jay Foad
Date: 2023-05-15T16:20:06+01:00
New Revision: 3a8671330788322efc0ba625277ab6bb37cbd7e2

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

LOG: [KnownBitsTest] Remove stray semicolons

Added: 
    

Modified: 
    llvm/unittests/Support/KnownBitsTest.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/Support/KnownBitsTest.cpp b/llvm/unittests/Support/KnownBitsTest.cpp
index dbdf28c55a12..e8daae3685d7 100644
--- a/llvm/unittests/Support/KnownBitsTest.cpp
+++ b/llvm/unittests/Support/KnownBitsTest.cpp
@@ -46,7 +46,7 @@ static testing::AssertionResult isCorrect(const KnownBits &Exact,
     Result << Input << ", ";
   Result << "Computed = " << Computed << ", Exact = " << Exact;
   return Result;
-};
+}
 
 static testing::AssertionResult isOptimal(const KnownBits &Exact,
                                           const KnownBits &Computed,
@@ -60,7 +60,7 @@ static testing::AssertionResult isOptimal(const KnownBits &Exact,
     Result << Input << ", ";
   Result << "Computed = " << Computed << ", Exact = " << Exact;
   return Result;
-};
+}
 
 static void testUnaryOpExhaustive(
     UnaryBitsFn BitsFn, UnaryIntFn IntFn,


        


More information about the llvm-commits mailing list