clang
6.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 296 of file ScopeInfo.h.
Definition at line 299 of file ScopeInfo.h.
|
inline |
Definition at line 301 of file ScopeInfo.h.
|
inline |
Definition at line 302 of file ScopeInfo.h.
|
inline |
Definition at line 303 of file ScopeInfo.h.
Definition at line 305 of file ScopeInfo.h.