[PATCH] D130689: [LLVM] Update C++ standard to 17

Daniel Bertalan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 28 01:23:04 PDT 2022


BertalanD added inline comments.


================
Comment at: llvm/cmake/modules/CheckCompilerVersion.cmake:79-80
     set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -std=c++0x")
     # Test for libstdc++ version of at least 4.8 by checking for _ZNKSt17bad_function_call4whatEv.
     # Note: We should check _GLIBCXX_RELEASE when possible (i.e., for GCC 7.1 and up).
     check_cxx_source_compiles("
----------------
This comment should be updated too.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130689/new/

https://reviews.llvm.org/D130689



More information about the cfe-commits mailing list