[all-commits] [llvm/llvm-project] bf6db1: Fix char8_t in C mode regression from fb65b179

Erich Keane via All-commits all-commits at lists.llvm.org
Wed Aug 3 07:15:47 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf6db18e52815475baebff2c330763fedac6b5e4
  Author: Erich Keane <erich.keane at intel.com>
  Date:   2022-08-03 (Wed, 03 Aug 2022)

  Changed paths:
    M clang/lib/Basic/IdentifierTable.cpp

  Log Message:
  Fix char8_t in C mode regression from fb65b179

When doing that NFC refactor, I'd messed up how char8_t was reported,
which resulted in it being considered a 'future' keyword, without the
corresponding diagnostic, which lead to an assert.  This patch corrects
the char8_t to ONLY be future in C++ mode.

More information about the All-commits mailing list