[all-commits] [llvm/llvm-project] daa350: [mlir] Work around MSVC bug

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Sun Mar 17 06:07:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: daa350c1995015daac552548c34b87220f21156d
      https://github.com/llvm/llvm-project/commit/daa350c1995015daac552548c34b87220f21156d
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-03-17 (Sun, 17 Mar 2024)

  Changed paths:
    M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
    M mlir/lib/Tools/mlir-translate/MlirTranslateMain.cpp
    M mlir/tools/mlir-pdll/mlir-pdll.cpp

  Log Message:
  -----------
  [mlir] Work around MSVC bug

MSVC fails to parse this construct, leading to
MlirTranslateMain.cpp(70): error C2065: 'inputSplitMarker': undeclared identifier

Just switching to brace init works around the issue



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list