clang  8.0.0svn
Public Member Functions | List of all members
clang::ActionResult< PtrTy, CompressInvalid > Class Template Reference

ActionResult - This structure is used while parsing/acting on expressions, stmts, etc. More...

#include "clang/Sema/Ownership.h"

Inheritance diagram for clang::ActionResult< PtrTy, CompressInvalid >:
Inheritance graph
[legend]

Public Member Functions

 ActionResult (bool Invalid=false)
 
 ActionResult (PtrTy val)
 
 ActionResult (const DiagnosticBuilder &)
 
 ActionResult (const void *)=delete
 
 ActionResult (volatile void *)=delete
 
bool isInvalid () const
 
bool isUsable () const
 
bool isUnset () const
 
PtrTy get () const
 
template<typename T >
T * getAs ()
 
void set (PtrTy V)
 
const ActionResultoperator= (PtrTy RHS)
 

Detailed Description

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
class clang::ActionResult< PtrTy, CompressInvalid >

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 157 of file Ownership.h.

Constructor & Destructor Documentation

◆ ActionResult() [1/5]

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
clang::ActionResult< PtrTy, CompressInvalid >::ActionResult ( bool  Invalid = false)
inline

Definition at line 162 of file Ownership.h.

◆ ActionResult() [2/5]

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
clang::ActionResult< PtrTy, CompressInvalid >::ActionResult ( PtrTy  val)
inline

Definition at line 163 of file Ownership.h.

◆ ActionResult() [3/5]

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
clang::ActionResult< PtrTy, CompressInvalid >::ActionResult ( const DiagnosticBuilder )
inline

Definition at line 164 of file Ownership.h.

◆ ActionResult() [4/5]

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
clang::ActionResult< PtrTy, CompressInvalid >::ActionResult ( const void *  )
delete

◆ ActionResult() [5/5]

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
clang::ActionResult< PtrTy, CompressInvalid >::ActionResult ( volatile void *  )
delete

Member Function Documentation

◆ get()

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
PtrTy clang::ActionResult< PtrTy, CompressInvalid >::get ( ) const
inline

Definition at line 174 of file Ownership.h.

