mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Style: Set clang-format Standard to Cpp11
For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
This commit is contained in:
parent
c5d76139dc
commit
cb282c6ef0
247 changed files with 794 additions and 794 deletions
|
@ -165,7 +165,7 @@ void ScriptEditorDebugger::_file_selected(const String &p_file) {
|
|||
file->store_csv_line(line);
|
||||
|
||||
// values
|
||||
List<Vector<float> >::Element *E = perf_history.back();
|
||||
List<Vector<float>>::Element *E = perf_history.back();
|
||||
while (E) {
|
||||
|
||||
Vector<float> &perf_data = E->get();
|
||||
|
@ -178,7 +178,7 @@ void ScriptEditorDebugger::_file_selected(const String &p_file) {
|
|||
}
|
||||
file->store_string("\n");
|
||||
|
||||
Vector<Vector<String> > profiler_data = profiler->get_data_as_csv();
|
||||
Vector<Vector<String>> profiler_data = profiler->get_data_as_csv();
|
||||
for (int i = 0; i < profiler_data.size(); i++) {
|
||||
file->store_csv_line(profiler_data[i]);
|
||||
}
|
||||
|
@ -728,7 +728,7 @@ void ScriptEditorDebugger::_performance_draw() {
|
|||
float spacing = point_sep / float(cols);
|
||||
float from = r.size.width;
|
||||
|
||||
List<Vector<float> >::Element *E = perf_history.front();
|
||||
List<Vector<float>>::Element *E = perf_history.front();
|
||||
float prev = -1;
|
||||
while (from >= 0 && E) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue