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

Style: Set clang-format Standard to c++14

This commit is contained in:
Rémi Verschelde
2021-05-04 14:20:36 +02:00
parent 7e61be3cb0
commit 6e600cb3f0
248 changed files with 841 additions and 842 deletions

View File

@@ -43,7 +43,7 @@
class ValidationTracker {
protected:
struct Entries {
Map<String, LocalVector<String> > validation_entries = Map<String, LocalVector<String> >();
Map<String, LocalVector<String>> validation_entries = Map<String, LocalVector<String>>();
// for printing our CSV to dump validation problems of files
// later we can make some agnostic tooling for this but this is fine for the time being.
@@ -55,7 +55,7 @@ protected:
String csv_header = "file_path, error message, extra data\n";
massive_log_file += csv_header;
for (Map<String, LocalVector<String> >::Element *element = validation_entries.front(); element; element = element->next()) {
for (Map<String, LocalVector<String>>::Element *element = validation_entries.front(); element; element = element->next()) {
for (unsigned int x = 0; x < element->value().size(); x++) {
const String &line_entry = element->key() + ", " + element->value()[x].c_escape() + "\n";
massive_log_file += line_entry;