mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +00:00
bulk code format fix (#8707)
This commit is contained in:
parent
0e047869da
commit
caf3b494db
559 changed files with 38871 additions and 31276 deletions
|
|
@ -62,7 +62,7 @@ static const Namer::Config kStubConfig = {
|
|||
//
|
||||
// https://docs.python.org/3/faq/general.html#how-does-the-python-version-numbering-scheme-work
|
||||
struct Version {
|
||||
explicit Version(const std::string &version);
|
||||
explicit Version(const std::string& version);
|
||||
|
||||
bool IsValid() const;
|
||||
|
||||
|
|
@ -71,7 +71,7 @@ struct Version {
|
|||
int16_t micro = 0;
|
||||
};
|
||||
|
||||
std::set<std::string> Keywords(const Version &version);
|
||||
std::set<std::string> Keywords(const Version& version);
|
||||
|
||||
struct Import {
|
||||
bool IsLocal() const { return module == "."; }
|
||||
|
|
@ -81,13 +81,13 @@ struct Import {
|
|||
};
|
||||
|
||||
struct Imports {
|
||||
const python::Import &Import(const std::string &module);
|
||||
const python::Import &Import(const std::string &module,
|
||||
const std::string &name);
|
||||
const python::Import& Import(const std::string& module);
|
||||
const python::Import& Import(const std::string& module,
|
||||
const std::string& name);
|
||||
|
||||
const python::Import &Export(const std::string &module);
|
||||
const python::Import &Export(const std::string &module,
|
||||
const std::string &name);
|
||||
const python::Import& Export(const std::string& module);
|
||||
const python::Import& Export(const std::string& module,
|
||||
const std::string& name);
|
||||
|
||||
std::vector<python::Import> imports;
|
||||
std::vector<python::Import> exports;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue