mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-04 04:33:23 +00:00
[C++] Refactor to conform to Google C++ style guide (#5608)
* Automatic refractor of C++ headers to Google C++ style guide * Automatic refractor of C++ source to Google C++ style guide * Automatic refractor of C++ tests to Google C++ style guide * Fixed clang-format issues by running clang-format twice to correct itself. Kotlin was missing clang-format on after turning it off, so it was changed,
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
e837d5a296
commit
f0f0efe7b8
@@ -826,7 +826,8 @@ class PhpGenerator : public BaseGenerator {
|
||||
code += Indent + "private static $names = array(\n";
|
||||
for (auto it = enum_def.Vals().begin(); it != enum_def.Vals().end(); ++it) {
|
||||
auto &ev = **it;
|
||||
code += Indent + Indent + enum_def.name + "::" + ev.name + "=>" + "\"" + ev.name + "\",\n";
|
||||
code += Indent + Indent + enum_def.name + "::" + ev.name + "=>" + "\"" +
|
||||
ev.name + "\",\n";
|
||||
}
|
||||
|
||||
code += Indent + ");\n\n";
|
||||
|
||||
Reference in New Issue
Block a user