[PATCH] D115619: [Flang][NFC] Convert static to static inline for a function

Kiran Chandramohan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 14 05:57:08 PST 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG135d5d4a6d37: [Flang][NFC] Convert static to static inline for a function (authored by kiranchandramohan).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115619/new/

https://reviews.llvm.org/D115619

Files:
  flang/lib/Optimizer/CodeGen/CodeGen.cpp


Index: flang/lib/Optimizer/CodeGen/CodeGen.cpp
===================================================================
--- flang/lib/Optimizer/CodeGen/CodeGen.cpp
+++ flang/lib/Optimizer/CodeGen/CodeGen.cpp
@@ -38,7 +38,7 @@
 static constexpr unsigned kAttrPointer = CFI_attribute_pointer;
 static constexpr unsigned kAttrAllocatable = CFI_attribute_allocatable;
 
-static mlir::Type getVoidPtrType(mlir::MLIRContext *context) {
+static inline mlir::Type getVoidPtrType(mlir::MLIRContext *context) {
   return mlir::LLVM::LLVMPointerType::get(mlir::IntegerType::get(context, 8));
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115619.394223.patch
Type: text/x-patch
Size: 581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211214/3fd9c8bd/attachment.bin>


More information about the llvm-commits mailing list