Displaying 1 result from an estimated 1 matches for "getxxxx".
Did you mean:
getxxx
2019 Aug 22
3
[RFC] Increase the scope of Value::getPointerXXX methods
...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 information,
the Value::getXXXX methods, and one set to have them put in context,
the isYYYY helpers.
Drawback:
- The Value::getXXX methods are not pure lookups for that particular
value anymore but they also include logic.
Option (2):
Benefits and drawbacks are basically the opposite of Option (1).
I want to clear this...