clang
8.0.0
|
Stmt - This represents one statement. More...
#include "clang/AST/Stmt.h"
Public Types | |
enum | StmtClass { NoStmtClass = 0 } |
using | child_iterator = StmtIterator |
Child Iterators: All subclasses must implement 'children' to permit easy iteration over the substatements/subexpessions of an AST node. More... | |
using | const_child_iterator = ConstStmtIterator |
using | child_range = llvm::iterator_range< child_iterator > |
using | const_child_range = llvm::iterator_range< const_child_iterator > |
Public Member Functions | |
void * | operator new (size_t bytes, const ASTContext &C, unsigned alignment=8) |
void * | operator new (size_t bytes, const ASTContext *C, unsigned alignment=8) |
void * | operator new (size_t bytes, void *mem) noexcept |
void | operator delete (void *, const ASTContext &, unsigned) noexcept |
void | operator delete (void *, const ASTContext *, unsigned) noexcept |
void | operator delete (void *, size_t) noexcept |
void | operator delete (void *, void *) noexcept |
Stmt (StmtClass SC) | |
StmtClass | getStmtClass () const |
const char * | getStmtClassName () const |
SourceRange | getSourceRange () const LLVM_READONLY |
SourceLocation tokens are not useful in isolation - they are low level value objects created/interpreted by SourceManager. More... | |
SourceLocation | getBeginLoc () const LLVM_READONLY |
SourceLocation | getEndLoc () const LLVM_READONLY |
void | dump () const |
Dumps the specified AST fragment and all subtrees to llvm::errs() . More... | |
void | dump (SourceManager &SM) const |
void | dump (raw_ostream &OS, SourceManager &SM) const |
void | dump (raw_ostream &OS) const |
int64_t | getID (const ASTContext &Context) const |
void | dumpColor () const |
dumpColor - same as dump(), but forces color highlighting. More... | |
void | dumpPretty (const ASTContext &Context) const |
dumpPretty/printPretty - These two methods do a "pretty print" of the AST back to its original source language syntax. More... | |
void | printPretty (raw_ostream &OS, PrinterHelper *Helper, const PrintingPolicy &Policy, unsigned Indentation=0, StringRef NewlineSymbol="\, const ASTContext *Context=nullptr) const |
void | viewAST () const |
viewAST - Visualize an AST rooted at this Stmt* using GraphViz. More... | |
Stmt * | IgnoreImplicit () |
Skip past any implicit AST nodes which might surround this statement, such as ExprWithCleanups or ImplicitCastExpr nodes. More... | |
const Stmt * | IgnoreImplicit () const |
Stmt * | IgnoreContainers (bool IgnoreCaptured=false) |
Skip no-op (attributed, compound) container stmts and skip captured stmt at the top, if IgnoreCaptured is true. More... | |
const Stmt * | IgnoreContainers (bool IgnoreCaptured=false) const |
const Stmt * | stripLabelLikeStatements () const |
Strip off all label-like statements. More... | |
Stmt * | stripLabelLikeStatements () |
child_range | children () |
const_child_range | children () const |
child_iterator | child_begin () |
child_iterator | child_end () |
const_child_iterator | child_begin () const |
const_child_iterator | child_end () const |
void | Profile (llvm::FoldingSetNodeID &ID, const ASTContext &Context, bool Canonical) const |
Produce a unique representation of the given statement. More... | |
void | ProcessODRHash (llvm::FoldingSetNodeID &ID, ODRHash &Hash) const |
Calculate a unique representation for a statement that is stable across compiler invocations. More... | |
Static Public Member Functions | |
static void | addStmtClass (const StmtClass s) |
static void | EnableStatistics () |
static void | PrintStats () |
Protected Types | |
enum | { NumStmtBits = 8 } |
enum | { NumExprBits = NumStmtBits + 9 } |
enum | APFloatSemantics { IEEEhalf, IEEEsingle, IEEEdouble, x87DoubleExtended, IEEEquad, PPCDoubleDouble } |
enum | { NumCallExprBits = 32 } |
enum | { NumOverloadExprBits = NumExprBits + 1 } |
Protected Member Functions | |
void * | operator new (size_t bytes) noexcept |
void | operator delete (void *data) noexcept |
Stmt (StmtClass SC, EmptyShell) | |
Construct an empty statement. More... | |
Friends | |
class | ASTStmtReader |
class | ASTStmtWriter |
using clang::Stmt::child_range = llvm::iterator_range<child_iterator> |
using clang::Stmt::const_child_range = llvm::iterator_range<const_child_iterator> |
|
protected |
|
inlineexplicitprotected |
Construct an empty statement.
Definition at line 1017 of file Stmt.h.
Referenced by copyIntoContext(), clang::CXXTryStmt::Create(), clang::CoroutineBodyStmt::Create(), clang::SEHExceptStmt::Create(), clang::CaseStmt::CreateEmpty(), clang::IndirectGotoStmt::getConstantTarget(), clang::SEHTryStmt::getFinallyHandler(), clang::ObjCForCollectionStmt::ObjCForCollectionStmt(), clang::SwitchStmt::setConditionVariable(), and clang::ForStmt::setConditionVariable().
|
static |
Definition at line 112 of file Stmt.cpp.
References StmtClassNameTable::Counter, and getStmtInfoTableEntry().
|
inline |
Definition at line 1108 of file Stmt.h.
References clang::children().
Referenced by llvm::GraphTraits< clang::Stmt * >::child_begin(), llvm::GraphTraits< const clang::Stmt * >::child_begin(), clang::OMPExecutableDirective::getAssociatedStmt(), clang::OMPLoopDirective::getCalcLastIteration(), clang::OMPLoopDirective::getCombinedCond(), clang::OMPLoopDirective::getCombinedDistCond(), clang::OMPLoopDirective::getCombinedEnsureUpperBound(), clang::OMPLoopDirective::getCombinedInit(), clang::OMPLoopDirective::getCombinedLowerBoundVariable(), clang::OMPLoopDirective::getCombinedNextLowerBound(), clang::OMPLoopDirective::getCombinedNextUpperBound(), clang::OMPLoopDirective::getCombinedParForInDistCond(), clang::OMPLoopDirective::getCombinedUpperBoundVariable(), clang::OMPLoopDirective::getCond(), clang::OMPLoopDirective::getDistInc(), clang::OMPLoopDirective::getEnsureUpperBound(), clang::OMPAtomicDirective::getExpr(), clang::DesignatedInitExpr::Designator::getFieldName(), clang::OMPLoopDirective::getInc(), clang::OMPLoopDirective::getInit(), clang::OMPLoopDirective::getIsLastIterVariable(), clang::OMPLoopDirective::getIterationVariable(), clang::OMPLoopDirective::getLastIteration(), clang::OMPLoopDirective::getLowerBoundVariable(), clang::OMPLoopDirective::getNextLowerBound(), clang::OMPLoopDirective::getNextUpperBound(), clang::OMPLoopDirective::getNumIterations(), clang::OMPLoopDirective::getPreCond(), clang::OMPLoopDirective::getPreInits(), clang::OMPLoopDirective::getPrevEnsureUpperBound(), clang::OMPLoopDirective::getPrevLowerBoundVariable(), clang::OMPLoopDirective::getPrevUpperBoundVariable(), clang::OMPTaskgroupDirective::getReductionRef(), clang::OMPLoopDirective::getStrideVariable(), clang::OMPAtomicDirective::getUpdateExpr(), clang::OMPLoopDirective::getUpperBoundVariable(), clang::OMPAtomicDirective::getV(), clang::OMPAtomicDirective::getX(), isIdenticalStmt(), clang::OMPLoopDirective::setCalcLastIteration(), clang::OMPLoopDirective::setCombinedCond(), clang::OMPLoopDirective::setCombinedDistCond(), clang::OMPLoopDirective::setCombinedEnsureUpperBound(), clang::OMPLoopDirective::setCombinedInit(), clang::OMPLoopDirective::setCombinedLowerBoundVariable(), clang::OMPLoopDirective::setCombinedNextLowerBound(), clang::OMPLoopDirective::setCombinedNextUpperBound(), clang::OMPLoopDirective::setCombinedParForInDistCond(), clang::OMPLoopDirective::setCombinedUpperBoundVariable(), clang::OMPLoopDirective::setCond(), clang::OMPLoopDirective::setDistInc(), clang::OMPLoopDirective::setEnsureUpperBound(), clang::OMPLoopDirective::setInc(), clang::OMPLoopDirective::setInit(), clang::OMPLoopDirective::setIsLastIterVariable(), clang::OMPLoopDirective::setIterationVariable(), clang::OMPLoopDirective::setLastIteration(), clang::OMPLoopDirective::setLowerBoundVariable(), clang::OMPLoopDirective::setNextLowerBound(), clang::OMPLoopDirective::setNextUpperBound(), clang::OMPLoopDirective::setNumIterations(), clang::OMPLoopDirective::setPreCond(), clang::OMPLoopDirective::setPreInits(), clang::OMPLoopDirective::setPrevEnsureUpperBound(), clang::OMPLoopDirective::setPrevLowerBoundVariable(), clang::OMPLoopDirective::setPrevUpperBoundVariable(), clang::OMPLoopDirective::setStrideVariable(), and clang::OMPLoopDirective::setUpperBoundVariable().
|
inline |
Definition at line 1111 of file Stmt.h.
References clang::children().
|
inline |
Definition at line 1109 of file Stmt.h.
References clang::children().
Referenced by llvm::GraphTraits< clang::Stmt * >::child_end(), llvm::GraphTraits< const clang::Stmt * >::child_end(), and isIdenticalStmt().
|
inline |
Definition at line 1112 of file Stmt.h.
References clang::children().
Stmt::child_range Stmt::children | ( | ) |
Definition at line 237 of file Stmt.cpp.
References NoStmtClass, clang::ast_matchers::stmt, and v.
Referenced by clang::Sema::ActOnOpenMPThreadprivateDirective(), AnalyzeImplicitConversions(), BuildUniqueMethodName(), clang::canSubExprsThrow(), clang::Sema::CheckConstexprFunctionBody(), clang::RecursiveASTVisitor< CallGraph >::getStmtChildren(), isAccessedBy(), isCapturedBy(), clang::ento::retaincountchecker::RetainCountChecker::processObjCLiterals(), reversePropagateIntererstingSymbols(), SearchForReturnInStmt(), clang::CloneConstraint::splitCloneGroups(), and Write_RethrowObject().
|
inline |
Definition at line 1103 of file Stmt.h.
References clang::children().
LLVM_DUMP_METHOD void Stmt::dump | ( | ) | const |
Dumps the specified AST fragment and all subtrees to llvm::errs()
.
Definition at line 1622 of file ASTDumper.cpp.
References P.
Referenced by clang::ento::PathDiagnosticLocation::dump(), and clang::LiveVariables::dumpStmtLiveness().
LLVM_DUMP_METHOD void Stmt::dump | ( | SourceManager & | SM | ) | const |
Definition at line 1608 of file ASTDumper.cpp.
References dump().
LLVM_DUMP_METHOD void Stmt::dump | ( | raw_ostream & | OS, |
SourceManager & | SM | ||
) | const |
Definition at line 1612 of file ASTDumper.cpp.
References P.
LLVM_DUMP_METHOD void Stmt::dump | ( | raw_ostream & | OS | ) | const |
Definition at line 1617 of file ASTDumper.cpp.
References P.
LLVM_DUMP_METHOD void Stmt::dumpColor | ( | ) | const |
dumpColor - same as dump(), but forces color highlighting.
Definition at line 1627 of file ASTDumper.cpp.
References P.
void Stmt::dumpPretty | ( | const ASTContext & | Context | ) | const |
dumpPretty/printPretty - These two methods do a "pretty print" of the AST back to its original source language syntax.
Definition at line 2379 of file StmtPrinter.cpp.
References clang::ASTContext::getLangOpts().
SourceLocation Stmt::getBeginLoc | ( | ) | const |
Definition at line 288 of file Stmt.cpp.
References NoStmtClass.
Referenced by clang::Sema::ActOnCallExpr(), clang::Sema::ActOnFinishCXXInClassMemberInitializer(), clang::Sema::ActOnOpenMPAtomicDirective(), clang::Sema::ActOnOpenMPDistScheduleClause(), clang::Sema::ActOnOpenMPLinearClause(), clang::Sema::ActOnOpenMPParallelSectionsDirective(), clang::Sema::ActOnOpenMPScheduleClause(), clang::Sema::ActOnOpenMPSectionsDirective(), AnalyzeAssignment(), AnalyzeImplicitConversions(), clang::CodeGen::CodeGenPGO::assignRegionCounters(), clang::arcmt::ObjCMigrateAction::BeginInvocation(), buildCaptureDecl(), clang::Sema::BuildDelegatingInitializer(), buildFakeCtorCall(), clang::Sema::BuildInstanceMessage(), clang::Sema::BuildMemberInitializer(), BuildNonArrayForRange(), clang::Sema::BuildOverloadedCallExpr(), clang::Sema::buildOverloadedCallSet(), clang::Sema::BuildVAArgExpr(), clang::canCalleeThrow(), clang::Sema::CanPerformCopyInitialization(), castForMoving(), CastForMoving(), checkConditionalVoidType(), clang::Sema::CheckConstexprFunctionBody(), CheckConstexprFunctionStmt(), CheckConvertedConstantExpression(), clang::Sema::checkDeclIsAllowedInOpenMPTarget(), checkDirectCallValidity(), CheckFallThroughForBody(), CheckFoldOperand(), CheckICE(), clang::Sema::CheckImplementationIvars(), CheckMoveOnConstruction(), CheckNonTypeTemplatePartialSpecializationArgs(), CheckObjCBridgeCFCast(), CheckObjCBridgeNSCast(), clang::Sema::CheckObjCBridgeRelatedCast(), clang::Sema::CheckObjCBridgeRelatedConversions(), CheckObjCCollectionLiteralElement(), checkObjCCollectionLiteralElement(), clang::Sema::checkOpenCLDisabledDecl(), checkOpenCLEnqueueIntType(), checkOpenCLPipeArg(), checkOpenMPLoop(), checkRecursiveFunction(), clang::Sema::checkStringLiteralArgumentAttr(), clang::Sema::CheckTemplateArgument(), CheckTemplateArgumentAddressOfObjectOrFunction(), CheckTemplateArgumentIsCompatibleWithParameter(), CheckTemplateArgumentPointerToMember(), checkThreeWayNarrowingConversion(), clang::Sema::checkVariadicArgument(), checkVAStartABI(), checkVAStartIsInVariadicFunction(), clang::Sema::CreateBuiltinBinOp(), clang::CXXOperatorCallExpr::CreateEmpty(), clang::ento::PathDiagnosticLocation::createEndOfPath(), clang::InitializationKind::CreateForInit(), CreateIfFixit(), clang::Sema::DeduceAutoType(), clang::Sema::DiagnoseAssignmentAsCondition(), DiagnoseBitwisePrecedence(), clang::Sema::DiagnoseCommaOperator(), DiagnoseConditionalPrecedence(), clang::Sema::DiagnoseEmptyLoopBody(), DiagnoseIndirectJumpStmt(), diagnoseLogicalNotOnLHSofCheck(), clang::Sema::DiagnoseMultipleUserDefinedConversion(), DiagnoseNarrowingInInitList(), diagnoseNoViableConversion(), diagnoseRepeatedUseOfWeak(), DiagnoseShiftCompare(), diagnoseStringPlusChar(), diagnoseStringPlusInt(), DiagnoseSwitchLabelsFallthrough(), diagnoseTautologicalComparison(), clang::Sema::DiagnoseUnexpandedParameterPack(), clang::Sema::diagnoseZeroToNullptrConversion(), DiagUninitUse(), clang::CodeGen::CodeGenFunction::EmitCastLValue(), emitOutlinedFunctionPrologue(), evaluateVarDeclInit(), FinishOverloadedCallExpr(), clang::Sema::GatherArgumentsForCall(), clang::CodeGen::CodeGenFunction::GenerateBlockFunction(), getArgumentValueString(), clang::OMPArraySectionExpr::getBeginLoc(), clang::StmtSequence::getBeginLoc(), clang::UserDefinedLiteral::getBeginLoc(), clang::CXXStdInitializerListExpr::getBeginLoc(), clang::MSPropertyRefExpr::getBeginLoc(), clang::ObjCSubscriptRefExpr::getBeginLoc(), clang::OpaqueValueExpr::getBeginLoc(), clang::CXXBindTemporaryExpr::getBeginLoc(), clang::CXXConstructExpr::getBeginLoc(), clang::ImaginaryLiteral::getBeginLoc(), clang::ObjCIndirectCopyRestoreExpr::getBeginLoc(), clang::UnaryOperator::getBeginLoc(), clang::CXXPseudoDestructorExpr::getBeginLoc(), clang::CallExpr::getBeginLoc(), clang::CompoundLiteralExpr::getBeginLoc(), clang::CXXDependentScopeMemberExpr::getBeginLoc(), clang::UnresolvedMemberExpr::getBeginLoc(), clang::PackExpansionExpr::getBeginLoc(), clang::DesignatedInitUpdateExpr::getBeginLoc(), getDefaultBuiltinObjectSizeResult(), getInitializationLoc(), getStrlenExprArg(), clang::Sema::ImpCastExprToType(), clang::InitializationSequence::InitializeFrom(), clang::Sema::InstantiateInClassInitializer(), isArithmeticArgumentPromotion(), clang::AnalysisDeclContext::isBodyAutosynthesizedFromModelFile(), IsEnumConstOrFromMacro(), IsInitializerListConstructorConversion(), clang::Expr::isKnownToHaveBooleanValue(), isNullPointerValueTemplateArgument(), clang::Expr::isUnusedResultAWarning(), IsUserDefinedConversion(), isValidOrderingForOp(), LookThroughTransitiveAssignmentsAndCommaOperators(), LookupMethodInReceiverType(), clang::InitializationSequence::Perform(), clang::Sema::PerformCopyInitialization(), clang::Sema::PerformImplicitConversion(), clang::ento::ExprEngine::processBranch(), clang::ento::ExprEngine::ProcessStmt(), clang::TreeTransform< Derived >::RebuildCXXForRangeStmt(), clang::TreeTransform< Derived >::RebuildCXXOperatorCallExpr(), removePunyEdges(), resolveBuiltinNewDeleteOverload(), rewriteToArrayLiteral(), rewriteToDictionaryLiteral(), scanToNextArgument(), clang::Sema::SemaBuiltinShuffleVector(), SemaOpenCLBuiltinEnqueueKernel(), SemaOpenCLBuiltinToAddr(), clang::CodeGen::CodeGenFunction::ShouldNullCheckClassCastValue(), clang::CodeGen::CodeGenFunction::startOutlinedSEHHelper(), clang::TreeTransform< Derived >::TransformAttr(), TryClassUnification(), TryCopyInitialization(), TryImplicitConversion(), TryLValueToRValueCast(), TryReferenceInitializationCore(), TryReferenceListInitialization(), TryRefInitWithConversionFunction(), TryUserDefinedConversion(), clang::Sema::VerifyIntegerConstantExpression(), clang::ASTNodeImporter::VisitExpr(), and Write_RethrowObject().
SourceLocation Stmt::getEndLoc | ( | ) | const |
Definition at line 301 of file Stmt.cpp.
References NoStmtClass.
Referenced by clang::Sema::ActOnFinishCXXInClassMemberInitializer(), clang::Sema::ActOnLambdaExpr(), clang::arcmt::ObjCMigrateAction::BeginInvocation(), clang::Sema::BuildCStyleCastExpr(), clang::Sema::BuildCXXFunctionalCastExpr(), clang::Sema::BuildDelegatingInitializer(), clang::Sema::BuildMemberInitializer(), CheckFallThroughForBody(), CheckFoldOperand(), CheckMemorySizeofForComparison(), clang::Sema::CheckObjCBridgeRelatedConversions(), clang::Sema::CreateBuiltinBinOp(), clang::CXXOperatorCallExpr::CreateEmpty(), clang::InitializationKind::CreateForInit(), CreateIfFixit(), clang::CXXDestructorCall::CXXDestructorCall(), DiagnoseBitwisePrecedence(), clang::Sema::DiagnoseCommaOperator(), DiagnoseConditionalPrecedence(), DiagnoseNarrowingInInitList(), diagnoseNoViableConversion(), DiagnoseShiftCompare(), diagnoseStringPlusChar(), diagnoseStringPlusInt(), clang::CodeGen::CodeGenFunction::GenerateSEHFinallyFunction(), clang::CXXCatchStmt::getEndLoc(), clang::ObjCForCollectionStmt::getEndLoc(), clang::ObjCStringLiteral::getEndLoc(), clang::ObjCAtCatchStmt::getEndLoc(), clang::StmtSequence::getEndLoc(), clang::ObjCAtFinallyStmt::getEndLoc(), clang::CXXForRangeStmt::getEndLoc(), clang::MSDependentExistsStmt::getEndLoc(), clang::ObjCAtThrowStmt::getEndLoc(), clang::ObjCAutoreleasePoolStmt::getEndLoc(), clang::CXXStdInitializerListExpr::getEndLoc(), clang::OpaqueValueExpr::getEndLoc(), clang::CXXBindTemporaryExpr::getEndLoc(), clang::CXXConstructExpr::getEndLoc(), clang::CaseStmt::getEndLoc(), clang::ImaginaryLiteral::getEndLoc(), clang::ObjCIndirectCopyRestoreExpr::getEndLoc(), clang::DefaultStmt::getEndLoc(), clang::CXXTemporaryObjectExpr::getEndLoc(), clang::LabelStmt::getEndLoc(), clang::AttributedStmt::getEndLoc(), clang::UnaryOperator::getEndLoc(), clang::CXXDeleteExpr::getEndLoc(), clang::IndirectGotoStmt::getEndLoc(), clang::ReturnStmt::getEndLoc(), clang::CompoundLiteralExpr::getEndLoc(), clang::SEHFinallyStmt::getEndLoc(), clang::SEHTryStmt::getEndLoc(), clang::DesignatedInitUpdateExpr::getEndLoc(), clang::BlockExpr::getEndLoc(), clang::FieldDecl::getSourceRange(), clang::BlockDecl::getSourceRange(), isArithmeticArgumentPromotion(), isNullPointerValueTemplateArgument(), clang::Expr::isUnusedResultAWarning(), rewriteToDictionaryLiteral(), clang::consumed::ConsumedAnalyzer::run(), scanToNextArgument(), clang::Sema::SemaBuiltinShuffleVector(), clang::FunctionDecl::setBody(), and Write_RethrowObject().
int64_t Stmt::getID | ( | const ASTContext & | Context | ) | const |
Definition at line 313 of file Stmt.cpp.
Referenced by clang::ento::AllocaRegion::dumpToStream(), clang::ento::CompoundLiteralRegion::dumpToStream(), and clang::ento::CXXTempObjectRegion::dumpToStream().
SourceRange Stmt::getSourceRange | ( | ) | const |
SourceLocation tokens are not useful in isolation - they are low level value objects created/interpreted by SourceManager.
We assume AST clients will have a pointer to the respective SourceManager.
Definition at line 276 of file Stmt.cpp.
References NoStmtClass.
Referenced by clang::Sema::ActOnCastExpr(), clang::Sema::ActOnCXXFoldExpr(), clang::Sema::ActOnDependentMemberExpr(), clang::Sema::ActOnObjCAtSynchronizedOperand(), clang::Sema::ActOnOpenMPAtomicDirective(), clang::Sema::ActOnOpenMPDeclareSimdDirective(), clang::Sema::ActOnOpenMPIsDevicePtrClause(), clang::Sema::ActOnOpenMPThreadprivateDirective(), clang::Sema::ActOnParamDefaultArgument(), clang::Sema::ActOnStartCXXMemberReference(), clang::Sema::ActOnStartLinkageSpecification(), clang::Sema::ActOnStartOfSwitchStmt(), addFixitForObjCARCConversion(), clang::Sema::AddInitializerToDecl(), AnalyzeBitFieldAssignment(), AnalyzeComparison(), clang::arcmt::ObjCMigrateAction::BeginInvocation(), clang::Sema::BuildBaseInitializer(), clang::Sema::BuildDelegatingInitializer(), clang::Sema::BuildInstanceMessage(), clang::Sema::BuildMemberInitializer(), clang::Sema::BuildMemberReferenceExpr(), clang::Sema::BuildMemInitializer(), clang::Sema::BuildObjCAtThrowStmt(), clang::Sema::BuildObjCBridgedCast(), clang::Sema::BuildPseudoDestructorExpr(), clang::Sema::BuildReturnStmt(), castForMoving(), CastForMoving(), clang::Sema::checkAllowedCUDAInitializer(), checkArithmeticBinOpPointerOperands(), checkArithmeticIncompletePointerType(), clang::Sema::CheckBooleanCondition(), checkBuiltinArgument(), CheckBuiltinTargetSupport(), checkCondition(), checkConditionalVoidType(), CheckConvertedConstantExpression(), CheckCXX98CompatAccessibleCopy(), clang::Sema::CheckCXXThrowOperand(), clang::Sema::checkDeclIsAllowedInOpenMPTarget(), checkEnumComparison(), clang::Sema::CheckExceptionSpecCompatibility(), clang::Sema::CheckExtraCXXDefaultArguments(), clang::Sema::CheckFloatComparison(), CheckFoldOperand(), CheckFormatString(), CheckForModifiableLvalue(), CheckImplicitConversion(), CheckIncrementDecrementOperand(), checkIndirectCopyRestoreSource(), CheckIndirectionOperand(), CheckKeyForObjCARCConversion(), checkMapClauseExpressionBase(), checkMapConflicts(), checkMappableExpressionList(), CheckMemaccessSize(), CheckMemorySizeofForComparison(), CheckNonNullArgument(), CheckObjCCollectionLiteralElement(), checkObjCCollectionLiteralElement(), clang::Sema::CheckObjCForCollectionOperand(), checkObjCPointerIntrospection(), checkOpenCLConditionVector(), checkOpenCLPipeArg(), checkOpenCLPipePacketType(), checkOpenMPLoop(), clang::Sema::CheckPackExpansion(), checkPointerIntegerMismatch(), checkSimdlenSafelenSpecified(), CheckTemplateArgumentAddressOfObjectOrFunction(), CheckTemplateArgumentIsCompatibleWithParameter(), CheckTemplateArgumentPointerToMember(), clang::Sema::CheckUnaryExprOrTypeTraitOperand(), checkUnsafeAssignLiteral(), checkUnsafeAssignObject(), clang::Sema::checkUnsafeExprAssigns(), checkVAStartIsInVariadicFunction(), CompactMacroExpandedPieces(), CopyObject(), CreateIfFixit(), clang::Sema::DeduceFunctionTypeFromReturnExpr(), diagnoseAddressOfInvalidType(), clang::Sema::DiagnoseAlwaysNonNullPointer(), diagnoseAmbiguousConversion(), diagnoseArithmeticOnFunctionPointer(), diagnoseArithmeticOnNullPointer(), diagnoseArithmeticOnTwoFunctionPointers(), diagnoseArithmeticOnTwoVoidPointers(), diagnoseArithmeticOnVoidPointer(), clang::Sema::DiagnoseAssignmentAsCondition(), clang::Sema::DiagnoseAutoDeductionFailure(), clang::Sema::DiagnoseCommaOperator(), DiagnoseConditionalPrecedence(), DiagnoseConstAssignment(), DiagnoseDivisionSizeofPointer(), DiagnoseFloatingImpCast(), DiagnoseImpCast(), clang::Sema::DiagnoseMultipleUserDefinedConversion(), DiagnoseNarrowingInInitList(), DiagnoseNullConversion(), diagnoseObjCARCConversion(), diagnoseObjCLiteralComparison(), diagnosePointerIncompatibility(), DiagnoseRecursiveConstFields(), diagnoseRepeatedUseOfWeak(), diagnoseRetainCycle(), DiagnoseSelfAssignment(), clang::Sema::DiagnoseSelfMove(), DiagnoseShiftCompare(), diagnoseTautologicalComparison(), clang::Sema::diagnoseZeroToNullptrConversion(), DiagUninitUse(), doRewriteToUTF8StringBoxedExpressionHelper(), emitBug(), EmitDiagnosticForLogicalAndInLogicalOr(), clang::CodeGen::CodeGenFunction::emitImplicitAssignmentOperatorBody(), clang::CodeGen::CGOpenMPRuntime::emitOMPIfClause(), clang::CodeGen::CodeGenFunction::EmitOMPInnerLoop(), EvaluateArrayTypeTrait(), EvaluateLValue(), evenFlexibleArraySize(), findKnownClass(), findRetainCycleOwner(), findTemplateParameterInType(), finishContextualImplicitConversion(), FinishOverloadedCallExpr(), getAsPointeeSymbol(), GetCFNumberSize(), clang::Sema::getExprRange(), clang::Sema::GetFormatStringType(), getIncrementedVar(), getLengthOnSingleLine(), GetNSSetArgumentIndex(), clang::Sema::getPrintable(), getPrintfFormatArgumentNum(), getPrivateItem(), getReturnTypeForMethod(), clang::CXXStdInitializerListExpr::getSourceRange(), clang::ObjCMethodCall::getSourceRange(), getStrlenExprArg(), clang::Sema::HandleExprPropertyRefExpr(), HandleNeonVectorTypeAttr(), hasObjCExceptionAttribute(), clang::Sema::InvalidLogicalVectorOperands(), isArithmeticArgumentPromotion(), isLeftShiftResultUnrepresentable(), isNonNegativeIntegerValue(), isNullPointerValueTemplateArgument(), isParenthesizedADLCallee(), clang::Expr::isUnusedResultAWarning(), isValidOrderingForOp(), LookThroughTransitiveAssignmentsAndCommaOperators(), LookupMemberExprInRecord(), LookupMethodInReceiverType(), maybePutParensOnReceiver(), nextPathEntryRange(), objectifyExpr(), clang::InitializationSequence::Perform(), clang::Sema::PerformContextualImplicitConversion(), clang::Sema::PerformImplicitConversion(), printExprAsWritten(), clang::TreeTransform< Derived >::RebuildCXXForRangeStmt(), recordConversion(), clang::tooling::replaceStmtWithStmt(), clang::tooling::replaceStmtWithText(), resolveBuiltinNewDeleteOverload(), clang::edit::rewriteObjCRedundantCallWithLiteral(), rewriteToArrayLiteral(), rewriteToArraySubscriptSet(), rewriteToBoolLiteral(), rewriteToCharLiteral(), rewriteToDictionaryLiteral(), rewriteToDictionarySubscriptSet(), rewriteToNumberLiteral(), rewriteToNumericBoxedExpression(), rewriteToSubscriptGetCommon(), SemaBuiltinCommitRWPipe(), SemaBuiltinCpuIs(), SemaBuiltinCpuSupports(), SemaBuiltinLaunder(), SemaBuiltinPipePackets(), SemaBuiltinReserveRWPipe(), SemaBuiltinRWPipe(), clang::Sema::SemaBuiltinShuffleVector(), clang::Sema::SemaConvertVectorExpr(), SemaOpenCLBuiltinToAddr(), clang::TreeTransform< Derived >::TransformExprs(), clang::Sema::VerifyBitField(), clang::TextNodeDumper::Visit(), and clang::Sema::WarnOnPendingNoDerefs().
|
inline |
Definition at line 1029 of file Stmt.h.
References dump(), llvm::getID(), clang::tooling::fixit::internal::getSourceRange(), and SM.
Referenced by AddVariableConstraints(), clang::CFG::BuildOptions::alwaysAdd(), clang::Sema::canThrow(), CheckConstexprFunctionStmt(), checkFormatStringExpr(), CheckICE(), clang::Sema::CheckLiteralKind(), ClassifyInternal(), clang::CXXCatchStmt::classof(), clang::ObjCForCollectionStmt::classof(), clang::ObjCStringLiteral::classof(), clang::ObjCBoolLiteralExpr::classof(), clang::CXXTryStmt::classof(), clang::ObjCAtCatchStmt::classof(), clang::OMPArraySectionExpr::classof(), clang::CXXOperatorCallExpr::classof(), clang::ObjCAtFinallyStmt::classof(), clang::ObjCBoxedExpr::classof(), clang::CXXForRangeStmt::classof(), clang::CXXMemberCallExpr::classof(), clang::ObjCArrayLiteral::classof(), clang::ObjCAtTryStmt::classof(), clang::CUDAKernelCallExpr::classof(), clang::MSDependentExistsStmt::classof(), clang::ObjCAtSynchronizedStmt::classof(), clang::CXXNamedCastExpr::classof(), clang::OMPParallelDirective::classof(), clang::ObjCAtThrowStmt::classof(), clang::CXXStaticCastExpr::classof(), clang::ObjCAutoreleasePoolStmt::classof(), clang::ObjCDictionaryLiteral::classof(), clang::CXXDynamicCastExpr::classof(), clang::CoroutineBodyStmt::classof(), clang::ObjCEncodeExpr::classof(), clang::CXXReinterpretCastExpr::classof(), clang::ObjCSelectorExpr::classof(), clang::CXXConstCastExpr::classof(), clang::CoreturnStmt::classof(), clang::ObjCProtocolExpr::classof(), clang::ObjCIvarRefExpr::classof(), clang::CXXBoolLiteralExpr::classof(), clang::CXXNullPtrLiteralExpr::classof(), clang::CXXTypeidExpr::classof(), clang::ObjCPropertyRefExpr::classof(), clang::MSPropertyRefExpr::classof(), clang::Expr::classof(), clang::ObjCSubscriptRefExpr::classof(), clang::MSPropertySubscriptExpr::classof(), clang::FullExpr::classof(), clang::ConstantExpr::classof(), clang::CXXUuidofExpr::classof(), clang::CXXThisExpr::classof(), clang::OMPLoopDirective::classof(), clang::OpaqueValueExpr::classof(), clang::CXXThrowExpr::classof(), clang::OMPSimdDirective::classof(), clang::CXXDefaultArgExpr::classof(), clang::OMPForDirective::classof(), clang::DeclStmt::classof(), clang::CXXDefaultInitExpr::classof(), clang::NullStmt::classof(), clang::OMPForSimdDirective::classof(), clang::DeclRefExpr::classof(), clang::CXXBindTemporaryExpr::classof(), clang::OMPSectionsDirective::classof(), clang::CompoundStmt::classof(), clang::IntegerLiteral::classof(), clang::OMPSectionDirective::classof(), clang::FixedPointLiteral::classof(), clang::SwitchCase::classof(), clang::OMPSingleDirective::classof(), clang::ObjCMessageExpr::classof(), clang::CharacterLiteral::classof(), clang::CXXConstructExpr::classof(), clang::OMPMasterDirective::classof(), clang::ObjCIsaExpr::classof(), clang::FloatingLiteral::classof(), clang::CXXInheritedCtorInitExpr::classof(), clang::CaseStmt::classof(), clang::OMPCriticalDirective::classof(), clang::ImaginaryLiteral::classof(), clang::CXXFunctionalCastExpr::classof(), clang::ObjCIndirectCopyRestoreExpr::classof(), clang::DefaultStmt::classof(), clang::CXXTemporaryObjectExpr::classof(), clang::OMPParallelForDirective::classof(), clang::ObjCBridgedCastExpr::classof(), clang::LabelStmt::classof(), clang::ObjCAvailabilityCheckExpr::classof(), clang::AttributedStmt::classof(), clang::OMPParallelForSimdDirective::classof(), clang::StringLiteral::classof(), clang::OMPParallelSectionsDirective::classof(), clang::OMPTaskDirective::classof(), clang::PredefinedExpr::classof(), clang::LambdaExpr::classof(), clang::OMPTaskyieldDirective::classof(), clang::ParenExpr::classof(), clang::IfStmt::classof(), clang::CXXScalarValueInitExpr::classof(), clang::OMPBarrierDirective::classof(), clang::OMPTaskwaitDirective::classof(), clang::UnaryOperator::classof(), clang::OMPTaskgroupDirective::classof(), clang::SwitchStmt::classof(), clang::OMPFlushDirective::classof(), clang::OMPOrderedDirective::classof(), clang::CXXNewExpr::classof(), clang::WhileStmt::classof(), clang::OffsetOfExpr::classof(), clang::DoStmt::classof(), clang::CXXDeleteExpr::classof(), clang::OMPAtomicDirective::classof(), clang::ForStmt::classof(), clang::UnaryExprOrTypeTraitExpr::classof(), clang::GotoStmt::classof(), clang::OMPTargetDirective::classof(), clang::IndirectGotoStmt::classof(), clang::ArraySubscriptExpr::classof(), clang::OMPTargetDataDirective::classof(), clang::ContinueStmt::classof(), clang::CXXPseudoDestructorExpr::classof(), clang::BreakStmt::classof(), clang::OMPTargetEnterDataDirective::classof(), clang::TypeTraitExpr::classof(), clang::ReturnStmt::classof(), clang::OMPTargetExitDataDirective::classof(), clang::ArrayTypeTraitExpr::classof(), clang::OMPTargetParallelDirective::classof(), clang::AsmStmt::classof(), clang::ExpressionTraitExpr::classof(), clang::OMPTargetParallelForDirective::classof(), clang::CallExpr::classof(), clang::OMPTeamsDirective::classof(), clang::OMPCancellationPointDirective::classof(), clang::OverloadExpr::classof(), clang::OMPCancelDirective::classof(), clang::GCCAsmStmt::classof(), clang::OMPTaskLoopDirective::classof(), clang::MemberExpr::classof(), clang::UnresolvedLookupExpr::classof(), clang::MSAsmStmt::classof(), clang::OMPTaskLoopSimdDirective::classof(), clang::SEHExceptStmt::classof(), clang::CompoundLiteralExpr::classof(), clang::SEHFinallyStmt::classof(), clang::OMPDistributeDirective::classof(), clang::SEHTryStmt::classof(), clang::DependentScopeDeclRefExpr::classof(), clang::OMPTargetUpdateDirective::classof(), clang::SEHLeaveStmt::classof(), clang::CastExpr::classof(), clang::ExprWithCleanups::classof(), clang::ImplicitCastExpr::classof(), clang::OMPDistributeParallelForDirective::classof(), clang::ExplicitCastExpr::classof(), clang::OMPDistributeParallelForSimdDirective::classof(), clang::CXXUnresolvedConstructExpr::classof(), clang::CStyleCastExpr::classof(), clang::OMPDistributeSimdDirective::classof(), clang::CapturedStmt::classof(), clang::OMPTargetParallelForSimdDirective::classof(), clang::OMPTargetSimdDirective::classof(), clang::OMPTeamsDistributeDirective::classof(), clang::CXXDependentScopeMemberExpr::classof(), clang::OMPTeamsDistributeSimdDirective::classof(), clang::AbstractConditionalOperator::classof(), clang::ConditionalOperator::classof(), clang::OMPTeamsDistributeParallelForSimdDirective::classof(), clang::UnresolvedMemberExpr::classof(), clang::OMPTeamsDistributeParallelForDirective::classof(), clang::BinaryConditionalOperator::classof(), clang::CXXNoexceptExpr::classof(), clang::OMPTargetTeamsDirective::classof(), clang::AddrLabelExpr::classof(), clang::PackExpansionExpr::classof(), clang::StmtExpr::classof(), clang::OMPTargetTeamsDistributeDirective::classof(), clang::ShuffleVectorExpr::classof(), clang::OMPTargetTeamsDistributeParallelForDirective::classof(), clang::SizeOfPackExpr::classof(), clang::ConvertVectorExpr::classof(), clang::SubstNonTypeTemplateParmExpr::classof(), clang::OMPTargetTeamsDistributeParallelForSimdDirective::classof(), clang::ChooseExpr::classof(), clang::SubstNonTypeTemplateParmPackExpr::classof(), clang::OMPTargetTeamsDistributeSimdDirective::classof(), clang::GNUNullExpr::classof(), clang::FunctionParmPackExpr::classof(), clang::VAArgExpr::classof(), clang::MaterializeTemporaryExpr::classof(), clang::CXXFoldExpr::classof(), clang::InitListExpr::classof(), clang::CoroutineSuspendExpr::classof(), clang::CoawaitExpr::classof(), clang::DependentCoawaitExpr::classof(), clang::CoyieldExpr::classof(), clang::DesignatedInitExpr::classof(), clang::NoInitExpr::classof(), clang::DesignatedInitUpdateExpr::classof(), clang::ImplicitValueInitExpr::classof(), clang::ParenListExpr::classof(), clang::GenericSelectionExpr::classof(), clang::ExtVectorElementExpr::classof(), clang::BlockExpr::classof(), clang::AsTypeExpr::classof(), clang::PseudoObjectExpr::classof(), clang::AtomicExpr::classof(), clang::TypoExpr::classof(), clang::ento::PathDiagnosticLocation::createSingleLocation(), DiagUninitUse(), clang::CodeGen::CodeGenFunction::EmitLValue(), EvaluateStmt(), clang::CFGBlock::FilterEdge(), FindTypeTagExpr(), FindVA(), generateDiagForSwitchOP(), generateMinimalDiagForBlockEdge(), getBestPropertyDecl(), clang::CXXNamedCastExpr::getCastName(), clang::ento::SValBuilder::getConstantVal(), clang::CastExpr::getConversionFunction(), clang::Expr::getExprLoc(), getLoopCondition(), clang::ento::PathDiagnosticLocation::getNextStmt(), getPrimaryDecl(), clang::threadSafety::getSourceLiteralString(), clang::CFGBlock::getTerminatorCondition(), clang::Expr::HasSideEffects(), ignoreTransparentExprs(), isConditionForTerminator(), clang::Expr::isConstantInitializer(), clang::ParentMap::isConsumedExpr(), isIdenticalStmt(), clang::CXXCtorInitializer::isInClassMemberInitializer(), isInLoop(), isInLoopBody(), isLoop(), clang::Expr::isOBJCGCCandidate(), isParenthesizedADLCallee(), clang::Expr::isUnusedResultAWarning(), requiresParensToAddCast(), reversePropagateIntererstingSymbols(), clang::TreeTransform< Derived >::TransformCXXNamedCastExpr(), clang::TreeTransform< Derived >::TransformExpr(), clang::ASTNodeImporter::VisitExplicitCastExpr(), and visitLocalsRetainedByReferenceBinding().
const char * Stmt::getStmtClassName | ( | ) | const |
Definition at line 75 of file Stmt.cpp.
References getStmtInfoTableEntry(), and StmtClassNameTable::Name.
Referenced by llvm::DOTGraphTraits< const Stmt * >::getNodeLabel(), isParenthesizedADLCallee(), print_elem(), clang::TextNodeDumper::Visit(), and clang::ASTNodeImporter::VisitExpr().
Skip no-op (attributed, compound) container stmts and skip captured stmt at the top, if IgnoreCaptured is true.
Definition at line 147 of file Stmt.cpp.
Referenced by clang::Sema::ActOnOpenMPTargetDirective(), checkOpenMPLoop(), clang::CodeGen::CodeGenFunction::EmitOMPAtomicDirective(), clang::OMPLoopDirective::getBody(), getNestedDistributeDirective(), hasNestedLightweightDirective(), and hasNestedSPMDDirective().
Stmt * Stmt::IgnoreImplicit | ( | ) |
Skip past any implicit AST nodes which might surround this statement, such as ExprWithCleanups or ImplicitCastExpr nodes.
Definition at line 121 of file Stmt.cpp.
Referenced by clang::Expr::IgnoreImplicit().
|
inlineprotectednoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineprotectednoexcept |
void * Stmt::operator new | ( | size_t | bytes, |
const ASTContext & | C, | ||
unsigned | alignment = 8 |
||
) |
|
inline |
|
inlinenoexcept |
void Stmt::printPretty | ( | raw_ostream & | OS, |
PrinterHelper * | Helper, | ||
const PrintingPolicy & | Policy, | ||
unsigned | Indentation = 0 , |
||
StringRef | NewlineSymbol = "\n" , |
||
const ASTContext * | Context = nullptr |
||
) | const |
Definition at line 2383 of file StmtPrinter.cpp.
References P, and clang::PrinterHelper::~PrinterHelper().
Referenced by clang::Sema::CheckEquivalentExceptionSpec(), OMPIsDevicePtrClause::CreateEmpty(), clang::ento::StringRegion::dumpToStream(), clang::ento::ObjCStringRegion::dumpToStream(), clang::CFGBlock::FilterEdge(), clang::getParameterABISpelling(), clang::operator<<(), clang::TemplateArgument::print(), print_block(), and print_elem().
|
static |
Definition at line 87 of file Stmt.cpp.
References getStmtInfoTableEntry(), and StmtClassInfo.
void Stmt::ProcessODRHash | ( | llvm::FoldingSetNodeID & | ID, |
ODRHash & | Hash | ||
) | const |
Calculate a unique representation for a statement that is stable across compiler invocations.
ID | profile information will be stored in ID. |
Hash | an ODRHash object which will be called where pointers would have been used in the Profile function. |
Definition at line 2018 of file StmtProfile.cpp.
void Stmt::Profile | ( | llvm::FoldingSetNodeID & | ID, |
const ASTContext & | Context, | ||
bool | Canonical | ||
) | const |
Produce a unique representation of the given statement.
ID | once the profiling operation is complete, will contain the unique representation of the given statement. |
Context | the AST context in which the statement resides |
Canonical | whether the profile should be based on the canonical representation of this statement (e.g., where non-type template parameters are identified by index/level rather than their declaration pointers) or the exact representation of the statement as written in the source. |
Definition at line 2012 of file StmtProfile.cpp.
Referenced by clang::CheckEquivalentExceptionSpecImpl(), CheckMemaccessSize(), clang::FunctionProtoType::isTemplateVariadic(), clang::DependentSizedArrayType::Profile(), clang::DependentAddressSpaceType::Profile(), clang::DependentSizedExtVectorType::Profile(), clang::DependentVectorType::Profile(), clang::DependentTypeOfExprType::Profile(), and clang::DependentDecltypeType::Profile().
const Stmt * Stmt::stripLabelLikeStatements | ( | ) | const |
void Stmt::viewAST | ( | ) | const |
viewAST - Visualize an AST rooted at this Stmt* using GraphViz.
Only works on systems with GraphViz (Mac OS X) or dot+gv installed.
Definition at line 21 of file StmtViz.cpp.
|
friend |
|
friend |
union { ... } |
ArraySubscriptExprBitfields clang::Stmt::ArraySubscriptExprBits |
AttributedStmtBitfields clang::Stmt::AttributedStmtBits |
BinaryOperatorBitfields clang::Stmt::BinaryOperatorBits |
BreakStmtBitfields clang::Stmt::BreakStmtBits |
CallExprBitfields clang::Stmt::CallExprBits |
Definition at line 913 of file Stmt.h.
Referenced by clang::CallExpr::CallExpr().
CastExprBitfields clang::Stmt::CastExprBits |
CharacterLiteralBitfields clang::Stmt::CharacterLiteralBits |
CoawaitExprBitfields clang::Stmt::CoawaitBits |
Definition at line 945 of file Stmt.h.
Referenced by clang::CoawaitExpr::CoawaitExpr(), clang::CoawaitExpr::isImplicit(), and clang::CoawaitExpr::setIsImplicit().
CompoundStmtBitfields clang::Stmt::CompoundStmtBits |
Definition at line 889 of file Stmt.h.
Referenced by clang::CompoundStmt::CreateEmpty().
ContinueStmtBitfields clang::Stmt::ContinueStmtBits |
CXXBoolLiteralExprBitfields clang::Stmt::CXXBoolLiteralExprBits |
Definition at line 923 of file Stmt.h.
Referenced by clang::CXXBoolLiteralExpr::CXXBoolLiteralExpr(), clang::CXXBoolLiteralExpr::getLocation(), clang::CXXBoolLiteralExpr::getValue(), clang::CXXBoolLiteralExpr::setLocation(), and clang::CXXBoolLiteralExpr::setValue().
CXXConstructExprBitfields clang::Stmt::CXXConstructExprBits |
Definition at line 934 of file Stmt.h.
Referenced by clang::CXXConstructExpr::CXXConstructExpr(), clang::CXXConstructExpr::getConstructionKind(), clang::CXXConstructExpr::getLocation(), clang::CXXConstructExpr::hadMultipleCandidates(), clang::CXXConstructExpr::isElidable(), clang::CXXConstructExpr::isListInitialization(), clang::CXXConstructExpr::isStdInitListInitialization(), clang::CXXConstructExpr::requiresZeroInitialization(), clang::CXXConstructExpr::setConstructionKind(), clang::CXXConstructExpr::setElidable(), clang::CXXConstructExpr::setHadMultipleCandidates(), clang::CXXConstructExpr::setListInitialization(), clang::CXXConstructExpr::setLocation(), clang::CXXConstructExpr::setRequiresZeroInitialization(), and clang::CXXConstructExpr::setStdInitListInitialization().
CXXDefaultArgExprBitfields clang::Stmt::CXXDefaultArgExprBits |
Definition at line 927 of file Stmt.h.
Referenced by clang::CXXDefaultArgExpr::getUsedLocation().
CXXDefaultInitExprBitfields clang::Stmt::CXXDefaultInitExprBits |
Definition at line 928 of file Stmt.h.
Referenced by clang::CXXDefaultInitExpr::getBeginLoc(), clang::CXXDefaultInitExpr::getEndLoc(), and clang::UserDefinedLiteral::getUDSuffix().
CXXDeleteExprBitfields clang::Stmt::CXXDeleteExprBits |
Definition at line 931 of file Stmt.h.
Referenced by clang::CXXDeleteExpr::CXXDeleteExpr(), clang::CXXDeleteExpr::doesUsualArrayDeleteWantSize(), clang::CXXDeleteExpr::getBeginLoc(), clang::CXXDeleteExpr::isArrayForm(), clang::CXXDeleteExpr::isArrayFormAsWritten(), and clang::CXXDeleteExpr::isGlobalDelete().
CXXDependentScopeMemberExprBitfields clang::Stmt::CXXDependentScopeMemberExprBits |
Definition at line 937 of file Stmt.h.
Referenced by clang::CXXDependentScopeMemberExpr::getOperatorLoc(), and clang::CXXDependentScopeMemberExpr::isArrow().
CXXNewExprBitfields clang::Stmt::CXXNewExprBits |
Definition at line 930 of file Stmt.h.
Referenced by clang::CXXNewExpr::doesUsualArrayDeleteWantSize(), clang::CXXScalarValueInitExpr::getBeginLoc(), clang::CXXNewExpr::getInitializationStyle(), clang::CXXNewExpr::getNumPlacementArgs(), clang::CXXNewExpr::hasInitializer(), clang::CXXNewExpr::isArray(), clang::CXXNewExpr::isGlobalNew(), clang::CXXNewExpr::isParenTypeId(), and clang::CXXNewExpr::passAlignment().
CXXNoexceptExprBitfields clang::Stmt::CXXNoexceptExprBits |
Definition at line 941 of file Stmt.h.
Referenced by clang::CXXNoexceptExpr::CXXNoexceptExpr(), and clang::CXXNoexceptExpr::getValue().
CXXNullPtrLiteralExprBitfields clang::Stmt::CXXNullPtrLiteralExprBits |
Definition at line 924 of file Stmt.h.
Referenced by clang::CXXNullPtrLiteralExpr::CXXNullPtrLiteralExpr(), clang::CXXNullPtrLiteralExpr::getLocation(), and clang::CXXNullPtrLiteralExpr::setLocation().
CXXOperatorCallExprBitfields clang::Stmt::CXXOperatorCallExprBits |
Definition at line 922 of file Stmt.h.
Referenced by clang::CXXConstructExpr::getEndLoc(), clang::CXXOperatorCallExpr::getFPFeatures(), clang::CXXOperatorCallExpr::getOperator(), and clang::CXXOperatorCallExpr::setFPFeatures().
CXXScalarValueInitExprBitfields clang::Stmt::CXXScalarValueInitExprBits |
Definition at line 929 of file Stmt.h.
Referenced by clang::CXXScalarValueInitExpr::CXXScalarValueInitExpr(), and clang::CXXScalarValueInitExpr::getRParenLoc().
CXXThisExprBitfields clang::Stmt::CXXThisExprBits |
Definition at line 925 of file Stmt.h.
Referenced by clang::CXXThisExpr::CXXThisExpr(), clang::CXXThisExpr::getLocation(), clang::CXXThisExpr::isImplicit(), clang::CXXThisExpr::setImplicit(), and clang::CXXThisExpr::setLocation().
CXXThrowExprBitfields clang::Stmt::CXXThrowExprBits |
Definition at line 926 of file Stmt.h.
Referenced by clang::CXXThrowExpr::CXXThrowExpr(), clang::CXXThrowExpr::getThrowLoc(), and clang::CXXThrowExpr::isThrownVariableInScope().
CXXUnresolvedConstructExprBitfields clang::Stmt::CXXUnresolvedConstructExprBits |
Definition at line 936 of file Stmt.h.
Referenced by clang::CXXUnresolvedConstructExpr::arg_size().
DeclRefExprBitfields clang::Stmt::DeclRefExprBits |
Definition at line 906 of file Stmt.h.
Referenced by clang::DeclRefExpr::DeclRefExpr().
DependentScopeDeclRefExprBitfields clang::Stmt::DependentScopeDeclRefExprBits |
Definition at line 933 of file Stmt.h.
Referenced by clang::DependentScopeDeclRefExpr::CreateEmpty(), and clang::OverloadExpr::OverloadExpr().
DoStmtBitfields clang::Stmt::DoStmtBits |
ExprBitfields clang::Stmt::ExprBits |
Definition at line 904 of file Stmt.h.
Referenced by clang::AtomicExpr::AtomicExpr(), computeDeclRefDependence(), clang::PseudoObjectExpr::Create(), clang::ObjCArrayLiteral::CreateEmpty(), clang::OffsetOfExpr::CreateEmpty(), clang::CallExpr::CreateEmpty(), clang::CXXConstructExpr::CXXConstructExpr(), clang::DeclRefExpr::DeclRefExpr(), clang::CXXScalarValueInitExpr::getBeginLoc(), clang::DesignatedInitUpdateExpr::getEndLoc(), clang::ObjCPropertyRefExpr::getReceiverType(), clang::InitListExpr::InitListExpr(), clang::OverloadExpr::OverloadExpr(), and clang::ShuffleVectorExpr::ShuffleVectorExpr().
ExprWithCleanupsBitfields clang::Stmt::ExprWithCleanupsBits |
Definition at line 935 of file Stmt.h.
Referenced by clang::ExprWithCleanups::cleanupsHaveSideEffects(), and clang::ExprWithCleanups::getNumObjects().
FloatingLiteralBitfields clang::Stmt::FloatingLiteralBits |
Definition at line 907 of file Stmt.h.
Referenced by clang::FloatingLiteral::getSemantics(), and clang::FloatingLiteral::setSemantics().
ForStmtBitfields clang::Stmt::ForStmtBits |
Definition at line 896 of file Stmt.h.
Referenced by clang::ForStmt::ForStmt().
GotoStmtBitfields clang::Stmt::GotoStmtBits |
IfStmtBitfields clang::Stmt::IfStmtBits |
Definition at line 892 of file Stmt.h.
Referenced by copyIntoContext().
InitListExprBitfields clang::Stmt::InitListExprBits |
LabelStmtBitfields clang::Stmt::LabelStmtBits |
MemberExprBitfields clang::Stmt::MemberExprBits |
Definition at line 914 of file Stmt.h.
Referenced by clang::MemberExpr::Create().
NullStmtBitfields clang::Stmt::NullStmtBits |
ObjCIndirectCopyRestoreExprBitfields clang::Stmt::ObjCIndirectCopyRestoreExprBits |
Definition at line 948 of file Stmt.h.
Referenced by clang::ObjCIndirectCopyRestoreExpr::shouldCopy().
OpaqueValueExprBitfields clang::Stmt::OpaqueValueExprBits |
OverloadExprBitfields clang::Stmt::OverloadExprBits |
Definition at line 938 of file Stmt.h.
Referenced by clang::OverloadExpr::getNumDecls(), clang::OverloadExpr::hasTemplateKWAndArgsInfo(), and clang::OverloadExpr::OverloadExpr().
ParenListExprBitfields clang::Stmt::ParenListExprBits |
Definition at line 918 of file Stmt.h.
Referenced by clang::DesignatedInitUpdateExpr::getEndLoc().
PredefinedExprBitfields clang::Stmt::PredefinedExprBits |
Definition at line 905 of file Stmt.h.
Referenced by clang::DeclRefExpr::getEndLoc().
PseudoObjectExprBitfields clang::Stmt::PseudoObjectExprBits |
Definition at line 919 of file Stmt.h.
Referenced by clang::PseudoObjectExpr::Create().
ReturnStmtBitfields clang::Stmt::ReturnStmtBits |
Definition at line 900 of file Stmt.h.
Referenced by clang::IndirectGotoStmt::getConstantTarget().
StmtBitfields clang::Stmt::StmtBits |
StringLiteralBitfields clang::Stmt::StringLiteralBits |
Definition at line 908 of file Stmt.h.
Referenced by clang::FloatingLiteral::getValueAsApproximateDouble().
SubstNonTypeTemplateParmExprBitfields clang::Stmt::SubstNonTypeTemplateParmExprBits |
Definition at line 942 of file Stmt.h.
Referenced by clang::SubstNonTypeTemplateParmExpr::getNameLoc(), and clang::SubstNonTypeTemplateParmExpr::SubstNonTypeTemplateParmExpr().
SwitchCaseBitfields clang::Stmt::SwitchCaseBits |
SwitchStmtBitfields clang::Stmt::SwitchStmtBits |
Definition at line 893 of file Stmt.h.
Referenced by clang::ForStmt::setConditionVariable().
TypeTraitExprBitfields clang::Stmt::TypeTraitExprBits |
Definition at line 932 of file Stmt.h.
Referenced by clang::TypeTraitExpr::getNumArgs(), clang::TypeTraitExpr::getTrait(), clang::TypeTraitExpr::getValue(), and clang::MaterializeTemporaryExpr::setExtendingDecl().
UnaryExprOrTypeTraitExprBitfields clang::Stmt::UnaryExprOrTypeTraitExprBits |
Definition at line 911 of file Stmt.h.
Referenced by clang::UnaryExprOrTypeTraitExpr::UnaryExprOrTypeTraitExpr().
UnaryOperatorBitfields clang::Stmt::UnaryOperatorBits |
UnresolvedLookupExprBitfields clang::Stmt::UnresolvedLookupExprBits |
Definition at line 939 of file Stmt.h.
Referenced by clang::UnresolvedLookupExpr::isOverloaded(), and clang::UnresolvedLookupExpr::requiresADL().
UnresolvedMemberExprBitfields clang::Stmt::UnresolvedMemberExprBits |
Definition at line 940 of file Stmt.h.
Referenced by clang::UnresolvedMemberExpr::hasUnresolvedUsing(), and clang::UnresolvedMemberExpr::isArrow().
WhileStmtBitfields clang::Stmt::WhileStmtBits |
Definition at line 894 of file Stmt.h.
Referenced by clang::SwitchStmt::setConditionVariable().