[all-commits] [llvm/llvm-project] 36de2d: [NFC] [AST] Reduce the size of TemplateParmPosition
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Tue Apr 12 19:56:48 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 36de2d639eca4cead62a6c6d288a501cee8bb6e7
https://github.com/llvm/llvm-project/commit/36de2d639eca4cead62a6c6d288a501cee8bb6e7
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2022-04-13 (Wed, 13 Apr 2022)
Changed paths:
M clang/include/clang/AST/DeclTemplate.h
Log Message:
-----------
[NFC] [AST] Reduce the size of TemplateParmPosition
I found this when reading the codes. I think it makes sense to reduce
the space for TemplateParmPosition. It is hard to image the depth of
template parameter is larger than 2^20 and the index is larger than
2^12. So I think the patch might be reasonable.
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D123298
More information about the All-commits
mailing list