clang 18.0.0git
|
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 352 of file ScopeInfo.h.
Definition at line 356 of file ScopeInfo.h.
|
inline |
Definition at line 358 of file ScopeInfo.h.
|
inline |
Definition at line 359 of file ScopeInfo.h.
|
inline |
Definition at line 360 of file ScopeInfo.h.
Definition at line 362 of file ScopeInfo.h.
References clang::Other.