forked from checkedc/checkedc-clang
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
cleanupdocumentationImprovements or additions to documentationImprovements or additions to documentation
Description
ConstraintVariable(CV) and subclasses have copy constructors and a function getCopy. Neither is documented and the seem to be similar. It looks like some authors even thought they were. But getCopy creates constraints, and seems to be used for function return r-values. Copy constructors may only be in support of this function, but we shouldn't be creating new CVs if we can appropriately build constraints off of them.
Rename and document "getCopy" to reflect its use. Determine when actual copies are appropriate and clean up or even delete the copy constructors.
Metadata
Metadata
Assignees
Labels
cleanupdocumentationImprovements or additions to documentationImprovements or additions to documentation