search for: getdereferenceablebytes

Displaying 1 result from an estimated 1 matches for "getdereferenceablebytes".

2019 Aug 22
3
[RFC] Increase the scope of Value::getPointerXXX methods
...improve the situation here, I mean to actually allow outside user to get dereferenceable bytes and alignment information without copying the logic, we could: (1) Make the Value methods "smarter", or (2) expose more information through helper functions, e.g., a "smart" getDereferenceableBytes and getAlignment that live outside of the Value class. Option (1): Benefit: - Less confusion which methods to use, especially if we add helper function to "compute" the information, e.g., getDereferenceableBytes outside of Value. We would have one set to expose raw informati...