[all-commits] [llvm/llvm-project] 1b1cfe: [mlir] Set intial value for integer FieldParser fu...

CindyLiu via All-commits all-commits at lists.llvm.org
Fri Aug 4 14:39:05 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b1cfe4311dceb0cda6452f3d549ac4d0af1eeff
      https://github.com/llvm/llvm-project/commit/1b1cfe4311dceb0cda6452f3d549ac4d0af1eeff
  Author: CindyLiu <hcindyl at google.com>
  Date:   2023-08-04 (Fri, 04 Aug 2023)

  Changed paths:
    M mlir/include/mlir/IR/DialectImplementation.h

  Log Message:
  -----------
  [mlir] Set intial value for integer FieldParser function

GCC complains FieldParser returns the value that does not have an
obvious initial value. Set an initial return value for the FieldParser
function.

The change is a no-op functionality-wise. The return value should be
updated within the function.

This should fix https://github.com/llvm/llvm-project/issues/64312

Differential Revision: https://reviews.llvm.org/D156848




More information about the All-commits mailing list