cmStateTypes: document that the ordering of targets is important

The ordering is assumed in many places throughout the code and
modification of the enumeration should be done carefully.
This commit is contained in:
Ben Boeckel 2017-03-07 09:30:07 -05:00
parent dca58fa279
commit 322425faca

View File

@ -27,6 +27,9 @@ enum SnapshotType
VariableScopeType
};
// There are multiple overlapping ranges represented here. Be aware that adding
// a value to this enumeration may cause failures in numerous places which
// assume details about the ordering.
enum TargetType
{
EXECUTABLE,