forked from qt-creator/qt-creator
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:
@@ -26,7 +26,7 @@
|
||||
|
||||
namespace ClangFormat {
|
||||
|
||||
Internal::LlvmFileSystemAdapter llvmFileSystemAdapter;
|
||||
Internal::LlvmFileSystemAdapter llvmFileSystemAdapter = {};
|
||||
|
||||
namespace {
|
||||
void adjustFormatStyleForLineBreak(clang::format::FormatStyle &style,
|
||||
|
Reference in New Issue
Block a user