[llvm] d00d6a1 - Fix `-Wpedantic` warning. NFC.

Michael Liao via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 16 19:07:05 PDT 2020


Author: Michael Liao
Date: 2020-03-16T22:06:23-04:00
New Revision: d00d6a19dda95a070b82a053e6982eab245c41c9

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

LOG: Fix `-Wpedantic` warning. NFC.

Added: 
    

Modified: 
    llvm/lib/CodeGen/BBSectionsPrepare.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/BBSectionsPrepare.cpp b/llvm/lib/CodeGen/BBSectionsPrepare.cpp
index 3c1f1223c0b2..6e81801abf06 100644
--- a/llvm/lib/CodeGen/BBSectionsPrepare.cpp
+++ b/llvm/lib/CodeGen/BBSectionsPrepare.cpp
@@ -126,7 +126,7 @@ class BBSectionsPrepare : public MachineFunctionPass {
 char BBSectionsPrepare::ID = 0;
 INITIALIZE_PASS(BBSectionsPrepare, "bbsections-prepare",
                 "Determine if a basic block needs a special section", false,
-                false);
+                false)
 
 // This inserts an unconditional branch at the end of MBB to the next basic
 // block S if and only if the control-flow implicitly falls through from MBB to


        


More information about the llvm-commits mailing list