Closed Ebola-Chan-bot closed 5 months ago
@Silver-Fang This is a bug with clang-format itself, as you can verify by running the command line:
c:\Users\vhtmf.vscode\extensions\ms-vscode.cpptools-1.20.5-win32-x64/bin/../LLVM/bin/clang-format.exe "-style={ BasedOnStyle: LLVM, UseTab: Always, IndentWidth: 4, TabWidth: 4, BreakBeforeBraces: Allman, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: false, ColumnLimit: 0, AccessModifierOffset: -4, NamespaceIndentation: All, FixNamespaceComments: false }" -fallback-style=LLVM -sort-includes=0 --Wno-error=unknown -assume-filename=C:\Users\vhtmf\Documents\Arduino\Rp\main.cpp C:\Users\vhtmf\Documents\Arduino\Rp\main.cpp
You should file a bug at https://github.com/llvm/llvm-project/issues if one doesn't exist yet.
Environment
版本: 1.90.0 (system setup) 提交: 89de5a8d4d6205e5b11647eb6a74844ca23d2573 日期: 2024-06-04T19:33:54.889Z Electron: 29.4.0 ElectronBuildId: 9593362 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.26236
Bug Summary and Steps to Reproduce
Formatting should add spaces to B=nullptr in the last line. But in fact, spaces are not added after formatting:
Configuration and Logs
Other Extensions
No response
Additional context
No response