Referenced by clang::Sema::ActOnCallExpr(), clang::Sema::ActOnCapScopeReturnStmt(), clang::Sema::ActOnCaseExpr(), clang::Sema::ActOnCaseStmt(), clang::Sema::ActOnCastExpr(), clang::Sema::ActOnConditionalOp(), clang::Sema::ActOnConditionVariable(), clang::Sema::ActOnConstantExpression(), clang::Sema::ActOnCXXDelete(), clang::Sema::ActOnCXXNew(), clang::Sema::ActOnDecltypeExpression(), clang::Sema::ActOnDoStmt(), clang::Sema::ActOnExprStmt(), clang::Sema::ActOnFinishCXXInClassMemberInitializer(), clang::Sema::ActOnFinishFullExpr(), clang::Sema::ActOnForEachLValueExpr(), clang::Sema::ActOnInitList(), clang::Sema::ActOnInstanceMessage(), clang::Sema::ActOnNoexceptSpec(), clang::Sema::ActOnObjCAtSynchronizedOperand(), clang::Sema::ActOnOMPArraySectionExpr(), clang::Sema::ActOnOpenMPDeclareReductionType(), clang::Sema::ActOnOpenMPDeclareSimdDirective(), clang::Sema::ActOnOpenMPDistScheduleClause(), clang::Sema::ActOnOpenMPFinalClause(), clang::Sema::ActOnOpenMPIfClause(), clang::Sema::ActOnOpenMPLinearClause(), clang::Sema::ActOnOpenMPOrderedClause(), clang::Sema::ActOnOpenMPScheduleClause(), clang::Sema::ActOnPackExpansion(), clang::Sema::ActOnReturnStmt(), clang::Sema::ActOnStartCXXMemberReference(), clang::Sema::ActOnTemplateTypeArgument(), addConstexprToLambdaDeclSpecifier(), addContextSensitiveTypeNullability(), clang::Sema::AddInitializerToDecl(), clang::AssertSuccess(), attemptRecovery(), attributeParsedArgsUnevaluated(), clang::Sema::BuildAnonymousStructUnionMemberReference(), clang::Sema::BuildBinOp(), clang::Sema::BuildCallToObjectOfClassType(), buildCapture(), buildCaptureDecl(), clang::Sema::BuildCoreturnStmt(), clang::Sema::buildCoroutineParameterMoves(), buildCounterInit(), buildCounterUpdate(), clang::Sema::BuildCoyieldExpr(), clang::Sema::BuildCXXFunctionalCastExpr(), clang::Sema::BuildCXXNamedCast(), clang::Sema::BuildCXXNoexceptExpr(), clang::Sema::BuildCXXTypeId(), clang::Sema::BuildDecltypeType(), clang::Sema::BuildDelegatingInitializer(), clang::CoroutineStmtBuilder::buildDependentStatements(), clang::Sema::BuildExpressionTrait(), BuildImplicitBaseInitializer(), BuildImplicitMemberInitializer(), clang::Sema::BuildMemberInitializer(), clang::Sema::BuildMemberReferenceExpr(), buildMemcpyForAssignmentOp(), clang::Sema::BuildMemInitializer(), BuildNonArrayForRange(), clang::Sema::BuildObjCAtThrowStmt(), clang::Sema::BuildObjCBridgedCast(), clang::Sema::BuildObjCSubscriptExpression(), BuildRecoveryCallExpr(), clang::Sema::BuildResolvedCoawaitExpr(), clang::Sema::BuildTypeofExprType(), clang::Sema::BuildUnaryOp(), clang::Sema::BuildUnresolvedCoawaitExpr(), clang::Sema::BuildVectorLiteral(), canConvertIntToOtherIntTy(), canConvertIntTyToFloatTy(), clang::Sema::CanPerformCopyInitialization(), captureThis(), clang::Sema::CheckAdditionOperands(), clang::Sema::CheckAddressOfOperand(), checkArgsForPlaceholders(), checkArithmeticNull(), checkArithmeticOrEnumeralCompare(), checkArithmeticOrEnumeralThreeWayCompare(), CheckArrayDesignatorSyntax(), checkArrayLikeDecomposition(), CheckArrow(), clang::Sema::CheckAssignmentConstraints(), clang::Sema::CheckAssignmentOperands(), clang::Sema::CheckBitwiseOperands(), clang::Sema::CheckBooleanCondition(), checkBuiltinArgument(), CheckCommaOperands(), clang::Sema::CheckCompareOperands(), checkConditionalBlockPointerCompatibility(), checkConditionalNullPointer(), checkConditionalObjectPointersCompatibility(), clang::Sema::CheckConditionalOperands(), checkConditionalPointerCompatibility(), checkConditionalVoidType(), clang::Sema::CheckConditionVariable(), CheckConvertedConstantExpression(), CheckIncrementDecrementOperand(), CheckIndirectionOperand(), clang::Sema::CheckLogicalOperands(), checkMemberDecomposition(), clang::Sema::CheckMessageArgumentTypes(), clang::Sema::CheckMultiplyDivideOperands(), CheckObjCCollectionLiteralElement(), clang::Sema::CheckObjCForCollectionOperand(), checkObjCPointerIntrospection(), checkOpenMPLoop(), clang::Sema::CheckPlaceholderExpr(), checkPlaceholderForOverload(), checkPointerIntegerMismatch(), clang::Sema::CheckPointerToMemberOperands(), clang::Sema::CheckRemainderOperands(), clang::Sema::CheckShiftOperands(), clang::Sema::CheckSingleAssignmentConstraints(), clang::Sema::CheckSubtractionOperands(), clang::Sema::CheckTemplateArgument(), clang::Sema::CheckTransparentUnionArgumentConstraints(), checkTupleLikeDecomposition(), clang::Sema::checkUnknownAnyArg(), clang::Sema::checkUnknownAnyCast(), clang::Sema::CheckVarTemplateId(), clang::Sema::CheckVectorCompareOperands(), clang::Sema::CheckVectorLogicalOperands(), clang::Sema::CheckVectorOperands(), checkVectorShift(), clang::Sema::CodeCompleteMemberReferenceExpr(), clang::Sema::CodeCompleteObjCInstanceMessage(), clang::Sema::CodeCompletePostfixExpression(), CollectFieldInitializer(), ConstructTransparentUnion(), convertArgsForAvailabilityChecks(), ConvertForConditional(), convertPointersToCompositeType(), CopyObject(), CorrectDelayedTyposInBinOp(), clang::Sema::CorrectDelayedTyposInExpr(), clang::Sema::CreateBuiltinArraySubscriptExpr(), clang::Sema::CreateBuiltinBinOp(), clang::Sema::CreateBuiltinUnaryOp(), clang::Sema::CreateUnaryExprOrTypeTraitExpr(), clang::Sema::CXXCheckConditionalOperands(), clang::Sema::DeduceAutoType(), DeduceNullPtrTemplateArgument(), clang::Sema::DefaultFunctionArrayConversion(), clang::Sema::DefaultFunctionArrayLvalueConversion(), clang::Sema::DefaultLvalueConversion(), clang::Sema::DefaultVariadicArgumentPromotion(), DiagnoseBadDivideOrRemainderValues(), DiagnoseBadFunctionCast(), DiagnoseBadShiftValues(), DiagnoseCallingConvCast(), DiagnoseCastOfObjCSEL(), DiagnoseCastQual(), diagnoseDistinctPointerComparison(), diagnoseDynamicExceptionSpecification(), diagnoseFunctionPointerToVoidComparison(), diagnoseLogicalNotOnLHSofCheck(), diagnoseNoViableConversion(), diagnoseObjCLiteralComparison(), DiagnoseReinterpretUpDownCast(), diagReturnOnAllocFailure(), evaluateTypeTrait(), clang::Sema::FindCompositeObjCPointerType(), clang::Sema::FindCompositePointerType(), FindConditionalOverload(), FinishForRangeVarDecl(), FinishOpenMPLinearClause(), clang::Sema::FixOverloadedFunctionReference(), fixOverloadedReinterpretCastExpr(), getCastAwayConstnessCastKind(), clang::Sema::ImplicitExceptionSpecification::getExceptionSpec(), clang::DeclaratorChunk::getFunction(), getMissingDeclaratorIdLoc(), clang::Sema::getOpenMPCapturedExpr(), getVarTemplateSpecialization(), HandleAddressSpaceTypeAttribute(), HandleExtVectorTypeAttr(), HandleVectorSizeAttr(), clang::Sema::IgnoredValueConversions(), clang::Sema::ImpCastExprToType(), clang::InitializationSequence::InitializeFrom(), clang::TemplateDeclInstantiator::InstantiateEnumDefinition(), clang::Sema::InstantiateMemInitializers(), clang::Sema::InstantiateVariableInitializer(), clang::Sema::InvalidLogicalVectorOperands(), clang::Sema::InvalidOperands(), IsBuiltInOrStandardCXX11Attribute(), isNonNegativeIntegerValue(), isNullPointerValueTemplateArgument(), isObjCObjectLiteral(), isTupleLike(), isValidOrderingForOp(), clang::Sema::LookupInlineAsmIdentifier(), LookupMemberExpr(), LookupMethodInReceiverType(), clang::Sema::MakeFullDiscardedValueExpr(), clang::Sema::MaybeCreateExprWithCleanups(), clang::Sema::maybeExtendBlockObject(), clang::Sema::mightBeIntendedToBeTemplateName(), noteMemberDeclaredHere(), OpenCLArithmeticConversions(), OpenCLCheckVectorConditional(), OpenCLConvertScalarsToVectors(), clang::Parser::ParseConstraintExpression(), parseDeclareSimdClauses(), clang::Parser::ParseExpression(), clang::Parser::ParseMSAsmIdentifier(), clang::Parser::ParseOpenMPParensExpr(), clang::Parser::ParseOpenMPVarList(), clang::Parser::ParseTopLevelDecl(), clang::Parser::ParseUnqualifiedId(), clang::InitializationSequence::Perform(), PerformConstructorInitialization(), clang::Sema::PerformContextualImplicitConversion(), clang::Sema::PerformCopyInitialization(), clang::Sema::PerformImplicitConversion(), PragmaLoopHintString(), clang::Sema::PrepareCastToObjCObjectPointer(), clang::Sema::PrepareScalarCast(), clang::TreeTransform< Derived >::RebuildCXXOperatorCallExpr(), clang::TreeTransform< Derived >::RebuildObjCForCollectionStmt(), clang::TreeTransform< Derived >::RebuildPackExpansion(), clang::TreeTransform< Derived >::RebuildShuffleVectorExpr(), recordConversion(), clang::Sema::resolveAndFixAddressOfOnlyViableOverloadCandidate(), clang::Sema::ResolveAndFixSingleFunctionTemplateSpecialization(), resolveBuiltinNewDeleteOverload(), SemaBuiltinLaunder(), clang::Sema::SetIvarInitializers(), ShouldTryAgainWithRedefinitionType(), clang::Sema::SubstParmVarDecl(), takeDeclAttributes(), clang::TreeTransform< Derived >::TransformAddressOfOperand(), clang::TreeTransform< Derived >::TransformAttr(), clang::TreeTransform< Derived >::TransformCompoundStmt(), clang::TreeTransform< Derived >::TransformCondition(), clang::TreeTransform< Derived >::TransformCXXNamedCastExpr(), clang::TreeTransform< Derived >::TransformExceptionSpec(), clang::TreeTransform< Derived >::TransformExprs(), clang::TreeTransform< Derived >::TransformOMPExecutableDirective(), clang::TreeTransform< Derived >::TransformOverloadExprDecls(), clang::TreeTransform< Derived >::TransformParenDependentScopeDeclRefExpr(), clang::TreeTransform< Derived >::TransformTemplateArgument(), clang::Parser::TryAnnotateTypeOrScopeToken(), clang::Parser::TryAnnotateTypeOrScopeTokenAfterScopeSpec(), TryConstCast(), clang::Sema::tryExprAsCall(), tryGCCVectorConvertAndSplat(), TryReinterpretCast(), TryStaticCast(), TryStaticImplicitCast(), TryStaticMemberPointerUpcast(), clang::Sema::tryToRecoverWithCall(), tryVectorConvertAndSplat(), TypeTraitArity(), clang::Sema::UsualArithmeticConversions(), clang::Sema::UsualUnaryConversions(), clang::Sema::VerifyBitField(), VersionNumberSeparator(), and clang::TemplateDeclInstantiator::VisitCXXMethodDecl().

