<commit_before>INCLUDE(CheckCXXCompilerFlag)
CHECK_CXX_COMPILER_FLAG("-std=c++14" COMPILER_SUPPORTS_CPP14)
IF(COMPILER_SUPPORTS_CPP14)
  SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
ELSE(COMPILER_SUPPORTS_CPP14)
  MESSAGE(SEND_ERROR "${CMAKE_CXX_COMPILER} does not support the flag -std=c++14.")
  MESSAGE(FATAL_ERROR "C++14 is required.")
ENDIF(COMPILER_SUPPORTS_CPP14)

<commit_msg>cmake/HextForceCPP14: only check -std flag on GCC and Clang<commit_after>INCLUDE(CheckCXXCompilerFlag)
IF(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
  CHECK_CXX_COMPILER_FLAG("-std=c++14" COMPILER_SUPPORTS_CPP14)
  IF(COMPILER_SUPPORTS_CPP14)
    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
  ELSE(COMPILER_SUPPORTS_CPP14)
    MESSAGE(SEND_ERROR "${CMAKE_CXX_COMPILER} does not support the flag -std=c++14.")
    MESSAGE(FATAL_ERROR "C++14 is required.")
  ENDIF(COMPILER_SUPPORTS_CPP14)
ENDIF(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")


{'fraction_non_alphanumeric': 0.11154985192497532, 'fraction_numerical': 0.03356367226061204, 'mean_word_length': 8.657142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2069674', 'n_tokens_mistral': 473, 'n_tokens_neox': 426, 'n_words': 64}