aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangformat/clangformatutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/clangformat/clangformatutils.h')
-rw-r--r--src/plugins/clangformat/clangformatutils.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/clangformat/clangformatutils.h b/src/plugins/clangformat/clangformatutils.h
index a4ff429b3e..019414b11f 100644
--- a/src/plugins/clangformat/clangformatutils.h
+++ b/src/plugins/clangformat/clangformatutils.h
@@ -48,7 +48,9 @@ clang::format::FormatStyle currentQtStyle(const TextEditor::ICodeStylePreference
Utils::FilePath filePathToCurrentSettings(const TextEditor::ICodeStylePreferences *codeStyle);
-bool parseConfigurationContent(const std::string &fileContent, clang::format::FormatStyle &style);
-bool parseConfigurationFile(const Utils::FilePath &filePath, clang::format::FormatStyle &style);
+Utils::expected_str<void> parseConfigurationContent(const std::string &fileContent,
+ clang::format::FormatStyle &style);
+Utils::expected_str<void> parseConfigurationFile(const Utils::FilePath &filePath,
+ clang::format::FormatStyle &style);
} // ClangFormat