clang API Documentation
#include <Ownership.h>


Public Member Functions | |
| ActionResult (bool Invalid=false) | |
| ActionResult (PtrTy val) | |
| ActionResult (const DiagnosticBuilder &) | |
| ActionResult (const void *) | |
| ActionResult (volatile void *) | |
| PtrTy | get () const |
| void | set (PtrTy V) |
| bool | isInvalid () const |
| const ActionResult & | operator= (PtrTy RHS) |
ActionResult - This structure is used while parsing/acting on expressions, stmts, etc. It encapsulates both the object returned by the action, plus a sense of whether or not it is valid. When CompressInvalid is true, the "invalid" flag will be stored in the low bit of the Val pointer.
Definition at line 233 of file Ownership.h.
| clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::ActionResult | ( | bool | Invalid = false |
) | [inline] |
Definition at line 238 of file Ownership.h.
| clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::ActionResult | ( | PtrTy | val | ) | [inline] |
Definition at line 239 of file Ownership.h.
| clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::ActionResult | ( | const DiagnosticBuilder & | ) | [inline] |
Definition at line 240 of file Ownership.h.
| clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::ActionResult | ( | const void * | ) |
| clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::ActionResult | ( | volatile void * | ) |
| PtrTy clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::get | ( | ) | const [inline] |
Definition at line 246 of file Ownership.h.
Referenced by clang::Sema::ActOnTag(), clang::Sema::ActOnTagTemplateIdType(), clang::Sema::DiagnoseUnknownTypeName(), clang::ASTOwningResult< PtrTy >::get(), clang::Action::getObjCMessageKind(), clang::Sema::InstantiateMemInitializers(), clang::Sema::Owned(), and clang::ASTOwningResult< PtrTy >::take().
| bool clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::isInvalid | ( | ) | const [inline] |
Definition at line 248 of file Ownership.h.
Referenced by clang::Sema::ActOnTagTemplateIdType(), clang::Action::getObjCMessageKind(), clang::Sema::InstantiateMemInitializers(), clang::ASTOwningResult< PtrTy >::isInvalid(), clang::ASTOwningResult< PtrTy >::isUsable(), and clang::Sema::Owned().
| const ActionResult& clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::operator= | ( | PtrTy | RHS | ) | [inline] |
Definition at line 250 of file Ownership.h.
| void clang::ActionBase::ActionResult< PtrTy, CompressInvalid >::set | ( | PtrTy | V | ) | [inline] |
Definition at line 247 of file Ownership.h.