Another clang-format run, changed how parameters are binned

This commit is contained in:
Pedro Pinto committed 2020-12-30 17:30:10 -05:00
1 parent 8f21a77150
commit de063e51f0
452 files changed
+5506 -2380

No files matched your search

+22 -9
View File
@@ -33,9 +33,14 @@ void ConfigValueQueue::process() {
}
void ConfigValueQueue::defer_value(
proto::Message *msg, const proto::Reflection *reflection,
const proto::FieldDescriptor *field, int index, int line, int col,
const std::string &source, const std::string &destination,
proto::Message *msg,
const proto::Reflection *reflection,
const proto::FieldDescriptor *field,
int index,
int line,
int col,
const std::string &source,
const std::string &destination,
const proto::Message *root) {
bts_assert(msg);
@@ -126,8 +131,11 @@ void ConfigValueQueue::process_field(const DeferredValue &dv) {
template <typename TProto, typename TValue>
void ConfigValueQueue::assign(
proto::Message *message, const proto::Reflection *reflection,
const proto::FieldDescriptor *field, const Value &value, int &index) {
proto::Message *message,
const proto::Reflection *reflection,
const proto::FieldDescriptor *field,
const Value &value,
int &index) {
if (value.which() == ValueType::list) {
vector<Value> v = boost::get<vector<Value>>(value);
if (field->is_repeated()) {
@@ -163,8 +171,11 @@ void ConfigValueQueue::assign(
template <typename TProto, typename TValue>
void ConfigValueQueue::lexical_assign(
proto::Message *message, const proto::Reflection *reflection,
const proto::FieldDescriptor *field, const Value &value, int &index) {
proto::Message *message,
const proto::Reflection *reflection,
const proto::FieldDescriptor *field,
const Value &value,
int &index) {
if (value.which() == ValueType::list) {
vector<Value> v = boost::get<vector<Value>>(value);
bts_assert(field->is_repeated());
@@ -190,8 +201,10 @@ void ConfigValueQueue::lexical_assign(
}
void ConfigValueQueue::assign_value_to_field(
proto::Message *message, const proto::Reflection *reflection,
const proto::FieldDescriptor *field, const Value &value,
proto::Message *message,
const proto::Reflection *reflection,
const proto::FieldDescriptor *field,
const Value &value,
int index) throw() {
#define MY_ARGS message, reflection, field, value, index