clang 20.0.0git
Public Member Functions | List of all members
clang::ActionResult< PtrTy, Compress > Class Template Reference

The result of parsing/analyzing an expression, statement etc. More...

#include "clang/Sema/Ownership.h"

Inheritance diagram for clang::ActionResult< PtrTy, Compress >:
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 isUnset () const
 
bool isUsable () const
 
PtrTy get () const
 
template<typename T >
TgetAs ()
 
ActionResultoperator= (PtrTy RHS)
 

Detailed Description

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

The result of parsing/analyzing an expression, statement etc.

It may be:

Definition at line 153 of file Ownership.h.

Constructor & Destructor Documentation

◆ ActionResult() [1/5]

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

Definition at line 158 of file Ownership.h.

◆ ActionResult() [2/5]

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

Definition at line 159 of file Ownership.h.

◆ ActionResult() [3/5]

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

Definition at line 160 of file Ownership.h.

◆ ActionResult() [4/5]

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

◆ ActionResult() [5/5]

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

Member Function Documentation

◆ get()

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

Definition at line 170 of file Ownership.h.

Referenced by clang::SemaOpenACC::ActOnArraySectionExpr(), clang::Sema::ActOnArraySubscriptExpr(), clang::SemaOpenACC::ActOnAssociatedStmt(), clang::Sema::ActOnCapScopeReturnStmt(), clang::Sema::ActOnCaseExpr(), clang::Sema::ActOnCaseStmt(), clang::Sema::ActOnCastExpr(), clang::Sema::ActOnChooseExpr(), clang::Sema::ActOnCoawaitExpr(), clang::Sema::ActOnCondition(), clang::Sema::ActOnConditionalOp(), clang::Sema::ActOnConstantExpression(), clang::Sema::ActOnCoroutineBodyStart(), clang::Sema::ActOnCoyieldExpr(), clang::Sema::ActOnCXXAssumeAttr(), clang::Sema::ActOnCXXDelete(), clang::Sema::ActOnCXXForRangeStmt(), clang::Sema::ActOnCXXNew(), clang::Sema::ActOnDecltypeExpression(), clang::Sema::ActOnDesignatedInitializer(), clang::Sema::ActOnDoStmt(), clang::SemaOpenACC::ActOnEndStmtDirective(), clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnExprStmt(), clang::Sema::ActOnForEachLValueExpr(), clang::Sema::ActOnGCCAsmStmt(), clang::Sema::ActOnIndirectGotoStmt(), clang::SemaOpenACC::ActOnIntExpr(), clang::SemaObjC::ActOnIvar(), clang::Sema::ActOnMemberAccessExpr(), clang::Sema::ActOnNoexceptSpec(), clang::Sema::ActOnNumericConstant(), clang::SemaObjC::ActOnObjCAtSynchronizedOperand(), clang::SemaObjC::ActOnObjCForCollectionStmt(), clang::SemaOpenMP::ActOnOMPArraySectionExpr(), clang::SemaOpenMP::ActOnOMPIteratorExpr(), actOnOMPReductionKindClause(), clang::SemaOpenMP::ActOnOpenMPAlignClause(), clang::SemaOpenMP::ActOnOpenMPAlignedClause(), clang::SemaOpenMP::ActOnOpenMPAllocateClause(), clang::SemaOpenMP::ActOnOpenMPCall(), clang::SemaOpenMP::ActOnOpenMPCollapseClause(), clang::SemaOpenMP::ActOnOpenMPCopyinClause(), clang::SemaOpenMP::ActOnOpenMPCopyprivateClause(), clang::SemaOpenMP::ActOnOpenMPDeclareSimdDirective(), clang::SemaOpenMP::ActOnOpenMPDistScheduleClause(), clang::SemaOpenMP::ActOnOpenMPFinalClause(), clang::SemaOpenMP::ActOnOpenMPFirstprivateClause(), clang::SemaOpenMP::ActOnOpenMPHasDeviceAddrClause(), clang::SemaOpenMP::ActOnOpenMPHintClause(), clang::SemaOpenMP::ActOnOpenMPIfClause(), clang::SemaOpenMP::ActOnOpenMPInterchangeDirective(), clang::SemaOpenMP::ActOnOpenMPLastprivateClause(), clang::SemaOpenMP::ActOnOpenMPLinearClause(), clang::SemaOpenMP::ActOnOpenMPNocontextClause(), clang::SemaOpenMP::ActOnOpenMPNovariantsClause(), clang::SemaOpenMP::ActOnOpenMPOrderedClause(), clang::SemaOpenMP::ActOnOpenMPPartialClause(), clang::SemaOpenMP::ActOnOpenMPRegionEnd(), clang::SemaOpenMP::ActOnOpenMPReverseDirective(), clang::SemaOpenMP::ActOnOpenMPSafelenClause(), clang::SemaOpenMP::ActOnOpenMPScheduleClause(), clang::SemaOpenMP::ActOnOpenMPSimdlenClause(), clang::SemaOpenMP::ActOnOpenMPTileDirective(), clang::SemaOpenMP::ActOnOpenMPUnrollDirective(), clang::SemaOpenMP::ActOnOpenMPUseDeviceAddrClause(), clang::SemaOpenMP::ActOnOpenMPUseDevicePtrClause(), clang::SemaOpenMP::ActOnOpenMPUsesAllocatorClause(), clang::Sema::ActOnPackIndexingExpr(), clang::Sema::ActOnParamDefaultArgumentError(), clang::Sema::ActOnRequiresClause(), clang::Sema::ActOnReturnStmt(), clang::Sema::ActOnStmtExprResult(), clang::SemaObjC::ActOnSuperClassOfClassInterface(), clang::Sema::ActOnTag(), clang::Sema::ActOnTemplatedFriendTag(), clang::Sema::ActOnVariableDeclarator(), clang::Sema::AddAlignedAttr(), clang::Sema::AddAlignValueAttr(), clang::Sema::AddInitializerToDecl(), clang::AssertSuccess(), clang::Sema::AttachTypeConstraint(), clang::Sema::BuildAnonymousStructUnionMemberReference(), clang::Sema::BuildAtomicExpr(), clang::Sema::BuildBaseInitializer(), clang::Sema::BuildBinOp(), clang::Sema::BuildBuiltinCallExpr(), clang::Sema::BuildBuiltinOffsetOf(), clang::Sema::BuildCallExpr(), clang::Sema::BuildCallToMemberFunction(), clang::Sema::BuildCallToObjectOfClassType(), buildCapture(), buildCaptureDecl(), buildCoawaitCalls(), clang::Sema::BuildCodeAlignAttr(), clang::Sema::BuildCoreturnStmt(), buildCoroutineHandle(), clang::Sema::buildCoroutineParameterMoves(), clang::Sema::buildCoroutinePromise(), buildCounterInit(), buildCounterUpdate(), clang::Sema::BuildCoyieldExpr(), clang::Sema::BuildCXXAssumeExpr(), clang::Sema::BuildCXXDefaultArgExpr(), clang::Sema::BuildCXXDefaultInitExpr(), clang::Sema::BuildCXXForRangeStmt(), clang::Sema::BuildCXXMemberCallExpr(), clang::Sema::BuildCXXNamedCast(), clang::Sema::BuildCXXNew(), clang::Sema::BuildCXXNoexceptExpr(), clang::Sema::BuildCXXThrow(), clang::Sema::BuildCXXTypeId(), clang::Sema::BuildDelegatingInitializer(), clang::Sema::BuildExpressionFromDeclTemplateArgument(), clang::Sema::BuildExpressionTrait(), clang::Sema::BuildExprRequirement(), clang::Sema::BuildForRangeBeginEndCall(), BuildImplicitBaseInitializer(), BuildImplicitMemberInitializer(), clang::Sema::BuildInitList(), clang::SemaObjC::BuildInstanceMessage(), clang::SemaObjC::BuildIvarRefExpr(), clang::Sema::BuildLiteralOperatorCall(), clang::Sema::BuildMemberInitializer(), clang::Sema::BuildMemberReferenceExpr(), buildMemcpyForAssignmentOp(), clang::Sema::BuildMemInitializer(), BuildNonArrayForRange(), clang::SemaObjC::BuildObjCArrayLiteral(), clang::SemaObjC::BuildObjCBoxedExpr(), clang::SemaObjC::BuildObjCBridgedCast(), clang::SemaObjC::BuildObjCNumericLiteral(), buildOperatorCoawaitCall(), clang::Sema::BuildOverloadedArrowExpr(), clang::Sema::BuildPackIndexingExpr(), clang::Sema::BuildPackIndexingType(), buildPostUpdate(), buildPromiseCall(), BuildRecoveryCallExpr(), clang::Sema::BuildResolvedCallExpr(), clang::Sema::BuildResolvedCoawaitExpr(), clang::Sema::BuildReturnStmt(), clang::Sema::BuildStaticAssertDeclaration(), buildStdNoThrowDeclRef(), clang::Sema::BuildSynthesizedThreeWayComparison(), clang::Sema::BuildUnresolvedCoawaitExpr(), BuiltinAddressof(), BuiltinAlignment(), clang::SemaARM::BuiltinARMMemoryTaggingCall(), BuiltinCallWithStaticChain(), BuiltinCountZeroBitsGeneric(), BuiltinDumpStruct(), clang::Sema::BuiltinElementwiseTernaryMath(), BuiltinFunctionStart(), BuiltinLaunder(), BuiltinOverflow(), BuiltinPopcountg(), clang::Sema::BuiltinVectorMath(), calculateConstraintSatisfaction(), clang::Sema::CallExprUnaryConversions(), castForMoving(), CastForMoving(), clang::Sema::CheckAdditionOperands(), clang::Sema::CheckAddressOfOperand(), clang::SemaAMDGPU::CheckAMDGCNBuiltinFunctionCall(), clang::Sema::CheckArgsForPlaceholders(), checkArithmeticNull(), checkArithmeticOrEnumeralCompare(), checkArithmeticOrEnumeralThreeWayCompare(), clang::SemaARM::CheckARMBuiltinExclusiveCall(), CheckArrow(), clang::SemaPseudoObject::checkAssignment(), clang::Sema::CheckAssignmentConstraints(), clang::Sema::CheckAssignmentOperands(), clang::Sema::CheckBitwiseOperands(), clang::Sema::CheckBooleanCondition(), checkBuiltinArgument(), clang::SemaRISCV::CheckBuiltinFunctionCall(), clang::SemaHLSL::CheckBuiltinFunctionCall(), checkCastFunctionType(), CheckCommaOperands(), clang::Sema::CheckCompareOperands(), checkConditionalBlockPointerCompatibility(), checkConditionalNullPointer(), checkConditionalObjectPointersCompatibility(), clang::Sema::CheckConditionalOperands(), checkConditionalPointerCompatibility(), CheckConstraintSatisfaction(), clang::SemaObjC::CheckConversionToObjCLiteral(), clang::Sema::CheckEnumConstant(), clang::Sema::CheckFieldDecl(), checkFunctionConditionAttr(), CheckIncrementDecrementOperand(), CheckIndirectionOperand(), clang::Sema::CheckLogicalOperands(), checkMappableExpressionList(), clang::Sema::CheckMatrixElementwiseOperands(), clang::Sema::CheckMatrixMultiplyOperands(), clang::SemaObjC::CheckMessageArgumentTypes(), clang::Sema::CheckMultiplyDivideOperands(), clang::SemaARM::CheckNeonBuiltinFunctionCall(), clang::SemaObjC::CheckObjCBridgeRelatedConversions(), clang::SemaObjC::CheckObjCForCollectionOperand(), checkObjCPointerIntrospection(), clang::SemaOpenMP::checkOpenMPDeclareVariantFunction(), checkOpenMPIterationSpace(), checkOpenMPLoop(), clang::Sema::CheckPlaceholderExpr(), checkPlaceholderForOverload(), checkPointerAuthValue(), clang::Sema::CheckPointerToMemberOperands(), clang::Sema::CheckPtrComparisonWithNullChar(), CheckRealImagOperand(), clang::Sema::CheckRemainderOperands(), clang::Sema::CheckShiftOperands(), clang::Sema::CheckSingleAssignmentConstraints(), clang::Sema::CheckSizelessVectorCompareOperands(), clang::Sema::CheckSizelessVectorConditionalTypes(), clang::Sema::CheckSizelessVectorOperands(), checkSizelessVectorShift(), clang::Sema::CheckSubtractionOperands(), clang::Sema::CheckSwitchCondition(), clang::Sema::CheckTemplateArgument(), CheckTemplateArgumentPointerToMember(), clang::Sema::CheckTransparentUnionArgumentConstraints(), clang::Sema::checkUnknownAnyArg(), clang::Sema::checkUnknownAnyCast(), clang::Sema::CheckVectorCompareOperands(), clang::Sema::CheckVectorConditionalTypes(), CheckVectorElementCallArgs(), clang::Sema::CheckVectorLogicalOperands(), clang::Sema::CheckVectorOperands(), checkVectorShift(), clang::Sema::ClassifyName(), clang::SemaCodeCompletion::CodeCompleteMemberReferenceExpr(), clang::SemaCodeCompletion::CodeCompleteObjCInstanceMessage(), clang::SemaCodeCompletion::CodeCompleteObjCSuperMessage(), CollectFieldInitializer(), collectPlacementArgs(), ComputeDefaultedComparisonExceptionSpec(), clang::Sema::ConstantFoldAttrArgs(), ConstructTransparentUnion(), convertArgsForAvailabilityChecks(), convertHalfVecBinOp(), convertPointersToCompositeType(), CopyObject(), CorrectDelayedTyposInBinOp(), clang::Sema::CreateBuiltinArraySubscriptExpr(), clang::Sema::CreateBuiltinBinOp(), clang::Sema::CreateBuiltinMatrixSubscriptExpr(), clang::Sema::CreateBuiltinUnaryOp(), clang::Sema::CreateGenericSelectionExpr(), clang::Sema::CreateOverloadedArraySubscriptExpr(), clang::Sema::CreateOverloadedBinOp(), clang::Sema::CreateOverloadedUnaryOp(), clang::Sema::CreateUnaryExprOrTypeTraitExpr(), clang::CStyleCastPtrExpr(), clang::Sema::CXXCheckConditionalOperands(), clang::Sema::DeduceAutoType(), DeduceNullPtrTemplateArgument(), clang::Sema::DefaultArgumentPromotion(), clang::Sema::DefaultFunctionArrayConversion(), clang::Sema::DefaultFunctionArrayLvalueConversion(), clang::Sema::DefaultLvalueConversion(), clang::Sema::DefaultVariadicArgumentPromotion(), clang::Sema::DefineDefaultedComparison(), clang::Sema::DefineImplicitLambdaToBlockPointerConversion(), clang::Sema::DefineImplicitLambdaToFunctionPointerConversion(), clang::InitializationSequence::Diagnose(), DiagnoseBadDivideOrRemainderValues(), DiagnoseBadFunctionCast(), DiagnoseBadShiftValues(), DiagnoseCallingConvCast(), DiagnoseCastOfObjCSEL(), DiagnoseCastQual(), diagnoseDistinctPointerComparison(), diagnoseFunctionPointerToVoidComparison(), diagnoseLogicalNotOnLHSofCheck(), diagnoseObjCLiteralComparison(), clang::Sema::DiagnoseUnknownTypeName(), diagnoseXorMisusedAsPow(), clang::Sema::EvaluateStaticAssertMessageAsString(), clang::SemaObjC::FindCompositeObjCPointerType(), clang::Sema::FindCompositePointerType(), FindConditionalOverload(), findOMPAllocatorHandleT(), clang::Interpreter::FindRuntimeInterface(), FinishForRangeVarDecl(), FinishOpenMPLinearClause(), FinishOverloadedCallExpr(), clang::Sema::FixOverloadedFunctionReference(), formImmediatelyDeclaredConstraint(), clang::Sema::GatherArgumentsForCall(), clang::ActionResult< PtrTy, Compress >::getAs(), clang::ActionResult< PtrTy, true >::getAs(), clang::DeclaratorChunk::getFunction(), getGenericLambdaTemplateParameterList(), clang::SemaOpenMP::getOpenMPCapturedExpr(), clang::Sema::getTrivialTemplateArgumentLoc(), clang::Sema::getTypeName(), handleComplexFloatConversion(), handleComplexIntConversion(), handleComplexIntegerToFloatConversion(), handleCXXAssumeAttr(), handleFloatConversion(), handleIntegerConversion(), handleIntToFloatConversion(), clang::Sema::IgnoredValueConversions(), clang::Sema::ImpCastExprToType(), clang::InitializationSequence::InitializeFrom(), clang::Sema::InstantiateClassTemplateSpecialization(), instantiateDependentFunctionAttrCondition(), clang::Sema::instantiateExplicitSpecifier(), clang::Sema::InstantiateFunctionDefinition(), clang::Sema::InstantiateInClassInitializer(), clang::Sema::InstantiateMemInitializers(), instantiateOMPDeclareSimdDeclAttr(), instantiateOMPDeclareVariantAttr(), clang::Sema::InvalidLogicalVectorOperands(), clang::Sema::InvalidOperands(), isNullPointerValueTemplateArgument(), clang::SemaObjC::LookupInObjCMethod(), LookupMemberExpr(), clang::Sema::MakeFullDiscardedValueExpr(), clang::Sema::MaybeCreateExprWithCleanups(), maybeTailCall(), OpenCLArithmeticConversions(), OpenCLCheckVectorConditional(), OpenCLConvertScalarsToVectors(), clang::Parser::ParseConstraintExpression(), clang::Parser::ParseConstraintLogicalAndExpression(), clang::Parser::ParseConstraintLogicalOrExpression(), clang::Parser::ParseOpenMPParensExpr(), clang::Parser::ParseOpenMPVarList(), parseStepSize(), clang::InitializationSequence::Perform(), PerformConstructorInitialization(), clang::Sema::PerformContextualImplicitConversion(), clang::Sema::PerformImplicitConversion(), clang::Sema::PerformImplicitObjectArgumentInitialization(), clang::Sema::PerformObjectMemberConversion(), clang::Sema::PrepareBuiltinElementwiseMathOneArgCall(), clang::Sema::PrepareScalarCast(), clang::Sema::prepareVectorSplat(), processImplicitMapsWithDefaultMappers(), clang::TreeTransform< Derived >::RebuildCoawaitExpr(), RebuildForRangeWithDereference(), clang::TreeTransform< Derived >::RebuildMemberExpr(), clang::TreeTransform< Derived >::RebuildObjCForCollectionStmt(), rebuildPotentialResultsAsNonOdrUsed(), clang::TreeTransform< Derived >::RebuildShuffleVectorExpr(), RemoveNestedImmediateInvocation(), clang::Sema::resolveAndFixAddressOfSingleOverloadCandidate(), clang::Sema::ResolveAndFixSingleFunctionTemplateSpecialization(), rewriteBuiltinFunctionDecl(), clang::SemaObjC::SetIvarInitializers(), clang::DeclSpec::SetTypeSpecType(), ShouldTryAgainWithRedefinitionType(), SubstituteConstraintExpressionWithoutSatisfaction(), clang::TreeTransform< Derived >::TransformCondition(), clang::TreeTransform< Derived >::TransformCXXNamedCastExpr(), clang::TreeTransform< Derived >::TransformExceptionSpec(), clang::TreeTransform< Derived >::TransformExprRequirement(), clang::TreeTransform< Derived >::TransformExprs(), clang::TreeTransform< Derived >::TransformFunctionProtoType(), clang::TreeTransform< Derived >::TransformNestedRequirement(), clang::TreeTransform< Derived >::TransformOMPExecutableDirective(), clang::TreeTransform< Derived >::TransformOMPInformationalDirective(), clang::transformOMPMappableExprListClause(), clang::TreeTransform< Derived >::TransformParenDependentScopeDeclRefExpr(), TryAddressSpaceCast(), clang::Parser::TryAnnotateTypeOrScopeTokenAfterScopeSpec(), TryConstCast(), clang::Sema::tryExprAsCall(), TryOrBuildParenListInitialization(), TryReinterpretCast(), clang::Sema::tryResolveExplicitSpecifier(), TryStaticCast(), TryStaticImplicitCast(), TryStaticMemberPointerUpcast(), tryVectorConvertAndSplat(), clang::Sema::UsualArithmeticConversions(), clang::Sema::UsualUnaryConversions(), clang::Sema::VerifyBitField(), clang::Sema::VerifyIntegerConstantExpression(), clang::TemplateDeclInstantiator::VisitCXXMethodDecl(), and clang::TemplateDeclInstantiator::VisitFunctionDecl().

