[clang] 508d2b4 - [NFC]Add Missing Break in switch that we didn't notice because it was

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue May 10 12:34:57 PDT 2022


Author: Erich Keane
Date: 2022-05-10T12:27:45-07:00
New Revision: 508d2b4e13c05388a19173e5bd98ac06b9dd9b98

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

LOG: [NFC]Add Missing Break in switch that we didn't notice because it was
last.

Added: 
    

Modified: 
    clang/lib/AST/ASTStructuralEquivalence.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/AST/ASTStructuralEquivalence.cpp b/clang/lib/AST/ASTStructuralEquivalence.cpp
index b15036a11ad92..d80fc3ce72928 100644
--- a/clang/lib/AST/ASTStructuralEquivalence.cpp
+++ b/clang/lib/AST/ASTStructuralEquivalence.cpp
@@ -1236,6 +1236,7 @@ static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context,
         !IsStructurallyEquivalent(Context, Int1->getNumBitsExpr(),
                                   Int2->getNumBitsExpr()))
       return false;
+    break;
   }
   } // end switch
 


        


More information about the cfe-commits mailing list