We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb03892 commit 6fe20a4Copy full SHA for 6fe20a4
clang-tools-extra/clangd/SourceCode.cpp
@@ -564,7 +564,7 @@ format::FormatStyle getFormatStyleForFile(llvm::StringRef File,
564
if (!Style) {
565
log("getStyle() failed for file {0}: {1}. Fallback is LLVM style.", File,
566
Style.takeError());
567
- Style = format::getLLVMStyle();
+ return format::getLLVMStyle();
568
}
569
return *Style;
570
0 commit comments