This patch ensures that a value that's passed into YAML's IO mapOptional method is going to be assigned a value returned by the default constructor when the appropriate key is not present in the YAML mapping.
The current YAML documentation specifies that this should happen: http://llvm.org/docs/YamlIO.html#default-values