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