<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55745>55745</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Nested block has problem with asterisk or double asterisk in function params
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
godliness
</td>
</tr>
</table>
<pre>
clang-format-14.04
```
Language: Cpp
BasedOnStyle: Chromium
# Indentation
# There might be other settings we'd like to specify here, we'll see
TabWidth: 4
UseTab: Always
AccessModifierOffset: -4
IndentCaseLabels: true
IndentWidth: 4
IndentExternBlock: NoIndent
BreakBeforeBraces: Custom
BraceWrapping:
AfterCaseLabel: true
AfterClass: true
AfterControlStatement: true
AfterEnum: true
AfterFunction: true
AfterNamespace: true
AfterObjCDeclaration: true
AfterStruct: true
AfterUnion: true
AfterExternBlock: false
BeforeCatch: true
BeforeElse: true
IndentBraces: false
SplitEmptyFunction: true
SplitEmptyRecord: true
SplitEmptyNamespace: true
AllowShortFunctionsOnASingleLine: None
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AlwaysBreakAfterDefinitionReturnType: true
BinPackParameters: true
BreakBeforeBinaryOperators: None
ConstructorInitializerAllOnOneLineOrOnePerLine: true
DerivePointerAlignment: false
MaxEmptyLinesToKeep: 3
PointerAlignment: Right
SpaceAfterCStyleCast: true
SpacesBeforeTrailingComments: 2
# TODO: reflow comments
# when we get to it, should probably bite the bullet and add a bunch of no-lint
# comment around problematic areas
ReflowComments: false
# New added for pdb
ColumnLimit: 90
BreakStringLiterals: true
AlignConsecutiveDeclarations: true
SpacesInContainerLiterals: false
Standard: c++11
```
expected:
```
Test(uint64_t t) {
error_t test(hbjg **abc) {
}
}
```
actual:
```
Test(uint64_t t) {
error_t test(hbjg * *abc) {
}
}
```
expected:
```
Test(uint64_t t) {
error_t test(hbjg *abc) {
}
}
```
actual
```
Test(uint64_t t) {
error_t test(hbjg * abc) {
}
}
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy1VltvozgU_jXkxWpFyK15yEMurVRtpqmajOZxZfAB3Bob2WbS7K_fYwOBJlmttDMb0RT8fT7-zpXEip0WiaAyu0uVLqi9G47vw3EQboJwGUzD5vKPW2RVNINgtCTrsqwXV9QA28m9PYkayLUqeFU0FurvaESeJQNpqeVKdouHHDSQgme5JTEQZfGZGLCWy8yQIwTRjBHBP4BYRUwJCU9PxO0JonUNC4F8qC0eaPyDM5s7Gc2nceS7AQR764QsxZGeTA0vkwSM-aYYTznoXZqiBEe-a7bX2tfo6ZbGIIzDrK6gj345-cu-x08LWq6ESj4c_qLq5X6AVhroxwowA7DSFMX4SFbGqqIl4OoPTcsSI4NgvYpepGj7LMwf3wlrYUGNOft-DStptRJ7zA0UTtcX5xrSo8SMnsN3BT9VMvGZ9ZQr-IUWYEr04LbAXfy-3gAWoaatkSvOHlcS20q4gr_L8-m34IsUpFSYM6EO-5raJL9lvoYf3YZb5utcdknDzxfr-1Jw-1iU9tSPUd9Cx3iDRGn2z_iXMHaUpoaFUMd9rrRtDzI7udxjuQjYcgl16Um4ZD-n58xfb-i50u3YKlX-C9W1lq9pH_0NpFxyJ-kNbKXl4VTedGHF5StNPl6xDgrAfRd91m8SLqk-7UrAilE1r_MNC9r4alH62R1LBf8LNOrfyZ30encab15Bt9ovhWxA85_wqri0biPPZNsYPS-_0U-fFWfEHNQfAKVjjGr01uY3N-dqeO_SWLefn5zYwheN5xmmdvegKRcY7bUqfJ4cM7ocsIfdZucADSlmiiQt90w45iBxaJIMrBun3LohanJVCUZKrWIaixOJucVhmwOJKyGQSCUjlOEfLsgkJyolUt2hGNsZbo4iVKtK1rYE4KuEJ7gEtJHw5nX1XegFszP2Akd3IDCCnpOSxW1SRVXILS-4j9M87NUEzgYMzhaVa3o5nH0CXEVAUllMam_OmFsBf3ZkSzGnum-wJxXbRTJa92kSRCu8hsOb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