◆ getAs()

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

◆ isInvalid()

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

Definition at line 166 of file Ownership.h.

Referenced by clang::Sema::ActOnArraySubscriptExpr(), clang::Sema::ActOnCapScopeReturnStmt(), clang::Sema::ActOnCaseExpr(), clang::Sema::ActOnCaseStmt(), clang::Sema::ActOnChooseExpr(), clang::Sema::ActOnCoawaitExpr(), clang::Sema::ActOnCondition(), clang::Sema::ActOnConditionalOp(), clang::Sema::ActOnCoroutineBodyStart(), clang::Sema::ActOnCoyieldExpr(), clang::Sema::ActOnCXXAssumeAttr(), clang::Sema::ActOnCXXDelete(), clang::Sema::ActOnCXXForRangeStmt(), clang::Sema::ActOnDecltypeExpression(), clang::Sema::ActOnDoStmt(), clang::Sema::ActOnExplicitInstantiation(), clang::Sema::ActOnExprStmt(), clang::Sema::ActOnForEachLValueExpr(), clang::Sema::ActOnGCCAsmStmt(), clang::Sema::ActOnIndirectGotoStmt(), clang::SemaOpenACC::ActOnIntExpr(), clang::Sema::ActOnMemberAccessExpr(), clang::Sema::ActOnNoexceptSpec(), clang::SemaObjC::ActOnObjCAtSynchronizedOperand(), clang::SemaObjC::ActOnObjCForCollectionStmt(), clang::SemaOpenMP::ActOnOMPArraySectionExpr(), actOnOMPReductionKindClause(), clang::SemaOpenMP::ActOnOpenMPAlignClause(), clang::SemaOpenMP::ActOnOpenMPAlignedClause(), clang::SemaOpenMP::ActOnOpenMPAllocateClause(), clang::SemaOpenMP::ActOnOpenMPCollapseClause(), clang::SemaOpenMP::ActOnOpenMPCopyinClause(), clang::SemaOpenMP::ActOnOpenMPCopyprivateClause(), clang::SemaOpenMP::ActOnOpenMPDistScheduleClause(), clang::SemaOpenMP::ActOnOpenMPExecutableDirective(), clang::SemaOpenMP::ActOnOpenMPFinalClause(), clang::SemaOpenMP::ActOnOpenMPHintClause(), clang::SemaOpenMP::ActOnOpenMPIfClause(), clang::SemaOpenMP::ActOnOpenMPLastprivateClause(), clang::SemaOpenMP::ActOnOpenMPLinearClause(), clang::SemaOpenMP::ActOnOpenMPNocontextClause(), clang::SemaOpenMP::ActOnOpenMPNovariantsClause(), clang::SemaOpenMP::ActOnOpenMPOrderedClause(), clang::SemaOpenMP::ActOnOpenMPPartialClause(), clang::SemaOpenMP::ActOnOpenMPSafelenClause(), clang::SemaOpenMP::ActOnOpenMPScheduleClause(), clang::SemaOpenMP::ActOnOpenMPSimdlenClause(), clang::Sema::ActOnPackIndexingExpr(), clang::SemaObjC::ActOnPropertyImplDecl(), clang::Sema::ActOnRequiresClause(), clang::Sema::ActOnReturnStmt(), clang::Sema::ActOnStmtExprResult(), clang::Sema::ActOnTag(), clang::Sema::ActOnVariableDeclarator(), clang::Sema::AddAlignedAttr(), clang::Sema::AddAlignValueAttr(), clang::Sema::AddInitializerToDecl(), clang::AssertSuccess(), clang::Sema::AttachTypeConstraint(), clang::Sema::BuildAnonymousStructUnionMemberReference(), clang::Sema::BuildArrayType(), clang::Sema::BuildAtomicExpr(), clang::Sema::BuildBaseInitializer(), clang::Sema::BuildBinOp(), clang::Sema::BuildBitIntType(), clang::Sema::BuildBuiltinOffsetOf(), clang::Sema::BuildCallExpr(), clang::Sema::BuildCallToMemberFunction(), clang::Sema::BuildCallToObjectOfClassType(), buildCoawaitCalls(), clang::Sema::BuildCodeAlignAttr(), clang::Sema::BuildCoreturnStmt(), buildCoroutineHandle(), clang::Sema::buildCoroutineParameterMoves(), clang::Sema::buildCoroutinePromise(), buildCounterUpdate(), clang::Sema::BuildCoyieldExpr(), clang::Sema::BuildCXXAssumeExpr(), clang::Sema::BuildCXXDefaultArgExpr(), clang::Sema::BuildCXXDefaultInitExpr(), clang::Sema::BuildCXXForRangeStmt(), clang::Sema::BuildCXXMemberCallExpr(), clang::Sema::BuildCXXNew(), clang::Sema::BuildCXXNoexceptExpr(), clang::Sema::BuildCXXThrow(), clang::Sema::BuildCXXTypeId(), clang::Sema::BuildDelegatingInitializer(), clang::Sema::BuildExceptionDeclaration(), clang::Sema::BuildExpressionFromDeclTemplateArgument(), clang::Sema::BuildExpressionTrait(), clang::Sema::BuildExprRequirement(), clang::Sema::BuildForRangeBeginEndCall(), BuildImplicitBaseInitializer(), BuildImplicitMemberInitializer(), clang::Sema::BuildInitList(), clang::SemaObjC::BuildIvarRefExpr(), clang::Sema::BuildLiteralOperatorCall(), clang::Sema::BuildMemberInitializer(), clang::Sema::BuildMemberReferenceExpr(), BuildNonArrayForRange(), clang::SemaObjC::BuildObjCArrayLiteral(), clang::SemaObjC::BuildObjCBoxedExpr(), clang::SemaObjC::BuildObjCBridgedCast(), clang::SemaObjC::BuildObjCNumericLiteral(), buildOperatorCoawaitCall(), clang::Sema::BuildOverloadedArrowExpr(), buildPromiseCall(), BuildRecoveryCallExpr(), clang::Sema::BuildResolvedCallExpr(), clang::Sema::BuildResolvedCoawaitExpr(), clang::Sema::BuildReturnStmt(), buildSingleCopyAssignRecursively(), clang::Sema::BuildStaticAssertDeclaration(), buildStdNoThrowDeclRef(), clang::Sema::BuildSynthesizedThreeWayComparison(), clang::Sema::BuildTemplateIdExpr(), clang::Sema::BuildUnresolvedCoawaitExpr(), BuiltinAlignment(), clang::SemaARM::BuiltinARMMemoryTaggingCall(), BuiltinCallWithStaticChain(), BuiltinCountZeroBitsGeneric(), BuiltinDumpStruct(), clang::Sema::BuiltinElementwiseTernaryMath(), BuiltinFunctionStart(), BuiltinLaunder(), BuiltinOverflow(), BuiltinPopcountg(), clang::Sema::BuiltinVectorMath(), calculateConstraintSatisfaction(), clang::Sema::CallExprUnaryConversions(), clang::Sema::CheckAdditionOperands(), clang::Sema::CheckAddressOfOperand(), clang::SemaAMDGPU::CheckAMDGCNBuiltinFunctionCall(), clang::Sema::CheckArgsForPlaceholders(), checkArithmeticOrEnumeralCompare(), checkArithmeticOrEnumeralThreeWayCompare(), clang::SemaARM::CheckARMBuiltinExclusiveCall(), CheckArrow(), clang::SemaPseudoObject::checkAssignment(), clang::Sema::CheckAssignmentOperands(), clang::Sema::CheckBitwiseOperands(), clang::Sema::CheckBooleanCondition(), checkBuiltinArgument(), clang::SemaRISCV::CheckBuiltinFunctionCall(), CheckCommaOperands(), clang::Sema::CheckCompareOperands(), clang::Sema::CheckConditionalOperands(), CheckConstraintSatisfaction(), clang::Sema::CheckEnumConstant(), checkFunctionConditionAttr(), CheckIncrementDecrementOperand(), CheckIndirectionOperand(), clang::Sema::CheckLogicalOperands(), clang::Sema::CheckLoopHintExpr(), checkMappableExpressionList(), clang::Sema::CheckMatrixElementwiseOperands(), clang::Sema::CheckMatrixMultiplyOperands(), clang::SemaObjC::CheckMessageArgumentTypes(), clang::Sema::CheckMultiplyDivideOperands(), clang::SemaARM::CheckNeonBuiltinFunctionCall(), clang::SemaObjC::CheckObjCForCollectionOperand(), checkPlaceholderForOverload(), checkPointerAuthValue(), clang::Sema::CheckPointerToMemberOperands(), CheckRealImagOperand(), clang::Sema::CheckRemainderOperands(), clang::Sema::CheckShiftOperands(), clang::Sema::CheckSingleAssignmentConstraints(), clang::Sema::CheckSizelessVectorOperands(), checkSizelessVectorShift(), clang::Sema::CheckSubtractionOperands(), clang::Sema::CheckSwitchCondition(), clang::Sema::CheckTemplateArgument(), clang::Sema::checkUnknownAnyArg(), clang::Sema::CheckVectorOperands(), checkVectorShift(), clang::Sema::ClassifyName(), clang::SemaCodeCompletion::CodeCompleteMemberReferenceExpr(), clang::SemaCodeCompletion::CodeCompleteObjCInstanceMessage(), CollectFieldInitializer(), collectPlacementArgs(), ComputeDefaultedComparisonExceptionSpec(), convertArgsForAvailabilityChecks(), CopyObject(), clang::Sema::CreateBuiltinArraySubscriptExpr(), clang::Sema::CreateBuiltinBinOp(), clang::Sema::CreateBuiltinMatrixSubscriptExpr(), clang::Sema::CreateBuiltinUnaryOp(), clang::Sema::CreateGenericSelectionExpr(), clang::Sema::CreateOverloadedArraySubscriptExpr(), clang::Sema::CreateOverloadedBinOp(), clang::Sema::CreateOverloadedUnaryOp(), clang::Sema::CreateUnaryExprOrTypeTraitExpr(), clang::Sema::CXXCheckConditionalOperands(), clang::Sema::DeduceAutoType(), clang::Sema::DefaultArgumentPromotion(), clang::Sema::DefaultFunctionArrayConversion(), clang::Sema::DefaultFunctionArrayLvalueConversion(), clang::Sema::DefaultLvalueConversion(), clang::Sema::DefaultVariadicArgumentPromotion(), clang::Sema::DefineDefaultedComparison(), clang::Sema::DefineImplicitCopyAssignment(), clang::Sema::DefineImplicitLambdaToBlockPointerConversion(), clang::Sema::DefineImplicitMoveAssignment(), DiagnoseCastQual(), EvaluateBooleanTypeTrait(), clang::Sema::EvaluateStaticAssertMessageAsString(), clang::Sema::FindCompositePointerType(), FindConditionalOverload(), FinishOverloadedCallExpr(), clang::Sema::FixOverloadedFunctionReference(), formImmediatelyDeclaredConstraint(), clang::Sema::GatherArgumentsForCall(), clang::DeclaratorChunk::getFunction(), clang::Sema::IgnoredValueConversions(), clang::Sema::ImpCastExprToType(), clang::InitializationSequence::InitializeFrom(), clang::Sema::InstantiateClassTemplateSpecialization(), instantiateDependentFunctionAttrCondition(), clang::Sema::instantiateExplicitSpecifier(), clang::Sema::InstantiateFunctionDefinition(), clang::Sema::InstantiateMemInitializers(), instantiateOMPDeclareSimdDeclAttr(), instantiateOMPDeclareVariantAttr(), isNullPointerValueTemplateArgument(), clang::ActionResult< PtrTy, Compress >::isUsable(), clang::ActionResult< PtrTy, true >::isUsable(), clang::SemaObjC::LookupInObjCMethod(), LookupMemberExpr(), makeLaunchBoundsArgExpr(), clang::Sema::MaybeCreateExprWithCleanups(), maybeTailCall(), OpenCLArithmeticConversions(), OpenCLCheckVectorConditional(), clang::Parser::ParseConstraintLogicalAndExpression(), parseDeclareSimdClauses(), clang::InitializationSequence::Perform(), PerformConstructorInitialization(), clang::Sema::PerformContextualImplicitConversion(), clang::Sema::PerformImplicitConversion(), clang::Sema::PerformImplicitObjectArgumentInitialization(), PrepareArgumentsForCallToObjectOfClassType(), clang::Sema::PrepareBuiltinElementwiseMathOneArgCall(), clang::Sema::prepareVectorSplat(), processImplicitMapsWithDefaultMappers(), ProcessOpenMPDoacrossClauseCommon(), clang::TreeTransform< Derived >::RebuildCoawaitExpr(), RebuildForRangeWithDereference(), clang::TreeTransform< Derived >::RebuildMemberExpr(), clang::TreeTransform< Derived >::RebuildObjCForCollectionStmt(), rebuildPotentialResultsAsNonOdrUsed(), clang::Sema::resolveAndFixAddressOfSingleOverloadCandidate(), clang::Sema::ResolveAndFixSingleFunctionTemplateSpecialization(), rewriteBuiltinFunctionDecl(), clang::Sema::SelectBestMethod(), clang::SemaObjC::SetIvarInitializers(), clang::DeclSpec::SetTypeSpecType(), clang::TreeTransform< Derived >::TransformCondition(), clang::TreeTransform< Derived >::TransformCXXNamedCastExpr(), clang::TreeTransform< Derived >::TransformExceptionSpec(), clang::TreeTransform< Derived >::TransformExprRequirement(), clang::TreeTransform< Derived >::TransformExprs(), clang::TreeTransform< Derived >::TransformFunctionProtoType(), clang::TreeTransform< Derived >::TransformNestedRequirement(), clang::TreeTransform< Derived >::TransformOMPExecutableDirective(), clang::TreeTransform< Derived >::TransformOMPInformationalDirective(), clang::transformOMPMappableExprListClause(), TryOrBuildParenListInitialization(), TryStaticCast(), clang::Sema::UsualArithmeticConversions(), clang::Sema::UsualUnaryConversions(), clang::Sema::VerifyBitField(), clang::Sema::VerifyIntegerConstantExpression(), and clang::SemaOpenMP::VerifyPositiveIntegerConstantInClause().

