You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR attaches a normalized bounds expression to a VarDecl to avoid repeated calls to ExpandBoundsToRange, which can allocate AST structures and increase the memory usage of the compiler. This is relevant for updating and validating the observed context and using widened bounds, which is currently recomputing the normalized bounds of a VarDecl.
Testing:
Passed manual testing on Windows
Passed automated testing on Linux
The text was updated successfully, but these errors were encountered:
This issue was copied from checkedc/checkedc-clang#841
Fixes #830
This PR attaches a normalized bounds expression to a VarDecl to avoid repeated calls to ExpandBoundsToRange, which can allocate AST structures and increase the memory usage of the compiler. This is relevant for updating and validating the observed context and using widened bounds, which is currently recomputing the normalized bounds of a VarDecl.
Testing:
The text was updated successfully, but these errors were encountered: