[all-commits] [llvm/llvm-project] d4abdd: [CMake] Check CMAKE_CXX_STANDARD and error if it's...

Tobias Hieta via All-commits all-commits at lists.llvm.org
Mon Aug 8 06:07:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d4abdd2e3dda8f94219879501d22361e0549592b
      https://github.com/llvm/llvm-project/commit/d4abdd2e3dda8f94219879501d22361e0549592b
  Author: Tobias Hieta <tobias at hieta.se>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

  Changed paths:
    M llvm/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Check CMAKE_CXX_STANDARD and error if it's to old

Also nuke the old value out of the cache if it's there, otherwise
it could lead to problems when the project increases the standard
and the developer just runs the "make/ninja" program.

Reviewed By: royjacobson

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




More information about the All-commits mailing list