[clang] 3496e96 - [clang][bytecode] Add a missing break

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 28 05:17:28 PST 2024


Author: Timm Bäder
Date: 2024-12-28T14:17:06+01:00
New Revision: 3496e96f78c46f5b94c1892f97c470fd89293795

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

LOG: [clang][bytecode] Add a missing break

Added: 
    

Modified: 
    clang/lib/AST/ByteCode/Pointer.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/AST/ByteCode/Pointer.cpp b/clang/lib/AST/ByteCode/Pointer.cpp
index da202598b363ad..ec4756fe4f87dc 100644
--- a/clang/lib/AST/ByteCode/Pointer.cpp
+++ b/clang/lib/AST/ByteCode/Pointer.cpp
@@ -316,6 +316,7 @@ void Pointer::print(llvm::raw_ostream &OS) const {
   case Storage::Fn:
     OS << "(Fn) { " << asFunctionPointer().getFunction() << " + " << Offset
        << " }";
+    break;
   case Storage::Typeid:
     OS << "(Typeid)";
   }


        


More information about the cfe-commits mailing list