typedef struct { UINT nStructSize; RECEIVER_TYPE eRecvType; /* recevier type to claim handle from */ WORD wUserId; /* user claiming handle */ const tekhandle_type *ahHandle; /* the user can specify a specific handle (0 indicates any handle) or an array of sub-handles for a virtual handle*/ int iClaimNum; /* the number of actual physical handles needed for a virtual handle use 1 when claiming a single physical handle*/ BOOL bLock; /* claim the handle for exclusive use */ USERDATA UserData; /* user notification data */ tekmap_type hMap; /* map being used with this handle */ MAP_REDUCTION MapReduct; /* map reduction to use (if supported by handle) */ } CLAIMPARAMS; clang-format asserts while formatting the above code. Both Visual Studio plugin and standalone clang-format.exe based on SVN r223387 do this.
Created attachment 13542 [details] test case -style option does not seem to matter. Tried 'Mozilla', 'Google' and 'Chromium' and saw the assert in every case.
Alex, can you take a look? It looks like IndentAtLineBreak of BreakableBlockComment overflows.
Fixed in r225628.