[cfe-dev] generate 48bits size for C int type
Eli Friedman
eli.friedman at gmail.com
Mon Sep 9 11:46:39 PDT 2013
On Sun, Sep 8, 2013 at 7:29 PM, gamma_chen <gamma_chen at yahoo.com.tw> wrote:
> Is it possible to generate 48 bits size for C int type instead of the
> default size 32 bits? Can someone help me, please?
>
>
> Properties of a target like sizeof(int) are specified in the TargetInfo
class; see clang/lib/Basic/Targets.cpp .
Note that it's possible you'll run into other issues if you try to specify
non-power-of-two integer types; it should work in theory, but nobody has
ever tried it as far as I know.
-Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130909/a89deaba/attachment.html>
More information about the cfe-dev
mailing list