clang 20.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 355 of file ScopeInfo.h.
Definition at line 359 of file ScopeInfo.h.
|
inline |
Definition at line 361 of file ScopeInfo.h.
|
inline |
Definition at line 362 of file ScopeInfo.h.
|
inline |
Definition at line 363 of file ScopeInfo.h.
Definition at line 365 of file ScopeInfo.h.
References clang::Other.