Searched refs:PtrWithInvalid (Results 1 - 1 of 1) sorted by relevance

/external/clang/include/clang/Sema/
H A DOwnership.h181 uintptr_t PtrWithInvalid; member in class:clang::ActionResult
185 : PtrWithInvalid(static_cast<uintptr_t>(Invalid)) { }
189 PtrWithInvalid = reinterpret_cast<uintptr_t>(VP);
190 assert((PtrWithInvalid & 0x01) == 0 && "Badly aligned pointer");
192 ActionResult(const DiagnosticBuilder &) : PtrWithInvalid(0x01) { }
198 bool isInvalid() const { return PtrWithInvalid & 0x01; }
199 bool isUsable() const { return PtrWithInvalid > 0x01; }
200 bool isUnset() const { return PtrWithInvalid == 0; }
203 void *VP = reinterpret_cast<void *>(PtrWithInvalid & ~0x01);
210 PtrWithInvalid
[all...]

Completed in 1230 milliseconds