Depends on D52852.
Details
Diff Detail
- Repository
- rC Clang
- Build Status
Buildable 23482 Build 23481: arc lint + arc unit
Event Timeline
include/clang/Basic/BuiltinsWebAssembly.def | ||
---|---|---|
55 | I think maybe you want LL instead of W, but I'm not sure. |
include/clang/Basic/BuiltinsWebAssembly.def | ||
---|---|---|
55 | Not sure what the differences are either. I've used LL for other builtins in this file though. |
include/clang/Basic/BuiltinsWebAssembly.def | ||
---|---|---|
55 | W changes based on what's returned from getInt64Type() for the target. I think it will be either L or LL. It looks to be almost exclusively used by MSVC compatibility intrinsics except for two builtins in NVPTX. |
include/clang/Basic/BuiltinsWebAssembly.def | ||
---|---|---|
55 | Ok, I'll switch to using LL. |
W is int64_t (which is long long for wasm32 and would probably be long for wasm64 since that would probably LP64 (like Linux) rather than LLP64 (Like Win64). So if we want it to be the same for both wasm32 and wasm64, I guess we want LL.
Ideally I would be able to exactly specify int8_t, int32_t, etc, but c/s/i/LLi works too.
I think maybe you want LL instead of W, but I'm not sure.