◆ getAs()

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
template<typename T >
T* clang::ActionResult< PtrTy, CompressInvalid >::getAs ( )
inline

◆ isInvalid()

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
bool clang::ActionResult< PtrTy, CompressInvalid >::isInvalid ( ) const
inline

Definition at line 170 of file Ownership.h.

Referenced by clang::Sema::ActOnCallExpr(), clang::Sema::ActOnCapScopeReturnStmt(), clang::Sema::ActOnCaseExpr(), clang::Sema::ActOnCaseStmt(), clang::Sema::ActOnCastExpr(), clang::Sema::ActOnConditionVariable(), clang::Sema::ActOnCXXDelete(), clang::Sema::ActOnDecltypeExpression(), clang::Sema::ActOnDoStmt(), clang::Sema::ActOnExprStmt(), clang::Sema::ActOnFinishCXXInClassMemberInitializer(), clang::Sema::ActOnFinishFullExpr(), clang::Sema::ActOnForEachLValueExpr(), clang::Sema::ActOnInitList(), clang::Sema::ActOnInstanceMessage(), clang::Sema::ActOnNoexceptSpec(), clang::Sema::ActOnObjCAtSynchronizedOperand(), clang::Sema::ActOnOMPArraySectionExpr(), clang::Sema::ActOnOpenMPCollapseClause(), clang::Sema::ActOnOpenMPDistScheduleClause(), clang::Sema::ActOnOpenMPFinalClause(), clang::Sema::ActOnOpenMPHintClause(), clang::Sema::ActOnOpenMPIfClause(), clang::Sema::ActOnOpenMPLinearClause(), clang::Sema::ActOnOpenMPOrderedClause(), clang::Sema::ActOnOpenMPSafelenClause(), clang::Sema::ActOnOpenMPScheduleClause(), clang::Sema::ActOnOpenMPSimdlenClause(), clang::Sema::ActOnPackExpansion(), clang::Sema::ActOnReturnStmt(), clang::Sema::ActOnStartCXXMemberReference(), addConstexprToLambdaDeclSpecifier(), addContextSensitiveTypeNullability(), clang::AssertSuccess(), attemptRecovery(), attributeParsedArgsUnevaluated(), clang::Sema::BuildAnonymousStructUnionMemberReference(), clang::Sema::BuildBinOp(), clang::Sema::BuildCoreturnStmt(), clang::Sema::buildCoroutineParameterMoves(), buildCounterUpdate(), clang::Sema::BuildCoyieldExpr(), clang::Sema::BuildCXXNoexceptExpr(), clang::Sema::BuildCXXTypeConstructExpr(), clang::Sema::BuildCXXTypeId(), clang::Sema::BuildDecltypeType(), clang::Sema::BuildDelegatingInitializer(), clang::CoroutineStmtBuilder::buildDependentStatements(), clang::Sema::BuildExpressionTrait(), BuildImplicitBaseInitializer(), BuildImplicitMemberInitializer(), clang::Sema::BuildLiteralOperatorCall(), clang::Sema::BuildMemberInitializer(), clang::Sema::BuildMemberReferenceExpr(), buildMemcpyForAssignmentOp(), BuildNonArrayForRange(), clang::Sema::BuildObjCAtThrowStmt(), clang::Sema::BuildObjCBridgedCast(), clang::Sema::BuildObjCSubscriptExpression(), BuildRecoveryCallExpr(), clang::Sema::BuildResolvedCoawaitExpr(), clang::Sema::BuildStaticAssertDeclaration(), clang::Sema::BuildTypeofExprType(), clang::Sema::BuildUnaryOp(), clang::Sema::BuildUnresolvedCoawaitExpr(), clang::Sema::BuildVectorLiteral(), clang::Sema::CanPerformCopyInitialization(), captureThis(), clang::Sema::CheckAdditionOperands(), checkArgsForPlaceholders(), checkArithmeticOrEnumeralCompare(), checkArithmeticOrEnumeralThreeWayCompare(), CheckArrayDesignatorSyntax(), checkArrayLikeDecomposition(), CheckArrow(), clang::Sema::CheckAssignmentOperands(), clang::Sema::CheckBitwiseOperands(), clang::Sema::CheckBooleanCondition(), checkBuiltinArgument(), CheckCommaOperands(), clang::Sema::CheckCompareOperands(), clang::Sema::CheckConditionalOperands(), CheckConvertedConstantExpression(), clang::Sema::CheckCXXDefaultArgExpr(), clang::Sema::CheckDestructor(), CheckIncrementDecrementOperand(), CheckIndirectionOperand(), clang::Sema::CheckLoopHintExpr(), checkMemberDecomposition(), clang::Sema::CheckMessageArgumentTypes(), clang::Sema::CheckMultiplyDivideOperands(), CheckObjCCollectionLiteralElement(), clang::Sema::CheckObjCForCollectionOperand(), checkPlaceholderForOverload(), clang::Sema::CheckPointerToMemberOperands(), clang::Sema::CheckRemainderOperands(), clang::Sema::CheckShiftOperands(), clang::Sema::CheckSingleAssignmentConstraints(), clang::Sema::CheckSubtractionOperands(), clang::Sema::CheckTemplateArgument(), checkTupleLikeDecomposition(), clang::Sema::checkUnknownAnyArg(), clang::Sema::CheckVarTemplateId(), clang::Sema::CheckVectorOperands(), checkVectorShift(), clang::Sema::CodeCompleteMemberReferenceExpr(), clang::Sema::CodeCompleteObjCInstanceMessage(), clang::Sema::CodeCompletePostfixExpression(), CollectFieldInitializer(), convertArgsForAvailabilityChecks(), ConvertForConditional(), CopyObject(), clang::Sema::CorrectDelayedTyposInExpr(), clang::Sema::CreateBuiltinArraySubscriptExpr(), clang::Sema::CreateBuiltinBinOp(), clang::Sema::CreateUnaryExprOrTypeTraitExpr(), clang::Sema::CXXCheckConditionalOperands(), clang::Sema::DeduceAutoType(), clang::Sema::DefaultFunctionArrayConversion(), clang::Sema::DefaultFunctionArrayLvalueConversion(), clang::Sema::DefaultLvalueConversion(), clang::Sema::DefaultVariadicArgumentPromotion(), clang::Sema::DefineImplicitLambdaToBlockPointerConversion(), DiagnoseBadFunctionCast(), DiagnoseCastQual(), diagnoseDynamicExceptionSpecification(), diagnoseNoViableConversion(), DiagnoseReinterpretUpDownCast(), diagReturnOnAllocFailure(), EvaluateArrayTypeTrait(), EvaluateBinaryTypeTrait(), evaluateTypeTrait(), clang::Sema::FindCompositePointerType(), FindConditionalOverload(), FinishOverloadedCallExpr(), getCastAwayConstnessCastKind(), clang::DeclaratorChunk::getFunction(), getMissingDeclaratorIdLoc(), getVarTemplateSpecialization(), HandleAddressSpaceTypeAttribute(), HandleExtVectorTypeAttr(), HandleVectorSizeAttr(), clang::Sema::IgnoredValueConversions(), clang::Sema::ImpCastExprToType(), clang::InitializationSequence::InitializeFrom(), clang::TemplateDeclInstantiator::InstantiateEnumDefinition(), clang::Sema::InstantiateMemInitializers(), clang::Sema::InstantiateVariableInitializer(), IsBuiltInOrStandardCXX11Attribute(), isNonNegativeIntegerValue(), isNullPointerValueTemplateArgument(), isTupleLike(), isValidOrderingForOp(), LookupMethodInReceiverType(), clang::Sema::MaybeCreateExprWithCleanups(), clang::Sema::mightBeIntendedToBeTemplateName(), noteMemberDeclaredHere(), OpenCLArithmeticConversions(), OpenCLCheckVectorConditional(), clang::Parser::ParseConstraintExpression(), parseDeclareSimdClauses(), clang::Parser::ParseExpression(), clang::Parser::ParseOpenMPParensExpr(), clang::Parser::ParseTopLevelDecl(), clang::Parser::ParseUnqualifiedId(), clang::InitializationSequence::Perform(), PerformConstructorInitialization(), clang::Sema::PerformContextualImplicitConversion(), clang::Sema::PerformCopyInitialization(), clang::Sema::PerformImplicitConversion(), clang::Sema::PerformMoveOrCopyInitialization(), PragmaLoopHintString(), clang::TreeTransform< Derived >::RebuildCXXOperatorCallExpr(), clang::TreeTransform< Derived >::RebuildDesignatedInitExpr(), clang::TreeTransform< Derived >::RebuildObjCForCollectionStmt(), clang::TreeTransform< Derived >::RebuildPackExpansion(), clang::TreeTransform< Derived >::RebuildUnaryExprOrTypeTrait(), recordConversion(), resolveBuiltinNewDeleteOverload(), SemaBuiltinLaunder(), clang::Sema::SetIvarInitializers(), clang::Sema::SubstDefaultTemplateArgumentIfAvailable(), takeDeclAttributes(), clang::TreeTransform< Derived >::TransformAddressOfOperand(), clang::TreeTransform< Derived >::TransformAttr(), clang::TreeTransform< Derived >::TransformCompoundStmt(), clang::TreeTransform< Derived >::TransformCondition(), clang::TreeTransform< Derived >::TransformCXXNamedCastExpr(), clang::TreeTransform< Derived >::TransformExceptionSpec(), clang::TreeTransform< Derived >::TransformExprs(), clang::TreeTransform< Derived >::TransformOMPExecutableDirective(), clang::TreeTransform< Derived >::TransformOverloadExprDecls(), clang::TreeTransform< Derived >::TransformTemplateArgument(), clang::Parser::TryAnnotateTypeOrScopeToken(), TryReinterpretCast(), TryStaticCast(), TryStaticImplicitCast(), TypeTraitArity(), clang::Sema::UsualArithmeticConversions(), clang::Sema::UsualUnaryConversions(), clang::Sema::VerifyBitField(), clang::TemplateDeclInstantiator::VisitCXXMethodDecl(), and clang::TemplateDeclInstantiator::VisitVarDecl().

