[all-commits] [llvm/llvm-project] b10bd6: [NFC] Bump ObjCOrBuiltinIDBits to 15
JF Bastien via All-commits
all-commits at lists.llvm.org
Fri Jun 26 13:50:18 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b10bd6dfc62161671892b2dd3be5152754d14995
https://github.com/llvm/llvm-project/commit/b10bd6dfc62161671892b2dd3be5152754d14995
Author: JF Bastien <jfbastien at apple.com>
Date: 2020-06-26 (Fri, 26 Jun 2020)
Changed paths:
M clang/include/clang/Basic/IdentifierTable.h
Log Message:
-----------
[NFC] Bump ObjCOrBuiltinIDBits to 15
We're now hitting this because we're at the limit for number of builtins:
clang/lib/Basic/IdentifierTable.cpp:39:1: error: static_assert failed due to requirement '2 * LargestBuiltinID < (2 << (ObjCOrBuiltinIDBits - 1))' "Insufficient ObjCOrBuiltinID Bits"
static_assert(2 * LargestBuiltinID < (2 << (ObjCOrBuiltinIDBits - 1)),
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bump it to 15 so whoever adds a builtin next (as I am, or as anyone else might) doesn't merge conflict over each other.
More information about the All-commits
mailing list