Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang-format asserts in ContinuationIndenter.cpp:1090 #22290

Closed
llvmbot opened this issue Dec 15, 2014 · 2 comments
Closed

clang-format asserts in ContinuationIndenter.cpp:1090 #22290

llvmbot opened this issue Dec 15, 2014 · 2 comments
Labels
bugzilla Issues migrated from bugzilla clang-format

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Dec 15, 2014

Bugzilla Link 21916
Resolution FIXED
Resolved on Jan 12, 2015 07:11
Version trunk
OS Windows NT
Attachments test case
Reporter LLVM Bugzilla Contributor

Extended Description

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.

@llvmbot
Copy link
Collaborator Author

llvmbot commented Dec 16, 2014

Alex, can you take a look? It looks like IndentAtLineBreak of BreakableBlockComment overflows.

@llvmbot
Copy link
Collaborator Author

llvmbot commented Jan 12, 2015

Fixed in r225628.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 9, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla clang-format
Projects
None yet
Development

No branches or pull requests

1 participant