equal
deleted
inserted
replaced
218 |
218 |
219 // Generate func argument to pass into emit_constraint_xxx functions |
219 // Generate func argument to pass into emit_constraint_xxx functions |
220 #define EMIT_CONSTRAINT_CHECK(func, type) , func, CommandLineFlagConstraint::type |
220 #define EMIT_CONSTRAINT_CHECK(func, type) , func, CommandLineFlagConstraint::type |
221 |
221 |
222 // the "name" argument must be a string literal |
222 // the "name" argument must be a string literal |
223 #define INITIAL_CONSTRAINTS_SIZE 40 |
223 #define INITIAL_CONSTRAINTS_SIZE 45 |
224 GrowableArray<CommandLineFlagConstraint*>* CommandLineFlagConstraintList::_constraints = NULL; |
224 GrowableArray<CommandLineFlagConstraint*>* CommandLineFlagConstraintList::_constraints = NULL; |
225 CommandLineFlagConstraint::ConstraintType CommandLineFlagConstraintList::_validating_type = CommandLineFlagConstraint::AtParse; |
225 CommandLineFlagConstraint::ConstraintType CommandLineFlagConstraintList::_validating_type = CommandLineFlagConstraint::AtParse; |
226 |
226 |
227 // Check the ranges of all flags that have them or print them out and exit if requested |
227 // Check the ranges of all flags that have them or print them out and exit if requested |
228 void CommandLineFlagConstraintList::init(void) { |
228 void CommandLineFlagConstraintList::init(void) { |