[clang] 023fbf3 - Correct the 'KEYALL' mask.
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Thu May 27 07:20:39 PDT 2021
Author: Erich Keane
Date: 2021-05-27T07:20:32-07:00
New Revision: 023fbf3df32d4100b57597a4e748c94931c1b936
URL: https://github.com/llvm/llvm-project/commit/023fbf3df32d4100b57597a4e748c94931c1b936
DIFF: https://github.com/llvm/llvm-project/commit/023fbf3df32d4100b57597a4e748c94931c1b936.diff
LOG: Correct the 'KEYALL' mask.
It should technically be a 1, since we are only setting the first bit.
Added:
Modified:
clang/lib/Basic/IdentifierTable.cpp
Removed:
################################################################################
diff --git a/clang/lib/Basic/IdentifierTable.cpp b/clang/lib/Basic/IdentifierTable.cpp
index dafacaf88502..d811aeec84a0 100644
--- a/clang/lib/Basic/IdentifierTable.cpp
+++ b/clang/lib/Basic/IdentifierTable.cpp
@@ -109,7 +109,7 @@ namespace {
KEYMSCOMPAT = 0x800000,
KEYSYCL = 0x1000000,
KEYALLCXX = KEYCXX | KEYCXX11 | KEYCXX20,
- KEYALL = (0xfffffff & ~KEYNOMS18 &
+ KEYALL = (0x1ffffff & ~KEYNOMS18 &
~KEYNOOPENCL) // KEYNOMS18 and KEYNOOPENCL are used to exclude.
};
More information about the cfe-commits
mailing list