================
@@ -501,7 +566,8 @@ void CIRGenFunction::populateCatchHandlers(cir::TryOp 
tryOp) {
   if (!handlerTypesAttr || handlerTypesAttr.empty()) {
     // Accumulate all the handlers in scope.
     bool hasCatchAll = false;
-    llvm::SmallVector<mlir::Attribute, 4> handlerAttrs;
+    llvm::SmallPtrSet<mlir::Attribute, 4> catchTypes;
----------------
andykaylor wrote:

Oh, that's odd. I guess because it is used less often no one has gotten around 
to making the equivalent update.

https://github.com/llvm/llvm-project/pull/171042
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to