class CXXFunctionalCastExpr
Declaration
class CXXFunctionalCastExpr : public ExplicitCastExpr,
private TrailingObjects { /* full declaration omitted */ };
Description
Represents an explicit C++ type conversion that uses "functional" notation (C++ [expr.type.conv]). Example:
Declared at: clang/include/clang/AST/ExprCXX.h:1726
Inherits from: ExplicitCastExpr, TrailingObjects
Member Variables
- private clang::SourceLocation LParenLoc
- private clang::SourceLocation RParenLoc
Inherited from Stmt:
Method Overview
- private CXXFunctionalCastExpr(clang::QualType ty, clang::ExprValueKind VK, clang::TypeSourceInfo * writtenTy, clang::CastKind kind, clang::Expr * castExpr, unsigned int pathSize, clang::FPOptionsOverride FPO, clang::SourceLocation lParenLoc, clang::SourceLocation rParenLoc)
- private CXXFunctionalCastExpr(clang::Stmt::EmptyShell Shell, unsigned int PathSize, bool HasFPFeatures)
- public static clang::CXXFunctionalCastExpr * Create(const clang::ASTContext & Context, clang::QualType T, clang::ExprValueKind VK, clang::TypeSourceInfo * Written, clang::CastKind Kind, clang::Expr * Op, const clang::CXXCastPath * Path, clang::FPOptionsOverride FPO, clang::SourceLocation LPLoc, clang::SourceLocation RPLoc)
- public static clang::CXXFunctionalCastExpr * CreateEmpty(const clang::ASTContext & Context, unsigned int PathSize, bool HasFPFeatures)
- public static bool classof(const clang::Stmt * T)
- public clang::SourceLocation getBeginLoc() const
- public clang::SourceLocation getEndLoc() const
- public clang::SourceLocation getLParenLoc() const
- public clang::SourceLocation getRParenLoc() const
- public bool isListInitialization() const
- private unsigned int numTrailingObjects(OverloadToken<clang::CXXBaseSpecifier *>) const
- public void setLParenLoc(clang::SourceLocation L)
- public void setRParenLoc(clang::SourceLocation L)
Inherited from ExplicitCastExpr:
Inherited from CastExpr:
- public children
- public children
- public classof
- public getCastKind
- public getCastKindName
- public getCastKindName
- public getConversionFunction
- public getFPFeatures
- public getFPFeaturesInEffect
- public getStoredFPFeatures
- public getSubExpr
- public getSubExpr
- public getSubExprAsWritten
- public getSubExprAsWritten
- public getTargetFieldForToUnionCast
- public getTargetFieldForToUnionCast
- public getTargetUnionField
- protected getTrailingFPFeatures
- protected getTrailingFPFeatures
- public hasStoredFPFeatures
- public path
- public path
- public path_begin
- public path_begin
- public path_empty
- public path_end
- public path_end
- public path_size
- public setCastKind
- public setSubExpr
Inherited from Expr:
- public Classify
- public ClassifyLValue
- public ClassifyModifiable
- public EvaluateAsBooleanCondition
- public EvaluateAsConstantExpr
- public EvaluateAsFixedPoint
- public EvaluateAsFloat
- public EvaluateAsInitializer
- public EvaluateAsInt
- public EvaluateAsLValue
- public EvaluateAsRValue
- public EvaluateForOverflow
- public EvaluateKnownConstInt
- public EvaluateKnownConstIntCheckOverflow
- public EvaluateWithSubstitution
- public HasSideEffects
- public IgnoreCasts
- public IgnoreCasts
- public IgnoreConversionOperatorSingleStep
- public IgnoreConversionOperatorSingleStep
- public IgnoreImpCasts
- public IgnoreImpCasts
- public IgnoreImplicit
- public IgnoreImplicit
- public IgnoreImplicitAsWritten
- public IgnoreImplicitAsWritten
- public IgnoreParenBaseCasts
- public IgnoreParenBaseCasts
- public IgnoreParenCasts
- public IgnoreParenCasts
- public IgnoreParenImpCasts
- public IgnoreParenImpCasts
- public IgnoreParenLValueCasts
- public IgnoreParenLValueCasts
- public IgnoreParenNoopCasts
- public IgnoreParenNoopCasts
- public IgnoreParens
- public IgnoreParens
- public IgnoreUnlessSpelledInSource
- public IgnoreUnlessSpelledInSource
- public classof
- public containsErrors
- public containsUnexpandedParameterPack
- public findBoundMemberType
- public getAsBuiltinConstantDeclRef
- public getBestDynamicClassType
- public getBestDynamicClassTypeExpr
- public getDependence
- public getExprLoc
- public getFPFeaturesInEffect
- public getIntegerConstantExpr
- public getObjCProperty
- public getObjectKind
- public getReferencedDeclOfCallee
- public getReferencedDeclOfCallee
- public getSourceBitField
- public getSourceBitField
- public getType
- public getValueKind
- public getValueKindForType
- public hasAnyTypeDependentArguments
- public hasNonTrivialCall
- public hasPlaceholderType
- public hasPlaceholderType
- public isBoundMemberFunction
- public isCXX11ConstantExpr
- public isCXX98IntegralConstantExpr
- public isConstantInitializer
- public isDefaultArgument
- public isEvaluatable
- public isGLValue
- public isImplicitCXXThis
- public isInstantiationDependent
- public isIntegerConstantExpr
- public isKnownToHaveBooleanValue
- public isLValue
- public isModifiableLvalue
- public isNullPointerConstant
- public isOBJCGCCandidate
- public isObjCSelfExpr
- public isOrdinaryOrBitFieldObject
- public isPRValue
- public isPotentialConstantExpr
- public isPotentialConstantExprUnevaluated
- public isReadIfDiscardedInCPlusPlus11
- public isSameComparisonOperand
- public isTemporaryObject
- public isTypeDependent
- public isUnusedResultAWarning
- public isValueDependent
- public isXValue
- public refersToBitField
- public refersToGlobalRegisterVar
- public refersToMatrixElement
- public refersToVectorElement
- protected setDependence
- public setObjectKind
- public setType
- public setValueKind
- public skipRValueSubobjectAdjustments
- public skipRValueSubobjectAdjustments
- public tryEvaluateObjectSize
- public tryEvaluateStrLen
Inherited from ValueStmt:
Inherited from Stmt:
- public EnableStatistics
- public IgnoreContainers
- public IgnoreContainers
- public PrintStats
- public ProcessODRHash
- public Profile
- public addStmtClass
- public child_begin
- public child_begin
- public child_end
- public child_end
- public children
- public children
- public determineLikelihoodConflict
- public dump
- public dump
- public dumpColor
- public dumpPretty
- public getBeginLoc
- public getEndLoc
- public getID
- public getLikelihood
- public getLikelihood
- public getLikelihood
- public getLikelihoodAttr
- public getSourceRange
- public getStmtClass
- public getStmtClassName
- public printJson
- public printPretty
- public printPrettyControlled
- public stripLabelLikeStatements
- public stripLabelLikeStatements
- public viewAST
Methods
¶CXXFunctionalCastExpr(
clang::QualType ty,
clang::ExprValueKind VK,
clang::TypeSourceInfo* writtenTy,
clang::CastKind kind,
clang::Expr* castExpr,
unsigned int pathSize,
clang::FPOptionsOverride FPO,
clang::SourceLocation lParenLoc,
clang::SourceLocation rParenLoc)
CXXFunctionalCastExpr(
clang::QualType ty,
clang::ExprValueKind VK,
clang::TypeSourceInfo* writtenTy,
clang::CastKind kind,
clang::Expr* castExpr,
unsigned int pathSize,
clang::FPOptionsOverride FPO,
clang::SourceLocation lParenLoc,
clang::SourceLocation rParenLoc)
Declared at: clang/include/clang/AST/ExprCXX.h:1733
Parameters
- clang::QualType ty
- clang::ExprValueKind VK
- clang::TypeSourceInfo* writtenTy
- clang::CastKind kind
- clang::Expr* castExpr
- unsigned int pathSize
- clang::FPOptionsOverride FPO
- clang::SourceLocation lParenLoc
- clang::SourceLocation rParenLoc
¶CXXFunctionalCastExpr(
clang::Stmt::EmptyShell Shell,
unsigned int PathSize,
bool HasFPFeatures)
CXXFunctionalCastExpr(
clang::Stmt::EmptyShell Shell,
unsigned int PathSize,
bool HasFPFeatures)
Declared at: clang/include/clang/AST/ExprCXX.h:1745
Parameters
- clang::Stmt::EmptyShell Shell
- unsigned int PathSize
- bool HasFPFeatures
¶static clang::CXXFunctionalCastExpr* Create(
const clang::ASTContext& Context,
clang::QualType T,
clang::ExprValueKind VK,
clang::TypeSourceInfo* Written,
clang::CastKind Kind,
clang::Expr* Op,
const clang::CXXCastPath* Path,
clang::FPOptionsOverride FPO,
clang::SourceLocation LPLoc,
clang::SourceLocation RPLoc)
static clang::CXXFunctionalCastExpr* Create(
const clang::ASTContext& Context,
clang::QualType T,
clang::ExprValueKind VK,
clang::TypeSourceInfo* Written,
clang::CastKind Kind,
clang::Expr* Op,
const clang::CXXCastPath* Path,
clang::FPOptionsOverride FPO,
clang::SourceLocation LPLoc,
clang::SourceLocation RPLoc)
Declared at: clang/include/clang/AST/ExprCXX.h:1759
Parameters
- const clang::ASTContext& Context
- clang::QualType T
- clang::ExprValueKind VK
- clang::TypeSourceInfo* Written
- clang::CastKind Kind
- clang::Expr* Op
- const clang::CXXCastPath* Path
- clang::FPOptionsOverride FPO
- clang::SourceLocation LPLoc
- clang::SourceLocation RPLoc
¶static clang::CXXFunctionalCastExpr* CreateEmpty(
const clang::ASTContext& Context,
unsigned int PathSize,
bool HasFPFeatures)
static clang::CXXFunctionalCastExpr* CreateEmpty(
const clang::ASTContext& Context,
unsigned int PathSize,
bool HasFPFeatures)
Declared at: clang/include/clang/AST/ExprCXX.h:1764
Parameters
- const clang::ASTContext& Context
- unsigned int PathSize
- bool HasFPFeatures
¶static bool classof(const clang::Stmt* T)
static bool classof(const clang::Stmt* T)
Declared at: clang/include/clang/AST/ExprCXX.h:1777
Parameters
- const clang::Stmt* T
¶clang::SourceLocation getBeginLoc() const
clang::SourceLocation getBeginLoc() const
Declared at: clang/include/clang/AST/ExprCXX.h:1774
¶clang::SourceLocation getEndLoc() const
clang::SourceLocation getEndLoc() const
Declared at: clang/include/clang/AST/ExprCXX.h:1775
¶clang::SourceLocation getLParenLoc() const
clang::SourceLocation getLParenLoc() const
Declared at: clang/include/clang/AST/ExprCXX.h:1766
¶clang::SourceLocation getRParenLoc() const
clang::SourceLocation getRParenLoc() const
Declared at: clang/include/clang/AST/ExprCXX.h:1768
¶bool isListInitialization() const
bool isListInitialization() const
Description
Determine whether this expression models list-initialization.
Declared at: clang/include/clang/AST/ExprCXX.h:1772
¶unsigned int numTrailingObjects(
OverloadToken<clang::CXXBaseSpecifier*>) const
unsigned int numTrailingObjects(
OverloadToken<clang::CXXBaseSpecifier*>) const
Declared at: clang/include/clang/AST/ExprCXX.h:1750
Parameters
- OverloadToken<clang::CXXBaseSpecifier*>
¶void setLParenLoc(clang::SourceLocation L)
void setLParenLoc(clang::SourceLocation L)
Declared at: clang/include/clang/AST/ExprCXX.h:1767
Parameters
¶void setRParenLoc(clang::SourceLocation L)
void setRParenLoc(clang::SourceLocation L)
Declared at: clang/include/clang/AST/ExprCXX.h:1769