| 886 | } |
| 887 | |
| 888 | expr Pointer::isNocapture(bool simplify) const { |
| 889 | if (!has_nocapture) |
| 890 | return false; |
| 891 | |
| 892 | // local pointers can't be no-capture |
| 893 | if (isLocal(simplify).isTrue()) |
| 894 | return false; |
| 895 | |
| 896 | return p.extract(0, 0) == 1; |
| 897 | } |
| 898 | |
| 899 | #define GET_ATTR(attr, idx) \ |
| 900 | if (!attr) \ |
no test coverage detected