This adds APFixedPoint to the union of values that can be represented with an APValue.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
Comment Actions
Regarding tests, I couldn't actually find any under clang/unittests that test APValue specifically. Is it worth it to add some still?
Comment Actions
One nit-pick, then this is good to go.
clang/include/clang/AST/APValue.h | ||
---|---|---|
183 | I know this is the established pattern, but could you just make MakeFixedPoint take a APFixedPoint && and move it into place instead of default-constructing one and then assigning over it? |
I know this is the established pattern, but could you just make MakeFixedPoint take a APFixedPoint && and move it into place instead of default-constructing one and then assigning over it?