◆ isUnset()

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

◆ isUsable()

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

Definition at line 168 of file Ownership.h.

References clang::ActionResult< PtrTy, Compress >::isInvalid(), and clang::ActionResult< PtrTy, Compress >::isUnset().

Referenced by clang::SemaOpenACC::ActOnArraySectionExpr(), clang::SemaOpenACC::ActOnAssociatedStmt(), clang::Sema::ActOnCastExpr(), clang::Sema::ActOnConditionalOp(), clang::Sema::ActOnConstantExpression(), clang::SemaOpenACC::ActOnEndStmtDirective(), clang::Sema::ActOnExplicitInstantiation(), clang::SemaObjC::ActOnObjCAtSynchronizedOperand(), clang::SemaOpenMP::ActOnOMPIteratorExpr(), actOnOMPReductionKindClause(), clang::SemaOpenMP::ActOnOpenMPAffinityClause(), clang::SemaOpenMP::ActOnOpenMPCall(), clang::SemaOpenMP::ActOnOpenMPDependClause(), clang::SemaOpenMP::ActOnOpenMPInterchangeDirective(), clang::SemaOpenMP::ActOnOpenMPLastprivateClause(), clang::SemaOpenMP::ActOnOpenMPLinearClause(), clang::SemaOpenMP::ActOnOpenMPReverseDirective(), clang::SemaOpenMP::ActOnOpenMPTileDirective(), clang::SemaOpenMP::ActOnOpenMPUnrollDirective(), clang::SemaObjC::ActOnSuperClassOfClassInterface(), clang::Sema::AddInitializerToDecl(), clang::Sema::AttachTypeConstraint(), clang::Sema::BuildArrayType(), clang::Sema::BuildBinOp(), clang::Sema::BuildBuiltinCallExpr(), buildCapture(), buildCaptureDecl(), buildCounterInit(), buildCounterUpdate(), clang::Sema::BuildCXXForRangeStmt(), clang::SemaObjC::BuildInstanceMessage(), clang::Sema::BuildMemberReferenceExpr(), buildMemcpyForAssignmentOp(), clang::Sema::BuildMemInitializer(), clang::Sema::BuildPackIndexingExpr(), clang::Sema::BuildPackIndexingType(), clang::Sema::BuildTemplateIdExpr(), calculateConstraintSatisfaction(), clang::Sema::CheckConditionalOperands(), clang::SemaObjC::CheckObjCForCollectionOperand(), clang::SemaOpenMP::checkOpenMPDeclareVariantFunction(), checkOpenMPLoop(), clang::Sema::checkUnknownAnyCast(), clang::Sema::ClassifyName(), clang::SemaCodeCompletion::CodeCompleteObjCInstanceMessage(), clang::Sema::CreateBuiltinBinOp(), clang::Sema::CreateOverloadedBinOp(), findOMPAllocatorHandleT(), FinishForRangeVarDecl(), FinishOverloadedCallExpr(), clang::DeclaratorChunk::getFunction(), clang::SemaOpenMP::getOpenMPCapturedExpr(), handleCXXAssumeAttr(), clang::Sema::InstantiateClassTemplateSpecialization(), instantiateDependentAMDGPUMaxNumWorkGroupsAttr(), instantiateOMPDeclareVariantAttr(), clang::SemaObjC::LookupInObjCMethod(), clang::Parser::ParseConstraintExpression(), clang::Parser::ParseConstraintLogicalAndExpression(), clang::Parser::ParseConstraintLogicalOrExpression(), parseDeclareSimdClauses(), clang::Parser::ParseOpenMPVarList(), parseStepSize(), clang::Sema::PerformContextualImplicitConversion(), rebuildPotentialResultsAsNonOdrUsed(), RemoveNestedImmediateInvocation(), clang::Sema::ResolveAndFixSingleFunctionTemplateSpecialization(), SubstituteConstraintExpressionWithoutSatisfaction(), clang::TreeTransform< Derived >::TransformExprRequirement(), clang::TreeTransform< Derived >::TransformOMPExecutableDirective(), clang::TreeTransform< Derived >::TransformParenDependentScopeDeclRefExpr(), clang::Parser::TryAnnotateTypeOrScopeTokenAfterScopeSpec(), clang::Sema::tryExprAsCall(), TryReinterpretCast(), clang::Sema::tryResolveExplicitSpecifier(), TryStaticMemberPointerUpcast(), clang::TemplateDeclInstantiator::VisitCXXMethodDecl(), and clang::TemplateDeclInstantiator::VisitFunctionDecl().

◆ operator=()

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

Definition at line 173 of file Ownership.h.


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