__sptr and __uptr are pointer type qualifiers that relate to __ptr32 and __ptr64. Specifically, they specify how pointers are supposed to be converted (sign extended or zero extended). For more information, see MSDN: http://msdn.microsoft.com/en-us/library/aa983399.aspx
This patch brings in parsing support, some semantic warnings and test cases for code which uses __sptr and __uptr in conjunction with __ptr32 and __ptr64. A future patch will have to be made to hook into the codegen machinery to support __ptr32 and __ptr64 more fully. This patch is modeled after the existing __ptr32 and __ptr64 support. ~Aaron
sptr_uptr.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
