Skip to content

Commit 135d5d4

Browse files
[Flang][NFC] Convert static to static inline for a function
Reviewed By: clementval Differential Revision: https://reviews.llvm.org/D115619
1 parent 6fef0ff commit 135d5d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Optimizer/CodeGen/CodeGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ static constexpr unsigned defaultAlign = 8;
3838
static constexpr unsigned kAttrPointer = CFI_attribute_pointer;
3939
static constexpr unsigned kAttrAllocatable = CFI_attribute_allocatable;
4040

41-
static mlir::Type getVoidPtrType(mlir::MLIRContext *context) {
41+
static inline mlir::Type getVoidPtrType(mlir::MLIRContext *context) {
4242
return mlir::LLVM::LLVMPointerType::get(mlir::IntegerType::get(context, 8));
4343
}
4444

0 commit comments

Comments
 (0)