ClangFormatBaseIndenter: Initialize llvmFileSystemAdapter

Otherwise memory analyzer reports use of uninitialized value.

Amends eeeb5f0aad

Change-Id: Ic0cb0a40062a82caef73987109e8970fc57f93b6
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Jarek Kobus
2023-02-06 10:27:27 +01:00
parent d278135497
commit a423caba13

View File

@@ -26,7 +26,7 @@
namespace ClangFormat { namespace ClangFormat {
Internal::LlvmFileSystemAdapter llvmFileSystemAdapter; Internal::LlvmFileSystemAdapter llvmFileSystemAdapter = {};
namespace { namespace {
void adjustFormatStyleForLineBreak(clang::format::FormatStyle &style, void adjustFormatStyleForLineBreak(clang::format::FormatStyle &style,