1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

Style: clang-format: Disable AllowShortIfStatementsOnASingleLine

This commit is contained in:
Rémi Verschelde
2021-05-04 14:28:27 +02:00
parent 6e600cb3f0
commit 3d15f04668
128 changed files with 872 additions and 455 deletions

View File

@@ -223,7 +223,8 @@ DirectPropertyMap PropertyTable::GetUnparsedProperties() const {
for (const LazyPropertyMap::value_type &element : lazyProps) {
// Skip parsed properties
if (props.end() != props.find(element.first)) continue;
if (props.end() != props.find(element.first))
continue;
// Read the element's value.
// Wrap the naked pointer (since the call site is required to acquire ownership)
@@ -231,7 +232,8 @@ DirectPropertyMap PropertyTable::GetUnparsedProperties() const {
Property *prop = ReadTypedProperty(element.second);
// Element could not be read. Skip it.
if (!prop) continue;
if (!prop)
continue;
// Add to result
result[element.first] = prop;