[all-commits] [llvm/llvm-project] fb0944: [flang] Fix a warning

Kazu Hirata via All-commits all-commits at lists.llvm.org
Thu Jan 11 12:14:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb09447132cb192a0ef5082d4a4bae30f893e501
      https://github.com/llvm/llvm-project/commit/fb09447132cb192a0ef5082d4a4bae30f893e501
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-01-11 (Thu, 11 Jan 2024)

  Changed paths:
    M flang/unittests/Runtime/CommandTest.cpp

  Log Message:
  -----------
  [flang] Fix a warning

This patch fixes:

  flang/unittests/Runtime/CommandTest.cpp:702:14: error: variable
  length arrays are a C99 feature [-Werror,-Wvla-extension]




More information about the All-commits mailing list