<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hi clang developers,<div><br></div><div>I am working on supporting arbitrary precision integer type in clang on local branch. Specifically, I am going to introduce a "bitwidth" like: "int _attribute__((bitwidth(N)))", and directly generate llvm type iN.</div><div><br></div><div>Currently I am thinking of two options:</div><div>1) Support the new attribute similar to the "address space"<br></div><div><div>2) Create a new "APIntegerType" as a subclass of clang AST Type.</div></div><div><br></div><div>Do you know which option is better/more simple?</div><div><br></div><div>Thanks a lot</div><span class="HOEnZb"><font color="#888888"><div>Hongbin</div><div><br></div></font></span></div>
</div><br></div>