Function type builders missing parameter bounds information #152
Labels
work item
This labels issues that are not exactly bugs but are about improvements.
Milestone
BuildFunctionType in lib\Sema\SemaType.h and RebuildFunctionProtoType in lib\Sema\TreeTransform.h are missing parameter bounds information as an argument. From what I can tell, BuildFunctionType is invoked along the C++ template instantiation path and along the tree transform path by RebuildFunctionProtoType. For Checked C, this could lead to parameter bounds information being dropped when the tree transformation routines are invoked on function prototypes.
The construction of function prototypes for the common C/C++ path does not invoke BuildFunctionType, so this issue does not affect the usual path for constructing prototypes.
We already have an issue about figuring out how to test tree transformations (issue #6), so I'm not sure how we'd test this fix if we made it.
Postponing this issue for now.
The text was updated successfully, but these errors were encountered: