[llvm] [DenseMap] Fix build failure in lookup_or (PR #142268)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 2 08:36:46 PDT 2025


================
@@ -226,6 +226,12 @@ class DenseMapBase : public DebugEpochBase {
     return Default;
   }
 
+  ValueT lookup_or(const_arg_type_t<KeyT> Val, const ValueT &Default) const {
----------------
artagnon wrote:

Thanks a lot! I didn't think to use Compiler Explorer. I've now updated the patch and commit message.

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


More information about the llvm-commits mailing list