[llvm-branch-commits] [clang] [clang-tools-extra] [libcxx] [clang] improved preservation of template keyword (PR #133610)
Younan Zhang via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Mar 31 23:47:45 PDT 2025
================
@@ -124,6 +124,31 @@ void SubstTemplateTemplateParmPackStorage::Profile(
ID.AddBoolean(Final);
}
+IdentifierOrOverloadedOperator::IdentifierOrOverloadedOperator(
+ const IdentifierInfo *II)
+ : PtrOrOp(reinterpret_cast<uintptr_t>(II)) {
+ static_assert(NUM_OVERLOADED_OPERATORS <= 4096,
+ "NUM_OVERLOADED_OPERATORS is too large");
----------------
zyn0217 wrote:
How did you determine the upper limit?
https://github.com/llvm/llvm-project/pull/133610
More information about the llvm-branch-commits
mailing list