Fix build with some GCC version: `global qualification of class name is invalid befor...
authorMehdi Amini <joker.eph@gmail.com>
Tue, 28 Jun 2022 16:47:41 +0000 (16:47 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 28 Jun 2022 16:48:08 +0000 (16:48 +0000)
mlir/lib/IR/BuiltinAttributes.cpp

index bf72d46..3592652 100644 (file)
@@ -671,7 +671,7 @@ DenseElementsAttr::ComplexIntElementIterator::operator*() const {
 
 /// Custom storage to ensure proper memory alignment for the allocation of
 /// DenseArray of any element type.
-struct ::mlir::detail::DenseArrayBaseAttrStorage : public AttributeStorage {
+struct mlir::detail::DenseArrayBaseAttrStorage : public AttributeStorage {
   using KeyTy = std::tuple<ShapedType, DenseArrayBaseAttr::EltType,
                            ::llvm::ArrayRef<char>>;
   DenseArrayBaseAttrStorage(ShapedType type,