[all-commits] [llvm/llvm-project] c8be77: Bump the value of __STDC_VERSION__ in -std=c2x mode

Aaron Ballman via All-commits all-commits at lists.llvm.org
Sun Oct 17 06:23:59 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8be7743acc7e8ea32ba9985c1d57c38f0eab010
      https://github.com/llvm/llvm-project/commit/c8be7743acc7e8ea32ba9985c1d57c38f0eab010
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2021-10-17 (Sun, 17 Oct 2021)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Frontend/InitPreprocessor.cpp
    A clang/test/Preprocessor/c2x.c

  Log Message:
  -----------
  Bump the value of __STDC_VERSION__ in -std=c2x mode

Previously, we reported the same value as for C17, now we report 202000L, which
is the same value currently used by GCC.

Once C23 ships, this value will be bumped to the correct date.




More information about the All-commits mailing list