clang
9.0.0
|
Represents a single use of a weak object. More...
#include "clang/Sema/ScopeInfo.h"
Public Member Functions | |
WeakUseTy (const Expr *Use, bool IsRead) | |
const Expr * | getUseExpr () const |
bool | isUnsafe () const |
void | markSafe () |
bool | operator== (const WeakUseTy &Other) const |
Represents a single use of a weak object.
Stores both the expression and whether the access is potentially unsafe (i.e. it could potentially be warned about).
Part of the implementation of -Wrepeated-use-of-weak.
Definition at line 328 of file ScopeInfo.h.
Definition at line 332 of file ScopeInfo.h.
|
inline |
Definition at line 334 of file ScopeInfo.h.
|
inline |
Definition at line 335 of file ScopeInfo.h.
|
inline |
Definition at line 336 of file ScopeInfo.h.
Definition at line 338 of file ScopeInfo.h.