1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

CI: Update to clang-format 11 and apply ternary operator changes

This commit is contained in:
Rémi Verschelde
2021-01-12 16:57:55 +01:00
parent df257f4fb6
commit af878716f2
16 changed files with 57 additions and 43 deletions

View File

@@ -735,9 +735,9 @@ Error ScriptClassParser::parse_file(const String &p_filepath) {
ERR_FAIL_COND_V_MSG(ferr != OK, ferr,
ferr == ERR_INVALID_DATA ?
"File '" + p_filepath + "' contains invalid unicode (UTF-8), so it was not loaded."
"File '" + p_filepath + "' contains invalid unicode (UTF-8), so it was not loaded."
" Please ensure that scripts are saved in valid UTF-8 unicode." :
"Failed to read file: '" + p_filepath + "'.");
"Failed to read file: '" + p_filepath + "'.");
run_dummy_preprocessor(source, p_filepath);