mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-16 17:22:21 +00:00
Run clang-format -i **/*.cpp (#8865)
This commit is contained in:
@@ -339,8 +339,7 @@ class TsGenerator : public BaseGenerator {
|
||||
for (auto it = dc.begin(); it != dc.end(); ++it) {
|
||||
if (indent) code += indent;
|
||||
std::string safe = *it;
|
||||
for (size_t pos = 0;
|
||||
(pos = safe.find("*/", pos)) != std::string::npos;) {
|
||||
for (size_t pos = 0; (pos = safe.find("*/", pos)) != std::string::npos;) {
|
||||
safe.replace(pos, 2, "*\\/");
|
||||
pos += 3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user