[clang] [clang][dataflow] Fix a missing break from a switch case -Wimplicit-fallthrough (PR #120739)

David Spickett via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 20 06:56:56 PST 2024


================
@@ -71,7 +71,7 @@ bool hasSmartPointerClassShape(const CXXRecordDecl &RD, bool &HasGet,
                                 ->getCanonicalTypeUnqualified();
         }
       }
-    }
+    } break;
----------------
DavidSpickett wrote:

On second thought, there are a ton of these in the codebase already. It's fine as is.

https://github.com/llvm/llvm-project/pull/120739


More information about the cfe-commits mailing list