Fix char8_t in C mode regression from fb65b179
authorErich Keane <erich.keane@intel.com>
Wed, 3 Aug 2022 14:14:11 +0000 (07:14 -0700)
committerErich Keane <erich.keane@intel.com>
Wed, 3 Aug 2022 14:15:30 +0000 (07:15 -0700)
commitbf6db18e52815475baebff2c330763fedac6b5e4
tree064e010597f0e034255fa13ce54f7f4dcfec0dd4
parent96faef0f6ea168cdcc570c0b8080c3ac69b99b31
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.
clang/lib/Basic/IdentifierTable.cpp