Skip to content

Commit d5fdf0a

Browse files
committed
Switch the closing namespace comments to C++ style
1 parent 44b0629 commit d5fdf0a

File tree

111 files changed

+241
-220
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+241
-220
lines changed

doc/json.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ JSONRESPONSE_EXPORT std::string toJSON(Value&& response);
2323

2424
JSONRESPONSE_EXPORT Value parseJSON(const std::string& json);
2525

26-
} /* namespace graphql::response */
26+
} // namespace graphql::response
2727
```
2828
2929
You will also need to update the [CMakeLists.txt](../src/CMakeLists.txt) file

include/ClientGenerator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ class Generator
5959
const std::string _sourcePath;
6060
};
6161

62-
} /* namespace graphql::generator::client */
62+
} // namespace graphql::generator::client
6363

6464
#endif // CLIENTGENERATOR_H

include/GeneratorLoader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ class DefaultValueVisitor
7070
response::Value _value;
7171
};
7272

73-
} /* namespace graphql::generator */
73+
} // namespace graphql::generator
7474

7575
#endif // GENERATORLOADER_H

include/GeneratorUtil.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ class PendingBlankLine
5757
std::ostream& _outputFile;
5858
};
5959

60-
} /* namespace graphql::generator */
60+
} // namespace graphql::generator
6161

6262
#endif // GENERATORUTIL_H

include/RequestLoader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,6 @@ class RequestLoader
152152
RequestSchemaTypeList _referencedEnums;
153153
};
154154

155-
} /* namespace graphql::generator */
155+
} // namespace graphql::generator
156156

157157
#endif // REQUESTLOADER_H

include/SchemaGenerator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@ class Generator
7575
const std::string _sourcePath;
7676
};
7777

78-
} /* namespace graphql::generator::schema */
78+
} // namespace graphql::generator::schema
7979

8080
#endif // SCHEMAGENERATOR_H

include/SchemaLoader.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,6 @@ class SchemaLoader
314314
OperationTypeList _operationTypes;
315315
};
316316

317-
} /* namespace graphql::generator */
317+
} // namespace graphql::generator
318318

319319
#endif // SCHEMALOADER_H

include/Validation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,6 @@ class ValidateExecutableVisitor
256256
internal::string_view_map<ValidateField> _selectionFields;
257257
};
258258

259-
} /* namespace graphql::service */
259+
} // namespace graphql::service
260260

261261
#endif // VALIDATION_H

include/graphqlservice/GraphQLGrammar.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,6 @@ struct schema_document : must<schema_document_content>
11751175
{
11761176
};
11771177

1178-
} /* namespace graphql::peg */
1178+
} // namespace graphql::peg
11791179

11801180
#endif // GRAPHQLGRAMMAR_H

include/graphqlservice/GraphQLParse.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ GRAPHQLPEG_EXPORT ast parseSchemaFile(std::string_view filename);
4040
GRAPHQLPEG_EXPORT ast parseString(std::string_view input);
4141
GRAPHQLPEG_EXPORT ast parseFile(std::string_view filename);
4242

43-
} /* namespace peg */
43+
} // namespace peg
4444

4545
GRAPHQLPEG_EXPORT peg::ast operator"" _graphql(const char* text, size_t size);
4646

47-
} /* namespace graphql */
47+
} // namespace graphql
4848

4949
#endif // GRAPHQLPARSE_H

0 commit comments

Comments
 (0)