|
clang 22.0.0git
|
A safe wrapper around APSInt objects allocated and owned by BasicValueFactory.
More...
#include "clang/StaticAnalyzer/Core/PathSensitive/APSIntPtr.h"
Public Member Functions | |
| APSIntPtr ()=delete | |
| APSIntPtr (const APSIntPtr &)=default | |
| APSIntPtr & | operator= (const APSIntPtr &) &=default |
| ~APSIntPtr ()=default | |
| LLVM_ATTRIBUTE_RETURNS_NONNULL const APSInt * | get () const |
| operator const APSInt & () const | |
| APSInt | operator- () const |
| APSInt | operator~ () const |
| const APSInt & | operator* () const |
| const APSInt * | operator-> () const |
Static Public Member Functions | |
| static APSIntPtr | unsafeConstructor (const APSInt *Ptr) |
| You should not use this API. | |
A safe wrapper around APSInt objects allocated and owned by BasicValueFactory.
This just wraps a common llvm::APSInt.
Definition at line 19 of file APSIntPtr.h.
|
delete |
Referenced by APSIntPtr(), operator=(), and unsafeConstructor().
|
default |
References APSIntPtr().
|
default |
|
inline |
Definition at line 36 of file APSIntPtr.h.
Referenced by clang::ento::SMTConstraintManager::getSymVal(), and operator const APSInt &().
|
inline |
Definition at line 37 of file APSIntPtr.h.
References get().
|
inline |
Definition at line 52 of file APSIntPtr.h.
|
inline |
Definition at line 39 of file APSIntPtr.h.
|
inline |
Definition at line 53 of file APSIntPtr.h.
References APSIntPtr().
|
inline |
Definition at line 40 of file APSIntPtr.h.
You should not use this API.
If do, ensure that the Ptr not going to dangle. Prefer using BasicValueFactory::getValue() to get an APSIntPtr object.
Definition at line 31 of file APSIntPtr.h.
References APSIntPtr().
Referenced by clang::ento::BasicValueFactory::getValue(), clang::ento::loc::ConcreteInt::getValue(), and clang::ento::nonloc::ConcreteInt::getValue().