fix code style

1. add .clang-format code style file.
2. format code of core.

use `clang-format -i -style=file ./core/*/*.cc ./core/*/*.h` command to format
This commit is contained in:
wb-hx510875
2020-07-01 16:06:18 +08:00
committed by page
parent e065d50def
commit a57f6ec422
39 changed files with 7959 additions and 8262 deletions

View File

@@ -18,26 +18,15 @@
namespace AlibabaCloud {
Signer::Signer(Type type, const std::string & name,
const std::string & version) :
type_(type),
name_(name),
version_(version) {
}
Signer::Signer(Type type, const std::string &name, const std::string &version)
: type_(type), name_(name), version_(version) {}
Signer::~Signer() {
}
Signer::~Signer() {}
std::string Signer::name() const {
return name_;
}
std::string Signer::name() const { return name_; }
Signer::Type Signer::type() const {
return type_;
}
Signer::Type Signer::type() const { return type_; }
std::string Signer::version() const {
return version_;
}
std::string Signer::version() const { return version_; }
} // namespace AlibabaCloud
} // namespace AlibabaCloud