◆ isUnset()

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
bool clang::ActionResult< PtrTy, CompressInvalid >::isUnset ( ) const
inline

Definition at line 172 of file Ownership.h.

Referenced by clang::Sema::ActOnCaseStmt(), and checkOpenMPLoop().

◆ isUsable()

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
bool clang::ActionResult< PtrTy, CompressInvalid >::isUsable ( ) const
inline

Definition at line 171 of file Ownership.h.

Referenced by clang::Sema::ActOnCastExpr(), clang::Sema::ActOnConditionalOp(), clang::Sema::ActOnConstantExpression(), clang::Sema::ActOnObjCAtSynchronizedOperand(), clang::Sema::ActOnOpenMPDeclareReductionType(), clang::Sema::ActOnOpenMPLinearClause(), clang::Sema::ActOnOpenMPRegionEnd(), addConstexprToLambdaDeclSpecifier(), addContextSensitiveTypeNullability(), clang::Sema::AddInitializerToDecl(), attemptRecovery(), attributeParsedArgsUnevaluated(), clang::Sema::BuildBinOp(), buildCaptureDecl(), buildCounterInit(), buildCounterUpdate(), clang::Sema::BuildMemberReferenceExpr(), buildMemcpyForAssignmentOp(), clang::Sema::BuildMemInitializer(), CheckArrayDesignatorSyntax(), clang::Sema::CheckConditionalOperands(), clang::Sema::CheckObjCForCollectionOperand(), checkOpenMPLoop(), clang::Sema::CheckPlaceholderExpr(), clang::Sema::checkUnknownAnyCast(), clang::Sema::CreateBuiltinBinOp(), DiagnoseBadFunctionCast(), FinishForRangeVarDecl(), fixOverloadedReinterpretCastExpr(), clang::DeclaratorChunk::getFunction(), getMissingDeclaratorIdLoc(), clang::Sema::getOpenMPCapturedExpr(), clang::Sema::LookupInlineAsmIdentifier(), clang::Parser::ParseConstraintExpression(), parseDeclareSimdClauses(), clang::Parser::ParseMSAsmIdentifier(), clang::Parser::ParseOpenMPVarList(), clang::Sema::SubstParmVarDecl(), takeDeclAttributes(), clang::TreeTransform< Derived >::TransformAttr(), clang::TreeTransform< Derived >::TransformParenDependentScopeDeclRefExpr(), clang::Parser::TryAnnotateTypeOrScopeTokenAfterScopeSpec(), clang::Sema::tryExprAsCall(), and TryReinterpretCast().

◆ operator=()

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
const ActionResult& clang::ActionResult< PtrTy, CompressInvalid >::operator= ( PtrTy  RHS)
inline

Definition at line 179 of file Ownership.h.

◆ set()

template<class PtrTy, bool CompressInvalid = IsResultPtrLowBitFree<PtrTy>::value>
void clang::ActionResult< PtrTy, CompressInvalid >::set ( PtrTy  V)
inline

Definition at line 177 of file Ownership.h.


The documentation for this class was generated from the following file: