Skip to content

Commit fb1dbe2

Browse files
committed
[mlir] Remove extra ';' outside of a function (NFC)
/llvm-project/mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp:51:2: error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi] }; ^ /llvm-project/mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp:97:2: error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi] }; ^ 2 errors generated.
1 parent c28a7c1 commit fb1dbe2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ LLVMTypeConverter::LLVMTypeConverter(MLIRContext *ctx,
4848
static bool isBarePointer(ValueRange values) {
4949
return values.size() == 1 &&
5050
isa<LLVM::LLVMPointerType>(values.front().getType());
51-
};
51+
}
5252

5353
/// Pack SSA values into an unranked memref descriptor struct.
5454
static Value packUnrankedMemRefDesc(OpBuilder &builder,
@@ -94,7 +94,7 @@ static Value unrankedMemRefMaterialization(OpBuilder &builder,
9494
return Value();
9595
return builder.create<UnrealizedConversionCastOp>(loc, resultType, packed)
9696
.getResult(0);
97-
};
97+
}
9898

9999
/// MemRef descriptor elements -> MemRefType
100100
static Value rankedMemRefMaterialization(OpBuilder &builder,

0 commit comments

Comments
 (0)