Fixes https://bugs.llvm.org/show_bug.cgi?id=45108.
The [ in such cases was mis-annotated as an TT_ArrayInitializerLSquare.
Differential D75675
[clang-format] do not insert spaces around inline asm symbolic names krasimir on Mar 5 2020, 4:34 AM. Authored by
Details Fixes https://bugs.llvm.org/show_bug.cgi?id=45108. The [ in such cases was mis-annotated as an TT_ArrayInitializerLSquare.
Diff Detail
Event TimelineComment Actions Very nice, thanks!
|
Is the Style.isCpp() check necessary here?
If it's necessary, maybe that's because the setting of InsideInlineASM should be guarded by Style.isCpp() instead?