[all-commits] [llvm/llvm-project] d3651a: [BOLT] Upgrade to C++17

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Aug 7 23:12:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d3651aa697c6a099768ffdde3f3c26a42f113268
      https://github.com/llvm/llvm-project/commit/d3651aa697c6a099768ffdde3f3c26a42f113268
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-08-07 (Sun, 07 Aug 2022)

  Changed paths:
    M bolt/CMakeLists.txt

  Log Message:
  -----------
  [BOLT] Upgrade to C++17

Without this patch, I am getting errors like:

  llvm-project/llvm/include/llvm/ADT/StringRef.h:233:7: error: use of
  the 'nodiscard' attribute is a C++17 extension
  [-Werror,-Wc++17-extensions]

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




More information about the All-commits mailing list