[all-commits] [llvm/llvm-project] db008a: [llvm] Repair the modules build with C++17

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Mon Aug 8 15:05:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db008af501534d4590542253ae3acf783986f5f7
      https://github.com/llvm/llvm-project/commit/db008af501534d4590542253ae3acf783986f5f7
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M llvm/include/llvm/ADT/STLExtras.h
    M llvm/include/llvm/Support/FormatProviders.h

  Log Message:
  -----------
  [llvm] Repair the modules build with C++17

I'm honestly not sure if this is a legitimate issue or not, but after
switching from C++14 to C++17, the modules build started confusing
arrays and initializer lists. Work around the issue by being explicit.




More information about the All-commits mailing list