Stmt - This represents one statement. More...
#include "clang/AST/Stmt.h"
llvm::errs(). Construct an empty statement.
Definition at line 1454 of file Stmt.h.
References Stmt().
Referenced by clang::AsmStmt::AsmStmt(), clang::AsmStmt::AsmStmt(), clang::CoroutineBodyStmt::ASTReader, clang::CapturedStmt::ASTStmtReader, clang::CompoundStmt::ASTStmtReader, clang::CXXForRangeStmt::ASTStmtReader, clang::SEHExceptStmt::ASTStmtReader, clang::SEHFinallyStmt::ASTStmtReader, clang::SEHTryStmt::ASTStmtReader, clang::SYCLKernelCallStmt::ASTStmtWriter, clang::CompoundStmt::body_back(), clang::CompoundStmt::body_back(), clang::CompoundStmt::body_front(), clang::CompoundStmt::body_front(), children(), clang::AsmStmt::classof(), clang::CapturedStmt::classof(), clang::CompoundStmt::classof(), clang::CoreturnStmt::classof(), clang::CoroutineBodyStmt::classof(), clang::CXXCatchStmt::classof(), clang::CXXForRangeStmt::classof(), clang::CXXTryStmt::classof(), clang::DeclStmt::classof(), clang::DoStmt::classof(), clang::ForStmt::classof(), clang::GotoStmt::classof(), clang::IfStmt::classof(), clang::IndirectGotoStmt::classof(), clang::LoopControlStmt::classof(), clang::MSDependentExistsStmt::classof(), clang::NullStmt::classof(), clang::ObjCAtCatchStmt::classof(), clang::ObjCAtFinallyStmt::classof(), clang::ObjCAtSynchronizedStmt::classof(), clang::ObjCAtThrowStmt::classof(), clang::ObjCAtTryStmt::classof(), clang::ObjCAutoreleasePoolStmt::classof(), clang::ObjCForCollectionStmt::classof(), clang::OpenACCConstructStmt::classof(), clang::ReturnStmt::classof(), clang::SEHExceptStmt::classof(), clang::SEHFinallyStmt::classof(), clang::SEHLeaveStmt::classof(), clang::SEHTryStmt::classof(), clang::SwitchCase::classof(), clang::SwitchStmt::classof(), clang::SYCLKernelCallStmt::classof(), clang::WhileStmt::classof(), clang::CompoundStmt::CompoundStmt(), clang::CoreturnStmt::CoreturnStmt(), clang::CapturedStmt::Create(), clang::CoroutineBodyStmt::Create(), clang::IfStmt::Create(), clang::ObjCAtTryStmt::Create(), clang::SEHExceptStmt::Create(), clang::SEHFinallyStmt::Create(), clang::SEHTryStmt::Create(), clang::SwitchStmt::Create(), clang::WhileStmt::Create(), clang::CapturedStmt::CreateDeserialized(), clang::CXXCatchStmt::CXXCatchStmt(), clang::CXXCatchStmt::CXXCatchStmt(), clang::CXXForRangeStmt::CXXForRangeStmt(), clang::CXXForRangeStmt::CXXForRangeStmt(), clang::DeclStmt::DeclStmt(), clang::DeclStmt::DeclStmt(), determineLikelihoodConflict(), clang::DoStmt::DoStmt(), clang::DoStmt::DoStmt(), clang::ForStmt::ForStmt(), clang::ForStmt::ForStmt(), clang::CXXForRangeStmt::getBody(), clang::CXXForRangeStmt::getBody(), clang::DoStmt::getBody(), clang::DoStmt::getBody(), clang::ForStmt::getBody(), clang::ForStmt::getBody(), clang::ObjCForCollectionStmt::getBody(), clang::ObjCForCollectionStmt::getBody(), clang::SwitchStmt::getBody(), clang::SwitchStmt::getBody(), clang::WhileStmt::getBody(), clang::WhileStmt::getBody(), clang::CapturedStmt::getCapturedStmt(), clang::CapturedStmt::getCapturedStmt(), clang::ObjCAtCatchStmt::getCatchBody(), clang::ObjCAtCatchStmt::getCatchBody(), clang::ObjCForCollectionStmt::getElement(), clang::ObjCForCollectionStmt::getElement(), clang::IfStmt::getElse(), clang::IfStmt::getElse(), clang::SwitchStmt::getEndLoc(), clang::CoroutineBodyStmt::getExceptionHandler(), clang::CoroutineBodyStmt::getFallthroughHandler(), clang::ObjCAtFinallyStmt::getFinallyBody(), clang::ObjCAtFinallyStmt::getFinallyBody(), clang::CoroutineBodyStmt::getFinalSuspendStmt(), clang::SEHTryStmt::getHandler(), clang::CXXCatchStmt::getHandlerBlock(), getID(), clang::CXXForRangeStmt::getInit(), clang::CXXForRangeStmt::getInit(), clang::ForStmt::getInit(), clang::ForStmt::getInit(), clang::IfStmt::getInit(), clang::IfStmt::getInit(), clang::SwitchStmt::getInit(), clang::SwitchStmt::getInit(), clang::CoroutineBodyStmt::getInitSuspendStmt(), getLikelihood(), getLikelihood(), getLikelihoodAttr(), clang::LoopControlStmt::getNamedLoopOrSwitch(), clang::CoroutineBodyStmt::getPromiseDeclStmt(), clang::CoroutineBodyStmt::getResultDecl(), clang::CoroutineBodyStmt::getReturnStmt(), clang::CoroutineBodyStmt::getReturnStmtOnAllocFailure(), clang::ObjCAutoreleasePoolStmt::getSubStmt(), clang::ObjCAutoreleasePoolStmt::getSubStmt(), clang::SwitchCase::getSubStmt(), clang::SwitchCase::getSubStmt(), clang::IfStmt::getThen(), clang::IfStmt::getThen(), clang::ObjCAtTryStmt::getTryBody(), clang::ObjCAtTryStmt::getTryBody(), clang::GotoStmt::GotoStmt(), clang::GotoStmt::GotoStmt(), IgnoreContainers(), IgnoreContainers(), clang::IndirectGotoStmt::IndirectGotoStmt(), clang::IndirectGotoStmt::IndirectGotoStmt(), clang::LoopControlStmt::LoopControlStmt(), clang::LoopControlStmt::LoopControlStmt(), clang::MSDependentExistsStmt::MSDependentExistsStmt(), clang::NullStmt::NullStmt(), clang::NullStmt::NullStmt(), clang::ObjCAtCatchStmt::ObjCAtCatchStmt(), clang::ObjCAtCatchStmt::ObjCAtCatchStmt(), clang::ObjCAtFinallyStmt::ObjCAtFinallyStmt(), clang::ObjCAtFinallyStmt::ObjCAtFinallyStmt(), clang::ObjCAtSynchronizedStmt::ObjCAtSynchronizedStmt(), clang::ObjCAtSynchronizedStmt::ObjCAtSynchronizedStmt(), clang::ObjCAtThrowStmt::ObjCAtThrowStmt(), clang::ObjCAtThrowStmt::ObjCAtThrowStmt(), clang::ObjCAutoreleasePoolStmt::ObjCAutoreleasePoolStmt(), clang::ObjCAutoreleasePoolStmt::ObjCAutoreleasePoolStmt(), clang::ObjCForCollectionStmt::ObjCForCollectionStmt(), clang::ObjCForCollectionStmt::ObjCForCollectionStmt(), clang::OpenACCConstructStmt::OpenACCConstructStmt(), operator=(), operator=(), printPretty(), printPrettyControlled(), clang::SEHLeaveStmt::SEHLeaveStmt(), clang::SEHLeaveStmt::SEHLeaveStmt(), clang::CXXForRangeStmt::setBeginStmt(), clang::CXXForRangeStmt::setBody(), clang::DoStmt::setBody(), clang::ForStmt::setBody(), clang::ObjCForCollectionStmt::setBody(), clang::SwitchStmt::setBody(), clang::SwitchStmt::setBody(), clang::WhileStmt::setBody(), clang::ObjCAtCatchStmt::setCatchBody(), clang::ObjCForCollectionStmt::setCollection(), clang::CXXForRangeStmt::setCond(), clang::DoStmt::setCond(), clang::ForStmt::setCond(), clang::IfStmt::setCond(), clang::SwitchStmt::setCond(), clang::WhileStmt::setCond(), clang::ObjCForCollectionStmt::setElement(), clang::IfStmt::setElse(), clang::CXXForRangeStmt::setEndStmt(), clang::ObjCAtFinallyStmt::setFinallyBody(), clang::ObjCAtTryStmt::setFinallyStmt(), clang::CXXForRangeStmt::setInc(), clang::ForStmt::setInc(), clang::CXXForRangeStmt::setInit(), clang::ForStmt::setInit(), clang::IfStmt::setInit(), clang::SwitchStmt::setInit(), clang::CXXForRangeStmt::setLoopVarStmt(), clang::CXXForRangeStmt::setRangeInit(), clang::CXXForRangeStmt::setRangeStmt(), clang::ReturnStmt::setRetValue(), clang::ObjCAutoreleasePoolStmt::setSubStmt(), clang::ObjCAtSynchronizedStmt::setSynchBody(), clang::ObjCAtSynchronizedStmt::setSynchExpr(), clang::IndirectGotoStmt::setTarget(), clang::IfStmt::setThen(), clang::ObjCAtThrowStmt::setThrowExpr(), clang::ObjCAtTryStmt::setTryBody(), Stmt(), Stmt(), Stmt(), stripLabelLikeStatements(), stripLabelLikeStatements(), clang::SwitchCase::SwitchCase(), clang::SwitchCase::SwitchCase(), clang::SYCLKernelCallStmt::SYCLKernelCallStmt(), and clang::SYCLKernelCallStmt::SYCLKernelCallStmt().
Definition at line 1463 of file Stmt.h.
References addStmtClass(), and StmtBits.
Definition at line 134 of file Stmt.cpp.
References StmtClassNameTable::Counter, getStmtInfoTableEntry(), and s.
Referenced by Stmt().
Definition at line 1570 of file Stmt.h.
References children().
Referenced by llvm::GraphTraits< clang::Stmt * >::child_begin(), llvm::GraphTraits< const clang::Stmt * >::child_begin(), clang::DesignatedInitExpr::getInit(), isAncestorDeclContextOf(), and clang::DesignatedInitExpr::setInit().
Definition at line 1573 of file Stmt.h.
References children().
Definition at line 1571 of file Stmt.h.
References children().
Referenced by llvm::GraphTraits< clang::Stmt * >::child_end(), llvm::GraphTraits< const clang::Stmt * >::child_end(), and isAncestorDeclContextOf().
Definition at line 1574 of file Stmt.h.
References children().
Definition at line 299 of file Stmt.cpp.
References getStmtClass(), and NoStmtClass.
Referenced by clang::Sema::ActOnFinishFunctionBody(), clang::SemaOpenMP::ActOnOpenMPRegionEnd(), AnalyzeImplicitConversions(), BuildParentMap(), clang::canSubStmtsThrow(), CheckConstexprFunctionBody(), CheckConstexprFunctionStmt(), CheckNakedParmReference(), checkNoThrow(), child_begin(), child_begin(), child_end(), child_end(), children(), clang::CodeGen::CodeGenFunction::containsBreak(), clang::ento::containsBuiltinOffsetOf(), clang::ento::containsEnum(), clang::CodeGen::CodeGenFunction::ContainsLabel(), clang::ento::containsMacro(), clang::ento::containsStaticLocal(), clang::ento::containsStmt(), FindBlockDeclRefExpr(), clang::LexicallyOrderedRecursiveASTVisitor< Derived >::getStmtChildren(), clang::RecursiveASTVisitor< RecursiveSymbolVisitor< T > >::getStmtChildren(), hasOrderedDirective(), clang::Expr::HasSideEffects(), isCapturedBy(), isCapturedBy(), isSimdSupportedByOpenMPIRBuilder(), IsStructurallyEquivalent(), clang::CodeGen::CodeGenFunction::mightAddDeclToScope(), clang::ento::retaincountchecker::RetainCountChecker::processObjCLiterals(), saveHash(), Scan(), clang::CodeGen::CGOpenMPRuntime::scanForTargetRegionsFunctions(), SearchForReturnInStmt(), seenBefore(), StmtCanThrow(), GlobalDeclRefChecker::VisitExpr(), clang::ento::retaincountchecker::RefCountReportVisitor::VisitNode(), clang::EnsureFunctionVisitor::VisitStmt(), and clang::EvaluatedExprVisitorBase< Ptr, ImplClass >::VisitStmt().
Definition at line 1566 of file Stmt.h.
References children(), and Stmt().
true there's a conflict and the Attr's are the conflicting attributes of the Then and Else Stmt. Definition at line 193 of file Stmt.cpp.
References getLikelihood(), LH_None, and Stmt().
Referenced by clang::Sema::ActOnIfStmt().
Dumps the specified AST fragment and all subtrees to llvm::errs().
Definition at line 290 of file ASTDumper.cpp.
References clang::ASTNodeTraverser< Derived, NodeDelegateType >::Visit().
Referenced by clang::Sema::ActOnPragmaDump(), and clang::FunctionEffectWithCondition::operator<<.
Definition at line 295 of file ASTDumper.cpp.
References clang::ASTNodeTraverser< Derived, NodeDelegateType >::Visit().
dumpColor - same as dump(), but forces color highlighting.
Definition at line 301 of file ASTDumper.cpp.
References clang::ASTNodeTraverser< Derived, NodeDelegateType >::Visit().
dumpPretty/printPretty - These two methods do a "pretty print" of the AST back to its original source language syntax.
Definition at line 2940 of file StmtPrinter.cpp.
References printPretty().
Definition at line 139 of file Stmt.cpp.
Referenced by clang::ParseAST().
Definition at line 350 of file Stmt.cpp.
References getStmtClass(), and NoStmtClass.
Referenced by clang::SemaOpenACC::ActOnArraySectionExpr(), clang::Sema::ActOnArraySubscriptExpr(), clang::SemaOpenACC::ActOnAssociatedStmt(), clang::Sema::ActOnCondition(), clang::Sema::ActOnCXXDelete(), clang::Sema::ActOnCXXForRangeStmt(), clang::Sema::ActOnDoStmt(), clang::Sema::ActOnFinishSwitchStmt(), clang::Sema::ActOnGCCAsmStmt(), clang::Sema::ActOnGCCAsmStmtString(), clang::Sema::ActOnIfStmt(), clang::Sema::ActOnLabelStmt(), clang::Sema::ActOnMSAsmStmt(), clang::Sema::ActOnNoexceptSpec(), clang::SemaOpenMP::ActOnOMPIteratorExpr(), clang::SemaOpenMP::ActOnOpenMPAtomicDirective(), clang::SemaOpenMP::ActOnOpenMPDispatchDirective(), clang::SemaOpenMP::ActOnOpenMPDistScheduleClause(), clang::SemaOpenMP::ActOnOpenMPErrorDirective(), clang::SemaOpenMP::ActOnOpenMPFuseDirective(), clang::SemaOpenMP::ActOnOpenMPInterchangeDirective(), clang::SemaOpenMP::ActOnOpenMPLinearClause(), clang::SemaOpenMP::ActOnOpenMPMessageClause(), clang::SemaOpenMP::ActOnOpenMPPermutationClause(), clang::SemaOpenMP::ActOnOpenMPReverseDirective(), clang::SemaOpenMP::ActOnOpenMPScheduleClause(), clang::SemaOpenMP::ActOnOpenMPStripeDirective(), clang::SemaOpenMP::ActOnOpenMPTargetDirective(), clang::SemaOpenMP::ActOnOpenMPTileDirective(), clang::SemaOpenMP::ActOnOpenMPUnrollDirective(), clang::SemaHLSL::ActOnOutParamExpr(), clang::Sema::ActOnPackIndexingExpr(), clang::SemaOpenACC::ActOnRoutineName(), clang::Sema::ActOnStmtExprResult(), clang::Sema::ActOnWhileStmt(), clang::Sema::AddAllocAlignAttr(), clang::Sema::AddConversionCandidate(), clang::SemaObjC::adornBoolConversionDiagWithTernaryFixit(), clang::GCCAsmStmt::AnalyzeAsmString(), AnalyzeAssignment(), AnalyzeBitFieldAssignment(), AnalyzeImplicitConversions(), clang::Sema::BoundsSafetyCheckUseOfCountAttrPtr(), clang::Sema::BuildArrayType(), clang::Sema::BuildAtomicExpr(), clang::Sema::BuildBuiltinOffsetOf(), clang::Sema::BuildCallToMemberFunction(), buildCaptureDecl(), BuildConvertedConstantExpression(), clang::Sema::BuildCXXAssumeExpr(), clang::Sema::BuildCXXDefaultArgExpr(), clang::Sema::BuildCXXMemberCallExpr(), clang::Sema::BuildCXXNew(), clang::Sema::BuildCXXThrow(), clang::Sema::BuildCXXTypeConstructExpr(), clang::SemaObjC::BuildInstanceMessage(), BuildNonArrayForRange(), clang::Sema::BuildPackIndexingExpr(), clang::Sema::BuildPackIndexingType(), clang::Sema::BuildResolvedCallExpr(), clang::Sema::BuildReturnStmt(), clang::Sema::BuildStaticAssertDeclaration(), clang::Sema::BuildVAArgExpr(), BuiltinAnnotation(), BuiltinBswapg(), BuiltinCountZeroBitsGeneric(), BuiltinDumpStruct(), clang::Sema::BuiltinElementwiseTernaryMath(), BuiltinMaskedGather(), BuiltinMaskedScatter(), BuiltinMaskedStore(), BuiltinOverflow(), BuiltinPopcountg(), clang::SemaPPC::BuiltinPPCMMACall(), clang::Sema::BuiltinShuffleVector(), clang::Sema::BuiltinVectorMath(), clang::SemaPPC::BuiltinVSX(), clang::SemaWasm::BuiltinWasmRefIsNullExtern(), clang::SemaWasm::BuiltinWasmTableCopy(), clang::SemaWasm::BuiltinWasmTableFill(), clang::SemaWasm::BuiltinWasmTableGrow(), clang::SemaWasm::BuiltinWasmTestFunctionPointerSignature(), clang::Sema::canCalleeThrow(), clang::Sema::CanPerformCopyInitialization(), CastForMoving(), castForMoving(), clang::Sema::CheckAddressOfOperand(), CheckAllArgsHaveSameType(), clang::CheckAllArgsHaveSameType(), CheckAllArgTypesAreCorrect(), clang::CheckAllArgTypesAreCorrect(), CheckAnyScalarOrVector(), CheckArgTypeMatches(), checkArithmeticOrEnumeralThreeWayCompare(), clang::SemaARM::CheckARMCoprocessorImmediate(), CheckArrayDesignatorExpr(), clang::Sema::CheckAssignmentConstraints(), clang::Sema::CheckAssignmentOperands(), clang::SemaBPF::CheckBPFBuiltinFunctionCall(), clang::SemaOpenCL::checkBuiltinEnqueueKernel(), clang::SemaHLSL::CheckBuiltinFunctionCall(), clang::SemaX86::CheckBuiltinFunctionCall(), clang::SemaOpenCL::checkBuiltinKernelWorkGroupSize(), clang::SemaOpenCL::checkBuiltinNDRangeAndBlock(), checkBuiltinVectorMathArgTypes(), clang::SemaOpenACC::CheckCollapseLoopCount(), clang::checkCollectionLiteralElement(), clang::Sema::CheckConditionalOperands(), CheckConstexprFunctionBody(), CheckConstexprFunctionStmt(), clang::SemaObjC::CheckConversionToObjCLiteral(), clang::SemaAMDGPU::checkCoopAtomicFunctionCall(), clang::Sema::CheckCountedByAttrOnField(), clang::SemaOpenMP::checkDeclIsAllowedInOpenMPTarget(), CheckEvalInICE(), CheckExpectedBitWidth(), checkExprMemoryConstraintCompat(), CheckFallThroughForBody(), CheckFoldOperand(), checkFormatStringExpr(), clang::Sema::CheckFunctionDeclaration(), clang::checkGenericCastToPtr(), CheckICE(), clang::SemaObjC::CheckImplementationIvars(), CheckMaskedBuiltinArgs(), CheckMoveOnConstruction(), CheckNakedParmReference(), clang::SemaARM::CheckNeonBuiltinFunctionCall(), CheckNonTypeTemplatePartialSpecializationArgs(), clang::SemaObjC::CheckObjCBridgeRelatedConversions(), CheckObjCCollectionLiteralElement(), clang::SemaObjC::CheckObjCString(), clang::checkOpenCLEnqueueIntType(), clang::SemaOpenMP::checkOpenMPDeclareVariantFunction(), checkOpenMPIterationSpace(), checkOpenMPLoop(), checkParamIsIntegerType(), clang::checkPipeArg(), clang::Sema::CheckPlaceholderExpr(), clang::Sema::CheckPointerToMemberOperands(), checkRecursiveFunction(), clang::SemaOpenACC::CheckReductionVarType(), CheckResourceHandle(), CheckScalarOrVector(), checkSectionsDirective(), clang::Sema::CheckSingleAssignmentConstraints(), clang::SemaSPIRV::CheckSPIRVBuiltinFunctionCall(), CheckStmtInlineAttr(), CheckStringInit(), clang::Sema::checkStringLiteralArgumentAttr(), clang::Sema::checkStringLiteralArgumentAttr(), clang::SemaSystemZ::CheckSystemZBuiltinFunctionCall(), clang::Sema::CheckTemplateArgument(), CheckTemplateArgumentAddressOfObjectOrFunction(), CheckTemplateArgumentIsCompatibleWithParameter(), CheckTemplateArgumentPointerToMember(), checkThreeWayNarrowingConversion(), clang::SemaOpenACC::CheckTileSizeExpr(), clang::Sema::checkVariadicArgument(), CheckVectorSelect(), clang::CheckWasmBuiltinArgIsInteger(), clang::CheckWasmBuiltinArgIsTable(), CheckWaveActive(), CompareFormatSpecifiers(), clang::Sema::ConstantFoldAttrArgs(), clang::ento::containsMacro(), ConvertForConditional(), clang::Sema::ConvertMemberDefaultInitExpression(), clang::Sema::CreateBuiltinArraySubscriptExpr(), clang::Sema::CreateBuiltinBinOp(), clang::Sema::CreateBuiltinMatrixSubscriptExpr(), clang::SemaOpenACC::CreateFirstPrivateInitRecipe(), CreateIfFixit(), clang::Sema::CreateLaunchBoundsAttr(), createOverloadsForFixedParams(), clang::SemaOpenACC::CreatePrivateInitRecipe(), clang::SemaOpenACC::CreateReductionInitRecipe(), clang::Sema::DefaultVariadicArgumentPromotion(), clang::InitializationSequence::Diagnose(), clang::Sema::DiagnoseAlwaysNonNullPointer(), clang::Sema::DiagnoseAssignmentAsCondition(), DiagnoseBitwisePrecedence(), DiagnoseCastQual(), clang::Sema::DiagnoseCommaOperator(), DiagnoseConditionalPrecedence(), clang::Sema::DiagnoseEmptyLoopBody(), clang::Sema::DiagnoseImmediateEscalatingReason(), DiagnoseIndirectOrAsmJumpStmt(), DiagnoseIntInBoolContext(), DiagnoseLabelFollowedByDecl(), diagnoseLogicalNotOnLHSofCheck(), clang::ODRDiagsEmitter::diagnoseMismatch(), clang::Sema::DiagnoseMultipleUserDefinedConversion(), DiagnoseNarrowingInInitList(), diagnoseNoViableConversion(), diagnoseObjCLiteralComparison(), diagnoseRepeatedUseOfWeak(), DiagnoseShiftCompare(), diagnoseStringPlusChar(), diagnoseStringPlusInt(), DiagnoseSwitchLabelsFallthrough(), diagnoseTautologicalComparison(), clang::Sema::DiagnoseTypeTraitDetails(), clang::Sema::DiagnoseUnexpandedParameterPack(), DiagnoseUninitializedConstPtrUse(), DiagnoseUninitializedConstRefUse(), diagnoseWellFormedUnsatisfiedConstraintExpr(), clang::Sema::diagnoseZeroToNullptrConversion(), DiagUninitUse(), emitAndFixInvalidAsmCastLValue(), clang::CodeGen::CodeGenFunction::EmitCastLValue(), clang::CIRGen::CIRGenModule::emitGlobalOpenACCDeclareDataOperands(), clang::SemaHLSL::emitLogicalOperatorFixIt(), clang::CodeGen::CodeGenFunction::EmitObjCCollectionLiteral(), clang::CIRGen::CIRGenFunction::emitOpenACCIntExpr(), emitOutlinedFunctionPrologue(), clang::CodeGen::CodeGenFunction::EmitStopPoint(), clang::CodeGen::CodeGenModule::ErrorUnsupported(), clang::Expr::EvaluateAsConstantExpr(), clang::Sema::EvaluateConvertedConstantExpression(), EvaluateStmt(), evaluateVarDeclInit(), clang::Sema::GatherArgumentsForCall(), clang::CodeGen::CodeGenFunction::GenerateBlockFunction(), clang::CodeGen::CodeGenFunction::GenerateCapturedStmtFunction(), getAndVerifyMatrixDimension(), clang::ArraySectionExpr::getBeginLoc(), clang::ArraySubscriptExpr::getBeginLoc(), clang::BinaryConditionalOperator::getBeginLoc(), clang::BinaryOperator::getBeginLoc(), clang::CallExpr::getBeginLoc(), clang::CapturedStmt::getBeginLoc(), clang::ConditionalOperator::getBeginLoc(), clang::CXXFoldExpr::getBeginLoc(), clang::CXXRewrittenBinaryOperator::getBeginLoc(), clang::DesignatedInitUpdateExpr::getBeginLoc(), clang::ExtVectorElementExpr::getBeginLoc(), clang::ImplicitCastExpr::getBeginLoc(), clang::MaterializeTemporaryExpr::getBeginLoc(), clang::MatrixSubscriptExpr::getBeginLoc(), clang::MemberExpr::getBeginLoc(), clang::MSPropertySubscriptExpr::getBeginLoc(), clang::ObjCIsaExpr::getBeginLoc(), clang::ObjCIvarRefExpr::getBeginLoc(), clang::ObjCPropertyRefExpr::getBeginLoc(), clang::PseudoObjectExpr::getBeginLoc(), clang::StmtSequence::getBeginLoc(), clang::UserDefinedLiteral::getBeginLoc(), getClobberConflictLocation(), clang::getExprText(), DerefSimplePtrArithFixableGadget::getFixits(), UUCAddAssignGadget::getFixits(), clang::ento::PathSensitiveBugReport::getLocation(), clang::CIRGen::CIRGenFunction::getOpenACCDataOperandInfo(), clang::CIRGen::OpenACCRecipeBuilder< RecipeTy >::getOrCreateRecipe(), clang::CXXRewrittenBinaryOperator::getSourceRange(), GetUnreachableLoc(), clang::ento::PathDiagnosticLocation::getValidSourceLocation(), GetVTablePointer(), handleAlwaysInlineAttr(), handleAtomicAttr(), handleDiagnoseAsBuiltinAttr(), handleDiagnoseIfAttr(), handleFallThroughAttr(), handleHLSLLoopHintAttr(), handleLoopHintAttr(), handleNoConvergentAttr(), handleNoInlineAttr(), handleNoMergeAttr(), handlePassObjectSizeAttr(), handlePatchableFunctionEntryAttr(), clang::SemaHLSL::handleVectorBinOpConversion(), ignoreUnsafeBufferInContainer(), ignoreUnsafeLibcCall(), clang::Sema::ImpCastExprToType(), clang::AnalysisDeclContext::isBodyAutosynthesizedFromModelFile(), IsEnumConstOrFromMacro(), isExpandedFromConfigurationMacro(), IsInitializerListConstructorConversion(), clang::Sema::IsIntegralPromotion(), clang::Sema::IsMemberPointerConversion(), isNullPointerValueTemplateArgument(), clang::Sema::IsPointerConversion(), clang::Expr::isUnusedResultAWarning(), IsUserDefinedConversion(), isValidDeadStmt(), IsVectorConversion(), MatchTemplateParameterKind(), maybeDiagnoseAssignmentToFunction(), clang::Sema::MaybeEmitAmbiguousAtomicConstraintsDiagnostic(), notInSafeBufferOptOut(), clang::Parser::ParseConstraintLogicalAndExpression(), clang::ento::ConditionBRVisitor::patternMatch(), clang::InitializationSequence::Perform(), clang::Sema::PerformContextuallyConvertToBool(), clang::Sema::PerformCopyInitialization(), clang::Sema::PerformImplicitConversion(), clang::Sema::PerformImplicitConversion(), clang::Sema::PerformImplicitConversion(), clang::Sema::PerformImplicitObjectArgumentInitialization(), clang::Sema::PrepareBuiltinElementwiseMathOneArgCall(), clang::ProgramPoint::printJson(), clang::processConstant32BitIntArgument(), clang::ento::ExprEngine::ProcessLoopExit(), clang::ento::ExprEngine::ProcessStmt(), ProcessStmtAttribute(), removePunyEdges(), clang::Sema::ResolveAndFixSingleFunctionTemplateSpecialization(), rewriteToArrayLiteral(), rewriteToDictionaryLiteral(), clang::CodeGen::CGOpenMPRuntime::scanForTargetRegionsFunctions(), clang::CodeGen::CodeGenFunction::startOutlinedSEHHelper(), clang::Sema::SubstDefaultArgument(), clang::Sema::TemplateParameterListsAreEqual(), clang::SemaHLSL::transformInitList(), TryClassUnification(), clang::Sema::tryConvertExprToType(), TryCopyInitialization(), TryImplicitConversion(), TryLValueToRValueCast(), TryOrBuildParenListInitialization(), TryUserDefinedConversion(), clang::Sema::VerifyIntegerConstantExpression(), clang::ento::ExprEngine::Visit(), clang::TemplateDeclInstantiator::VisitCXXMethodDecl(), clang::ASTNodeImporter::VisitExpr(), clang::TemplateDeclInstantiator::VisitFunctionDecl(), clang::ento::SuppressInlineDefensiveChecksVisitor::VisitNode(), and clang::ASTNodeImporter::VisitStmt().
Definition at line 362 of file Stmt.cpp.
References getStmtClass(), and NoStmtClass.
Referenced by clang::SemaOpenACC::ActOnArraySectionExpr(), clang::Sema::ActOnBlockStmtExpr(), clang::Sema::ActOnCondition(), clang::Sema::ActOnFinishFunctionBody(), clang::Sema::ActOnFinishSwitchStmt(), clang::Sema::ActOnLambdaExpr(), clang::SemaOpenMP::ActOnOpenMPFuseDirective(), clang::SemaOpenMP::ActOnOpenMPInterchangeDirective(), clang::SemaOpenMP::ActOnOpenMPPermutationClause(), clang::SemaOpenMP::ActOnOpenMPReverseDirective(), clang::SemaOpenMP::ActOnOpenMPStripeDirective(), clang::SemaOpenMP::ActOnOpenMPTileDirective(), clang::SemaOpenMP::ActOnOpenMPUnrollDirective(), clang::Sema::ActOnParamDefaultArgumentError(), addBlockPointerConversion(), addFunctionPointerConversion(), clang::SemaObjC::adornBoolConversionDiagWithTernaryFixit(), clang::GCCAsmStmt::AnalyzeAsmString(), clang::Sema::BuildCStyleCastExpr(), clang::Sema::BuildCXXMemberCallExpr(), clang::Sema::BuildReturnStmt(), BuiltinDumpStruct(), BuiltinMaskedScatter(), BuiltinMaskedStore(), clang::Sema::BuiltinShuffleVector(), clang::SemaPPC::BuiltinVSX(), CheckAllArgsHaveSameType(), clang::CheckAllArgsHaveSameType(), CheckFallThroughForBody(), CheckFoldOperand(), clang::Sema::CheckLogicalOperands(), clang::SemaObjC::CheckObjCBridgeRelatedConversions(), clang::Sema::CheckPointerToMemberOperands(), clang::SemaSPIRV::CheckSPIRVBuiltinFunctionCall(), clang::ento::containsMacro(), clang::Sema::ConvertMemberDefaultInitExpression(), clang::Sema::CreateBuiltinBinOp(), clang::SemaOpenACC::CreateFirstPrivateInitRecipe(), CreateIfFixit(), clang::ento::CXXDestructorCall::CXXDestructorCall(), clang::Sema::DefaultVariadicArgumentPromotion(), clang::Sema::DiagnoseAlwaysNonNullPointer(), DiagnoseBitwisePrecedence(), clang::Sema::DiagnoseCommaOperator(), DiagnoseConditionalPrecedence(), DiagnoseDirectIsaAccess(), DiagnoseIntInBoolContext(), diagnoseLogicalNotOnLHSofCheck(), DiagnoseNarrowingInInitList(), diagnoseNoViableConversion(), diagnoseObjCLiteralComparison(), clang::Sema::DiagnoseSentinelCalls(), DiagnoseShiftCompare(), diagnoseStringPlusChar(), diagnoseStringPlusInt(), clang::SemaHLSL::emitLogicalOperatorFixIt(), clang::CodeGen::CGObjCRuntime::EmitTryCatchStmt(), clang::CodeGen::CodeGenFunction::GenerateSEHFilterFunction(), clang::CodeGen::CodeGenFunction::GenerateSEHFinallyFunction(), clang::ObjCIsaExpr::getBaseLocEnd(), clang::BinaryConditionalOperator::getEndLoc(), clang::BinaryOperator::getEndLoc(), clang::BlockExpr::getEndLoc(), clang::CapturedStmt::getEndLoc(), clang::CaseStmt::getEndLoc(), clang::ConditionalOperator::getEndLoc(), clang::CoreturnStmt::getEndLoc(), clang::CoroutineSuspendExpr::getEndLoc(), clang::CStyleCastExpr::getEndLoc(), clang::CXXConstructExpr::getEndLoc(), clang::CXXFoldExpr::getEndLoc(), clang::CXXFunctionalCastExpr::getEndLoc(), clang::CXXRewrittenBinaryOperator::getEndLoc(), clang::CXXTemporaryObjectExpr::getEndLoc(), clang::CXXThrowExpr::getEndLoc(), clang::DependentCoawaitExpr::getEndLoc(), clang::DesignatedInitExpr::getEndLoc(), clang::DesignatedInitUpdateExpr::getEndLoc(), clang::ForStmt::getEndLoc(), clang::IfStmt::getEndLoc(), clang::ImplicitCastExpr::getEndLoc(), clang::MaterializeTemporaryExpr::getEndLoc(), clang::MemberExpr::getEndLoc(), clang::ObjCAtTryStmt::getEndLoc(), clang::ObjCBridgedCastExpr::getEndLoc(), clang::OMPArrayShapingExpr::getEndLoc(), clang::PseudoObjectExpr::getEndLoc(), clang::StmtSequence::getEndLoc(), clang::SwitchStmt::getEndLoc(), clang::WhileStmt::getEndLoc(), clang::CIRGen::OpenACCRecipeBuilder< RecipeTy >::getOrCreateRecipe(), clang::CXXRewrittenBinaryOperator::getSourceRange(), clang::FieldDecl::getSourceRange(), clang::ento::PathDiagnosticLocation::getValidSourceLocation(), isNullPointerValueTemplateArgument(), clang::Expr::isUnusedResultAWarning(), clang::Parser::ParseConstraintLogicalAndExpression(), clang::ento::ConditionBRVisitor::patternMatch(), rewriteToArrayLiteral(), rewriteToDictionaryLiteral(), clang::consumed::ConsumedAnalyzer::run(), clang::FunctionDecl::setBody(), clang::Declarator::setTrailingRequiresClause(), TryOrBuildParenListInitialization(), clang::ento::ExprEngine::VisitCXXDestructor(), clang::TemplateDeclInstantiator::VisitCXXMethodDecl(), clang::TemplateDeclInstantiator::VisitFunctionDecl(), WalkUpFromCallExpr(), and WalkUpFromCXXOperatorCallExpr().
Definition at line 374 of file Stmt.cpp.
References Stmt().
Referenced by printIndicesOfElementsToConstructJson(), clang::ento::Environment::printJson(), clang::ProgramPoint::printJson(), and printPendingInitLoopJson().
Definition at line 163 of file Stmt.cpp.
Referenced by determineLikelihoodConflict(), clang::CodeGen::CodeGenFunction::EmitCaseStmt(), clang::CodeGen::CodeGenFunction::EmitCaseStmtRange(), clang::CodeGen::CodeGenFunction::EmitCXXForRangeStmt(), clang::CodeGen::CodeGenFunction::EmitDefaultStmt(), clang::CodeGen::CodeGenFunction::EmitForStmt(), clang::CodeGen::CodeGenFunction::EmitIfStmt(), clang::CodeGen::CodeGenFunction::EmitWhileStmt(), and getLikelihood().
Definition at line 175 of file Stmt.cpp.
References getLikelihood(), LH_Likely, LH_None, LH_Unlikely, and Stmt().
Definition at line 171 of file Stmt.cpp.
References Stmt().
Referenced by clang::Sema::ActOnIfStmt(), and clang::CodeGen::CodeGenFunction::EmitWhileStmt().
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 338 of file Stmt.cpp.
References getStmtClass(), and NoStmtClass.
Referenced by clang::Sema::ActOnCapScopeReturnStmt(), clang::Sema::ActOnCastExpr(), clang::Sema::ActOnCXXDelete(), clang::Sema::ActOnCXXFoldExpr(), clang::Sema::ActOnCXXForRangeStmt(), clang::Sema::ActOnCXXMemberDeclarator(), clang::Sema::ActOnDependentMemberExpr(), clang::Sema::ActOnDesignatedInitializer(), clang::Sema::ActOnEffectExpression(), clang::Sema::ActOnFinishSwitchStmt(), clang::Sema::ActOnGCCAsmStmt(), clang::SemaOpenACC::ActOnIntExpr(), clang::Sema::ActOnMSAsmStmt(), clang::SemaObjC::ActOnObjCAtSynchronizedOperand(), clang::SemaOpenMP::ActOnOMPArraySectionExpr(), clang::SemaOpenMP::ActOnOMPIteratorExpr(), clang::SemaOpenMP::ActOnOpenMPAllocateDirective(), clang::SemaOpenMP::ActOnOpenMPAtomicDirective(), clang::SemaOpenMP::ActOnOpenMPDeclareSimdDirective(), clang::SemaOpenMP::ActOnOpenMPDepobjClause(), clang::SemaOpenMP::ActOnOpenMPDetachClause(), clang::SemaOpenMP::ActOnOpenMPDeviceNum(), clang::SemaOpenMP::ActOnOpenMPDistScheduleClause(), clang::SemaOpenMP::ActOnOpenMPHasDeviceAddrClause(), clang::SemaOpenMP::ActOnOpenMPIsDevicePtrClause(), clang::SemaOpenMP::ActOnOpenMPScheduleClause(), clang::SemaOpenMP::ActOnOpenMPUsesAllocatorClause(), clang::Sema::ActOnParamDefaultArgument(), clang::Sema::ActOnStartLinkageSpecification(), clang::Sema::ActOnStartOfSwitchStmt(), clang::Sema::AddAlignedAttr(), clang::Sema::AddAlignValueAttr(), clang::Sema::AddAssumeAlignedAttr(), addFixitForObjCARCConversion(), clang::interp::AddSubMulHelper(), AnalyzeBitFieldAssignment(), AnalyzeComparison(), AnalyzeImplicitConversions(), applyCocoaAPICheck(), clang::Sema::BoundsSafetyCheckUseOfCountAttrPtr(), BuildAddressSpaceIndex(), clang::Sema::BuildArrayType(), clang::Sema::BuildAsTypeExpr(), clang::Sema::BuildAtomicExpr(), clang::Sema::BuildBuiltinOffsetOf(), clang::Sema::BuildCallToMemberFunction(), buildCoawaitCalls(), clang::Sema::BuildCompoundLiteralExpr(), BuildConvertedConstantExpression(), clang::Sema::BuildCXXNew(), clang::Sema::BuildCXXTypeConstructExpr(), clang::Sema::BuildDeclaratorGroup(), clang::Sema::BuildExtVectorType(), clang::SemaObjC::BuildInstanceMessage(), clang::Sema::BuildMatrixType(), clang::Sema::BuildMemberReferenceExpr(), clang::Sema::BuildNestedRequirement(), clang::SemaObjC::BuildObjCAtThrowStmt(), clang::SemaObjC::BuildObjCBoxedExpr(), clang::SemaObjC::BuildObjCBridgedCast(), clang::SemaObjC::BuildObjCNumericLiteral(), clang::SemaObjC::BuildObjCStringLiteral(), clang::Sema::BuildReturnStmt(), clang::Sema::BuildStaticAssertDeclaration(), clang::Sema::BuildVAArgExpr(), clang::Sema::BuildVectorLiteral(), clang::Sema::BuildVectorType(), BuiltinAnnotation(), clang::SemaARM::BuiltinARMMemoryTaggingCall(), clang::SemaARM::BuiltinARMSpecialReg(), BuiltinCallWithStaticChain(), clang::Sema::BuiltinConstantArg(), clang::Sema::BuiltinConstantArgMultiple(), clang::Sema::BuiltinConstantArgPower2(), clang::Sema::BuiltinConstantArgRange(), clang::Sema::BuiltinConstantArgShiftedByte(), clang::Sema::BuiltinConstantArgShiftedByteOrXXFF(), BuiltinCpu(), BuiltinFunctionStart(), BuiltinInvoke(), BuiltinLaunder(), BuiltinMSVCAnnotation(), BuiltinOverflow(), clang::Sema::BuiltinShuffleVector(), clang::SemaWasm::BuiltinWasmRefIsNullExtern(), clang::SemaWasm::BuiltinWasmTableCopy(), clang::SemaWasm::BuiltinWasmTableFill(), clang::SemaWasm::BuiltinWasmTableGrow(), clang::SemaWasm::BuiltinWasmTestFunctionPointerSignature(), clang::interp::CallPtr(), clang::interp::CallVirt(), CastForMoving(), castForMoving(), clang::Sema::CheckAddressOfMemberAccess(), clang::Sema::CheckAddressOfOperand(), CheckAlignOfExpr(), checkAllocateClauses(), clang::SemaAMDGPU::CheckAMDGCNBuiltinFunctionCall(), clang::checkAMDGPUMaxNumWorkGroupsArguments(), checkArithmeticBinOpPointerOperands(), checkArithmeticNull(), checkArithmeticOnObjCPointer(), clang::SemaARM::CheckARMBuiltinExclusiveCall(), clang::SemaARM::CheckARMCoprocessorImmediate(), clang::checkArmStreamingBuiltin(), CheckArrayDesignatorExpr(), clang::CheckAssignmentToCountAttrPtrWithIncompletePointeeTy(), clang::interp::CheckBitCast(), CheckBitcastType(), clang::Sema::CheckBooleanCondition(), CheckBoolSelect(), clang::SemaBPF::CheckBPFBuiltinFunctionCall(), clang::SemaRISCV::CheckBuiltinFunctionCall(), clang::SemaX86::CheckBuiltinGatherScatterScale(), clang::SemaX86::CheckBuiltinRoundingOrSAE(), clang::SemaOpenCL::checkBuiltinRWPipe(), CheckBuiltinTargetInSupported(), CheckBuiltinTargetNotInUnsupported(), clang::SemaX86::CheckBuiltinTileDuplicate(), checkBuiltinVectorMathMixedEnums(), clang::Sema::CheckCallReturnType(), clang::Sema::CheckCastAlign(), clang::checkCollectionLiteralElement(), clang::Sema::CheckCompareOperands(), clang::Sema::CheckCompleteVariableDeclaration(), checkConditionalBlockPointerCompatibility(), clang::Sema::CheckConditionalOperands(), checkConditionalPointerCompatibility(), clang::Sema::checkConstantPointerAuthKey(), clang::Sema::CheckConstraintExpression(), clang::Sema::CheckConstraintSatisfaction(), clang::SemaAMDGPU::checkCoopAtomicFunctionCall(), clang::Sema::CheckCountedByAttrOnField(), CheckCXX98CompatAccessibleCopy(), clang::Sema::CheckCXXThrowOperand(), clang::SemaOpenMP::checkDeclIsAllowedInOpenMPTarget(), CheckedIntArithmetic(), clang::Sema::checkEnumArithmeticConversions(), clang::Sema::CheckEnumConstant(), checkEnumTypesInSwitchStmt(), clang::Sema::CheckExceptionSpecCompatibility(), checkExprMemoryConstraintCompat(), clang::Sema::CheckFloatComparison(), CheckFoldOperand(), clang::Sema::CheckForConstantInitializer(), CheckFormatString(), CheckForModifiableLvalue(), clang::Sema::CheckFunctionCall(), clang::Sema::checkFunctionOrMethodParameterIndex(), clang::SemaARM::CheckImmediateArg(), clang::Sema::CheckImplicitConversion(), CheckIncrementDecrementOperand(), checkIndirectCopyRestoreSource(), CheckIndirectionOperand(), CheckKeyForObjCARCConversion(), clang::SemaRISCV::CheckLMUL(), clang::Sema::CheckLogicalOperands(), checkMapClauseExpressionBase(), checkMapConflicts(), clang::Sema::CheckMemberOperatorAccess(), clang::Sema::CheckMemberOperatorAccess(), clang::SemaObjC::CheckMessageArgumentTypes(), clang::SemaAMDGPU::checkMovDPPFunctionCall(), clang::SemaARM::CheckNeonBuiltinFunctionCall(), clang::interp::CheckNewDeleteForms(), CheckNonNullArgument(), CheckObjCCollectionLiteralElement(), clang::SemaObjC::CheckObjCForCollectionOperand(), checkObjCPointerIntrospection(), clang::SemaObjC::CheckObjCString(), clang::SemaOpenMP::checkOpenMPDeclareVariantFunction(), checkOpenMPIterationSpace(), checkOpenMPLoop(), clang::Sema::CheckPackExpansion(), clang::checkPipeArg(), clang::checkPipePacketType(), checkPointerAuthEnabled(), checkPointerAuthValue(), clang::Sema::CheckPointerConversion(), checkPointerIntegerMismatch(), clang::Sema::CheckPointerToMemberOperands(), clang::SemaPPC::CheckPPCBuiltinFunctionCall(), checkPreviousOMPAllocateAttribute(), clang::Sema::CheckRegparmAttr(), checkSimdlenSafelenSpecified(), clang::Sema::CheckSingleAssignmentConstraints(), clang::Sema::CheckSizelessVectorOperands(), checkSizelessVectorShift(), clang::SemaARM::CheckSMEBuiltinFunctionCall(), clang::Sema::CheckStaticArrayArgument(), CheckStringInit(), clang::Sema::CheckSubtractionOperands(), clang::SemaSystemZ::CheckSystemZBuiltinFunctionCall(), CheckTautologicalComparison(), clang::Sema::CheckTemplateArgument(), CheckTemplateArgumentAddressOfObjectOrFunction(), CheckTemplateArgumentIsCompatibleWithParameter(), CheckTemplateArgumentPointerToMember(), clang::Sema::CheckTemplateIdType(), clang::Sema::CheckTypenameType(), clang::Sema::checkUInt32Argument(), clang::Sema::CheckUnaryExprOrTypeTraitOperand(), CheckUnicodeArithmeticConversions(), clang::Sema::CheckUnresolvedLookupAccess(), clang::Sema::CheckUnresolvedMemberAccess(), checkUnsafeAssignLiteral(), checkUnsafeAssignObject(), clang::Sema::checkUnsafeExprAssigns(), clang::Sema::CheckUseOfCXXMethodAsAddressOfOperand(), clang::Sema::CheckVariableDeclarationType(), clang::Sema::CheckVectorOperands(), CheckVectorSelect(), checkVectorShift(), clang::CheckWasmBuiltinArgIsInteger(), clang::CheckWasmBuiltinArgIsTable(), CompareFormatSpecifiers(), clang::Sema::ConvertVectorExpr(), CopyObject(), clang::Sema::CreateBuiltinArraySubscriptExpr(), clang::Sema::CreateBuiltinUnaryOp(), clang::Sema::CreateGenericSelectionExpr(), clang::Sema::CreateLaunchBoundsAttr(), clang::Sema::CreateOverloadedBinOp(), clang::Sema::CreateOverloadedUnaryOp(), clang::SemaOpenACC::CreateReductionInitRecipe(), createReferenceTemporary(), clang::Sema::CreateUnaryExprOrTypeTraitExpr(), clang::Sema::CXXCheckConditionalOperands(), clang::Sema::DeduceFunctionTypeFromReturnExpr(), clang::Sema::deduceVarTypeFromInitializer(), clang::InitializationSequence::Diagnose(), diagnoseAddressOfInvalidType(), clang::Sema::DiagnoseAlwaysNonNullPointer(), diagnoseAmbiguousConversion(), diagnoseArithmeticOnTwoFunctionPointers(), diagnoseArithmeticOnTwoVoidPointers(), clang::Sema::DiagnoseAssignmentAsCondition(), clang::Sema::DiagnoseAssignmentResult(), diagnoseBadCast(), DiagnoseBadConversion(), DiagnoseBadDivideOrRemainderValues(), DiagnoseBadFunctionCast(), DiagnoseBadShiftValues(), DiagnoseCastOfObjCSEL(), clang::Sema::DiagnoseCommaOperator(), clang::Sema::DiagnoseConditionalForNull(), DiagnoseConstAssignment(), diagnoseDistinctPointerComparison(), DiagnoseDivisionSizeofPointerOrArray(), clang::Sema::DiagnoseEqualityWithExtraParens(), DiagnoseFailedExplicitSpec(), DiagnoseFloatingImpCast(), diagnoseFunctionPointerToVoidComparison(), clang::Sema::DiagnoseImmediateEscalatingReason(), DiagnoseImpCast(), clang::ODRDiagsEmitter::diagnoseMismatch(), clang::ODRDiagsEmitter::diagnoseMismatch(), clang::Sema::DiagnoseMultipleUserDefinedConversion(), DiagnoseNarrowingInInitList(), DiagnoseNullConversion(), diagnosePointerIncompatibility(), DiagnoseRecursiveConstFields(), diagnoseRepeatedUseOfWeak(), clang::diagnoseRetainCycle(), DiagnoseSelfAssignment(), clang::Sema::DiagnoseSelfMove(), DiagnoseShiftCompare(), diagnoseTautologicalComparison(), DiagnoseUninitializedConstPtrUse(), DiagnoseUninitializedConstRefUse(), diagnoseUnknownAnyExpr(), DiagnoseUnusedComparison(), diagnoseWellFormedUnsatisfiedConstraintExpr(), clang::Sema::diagnoseZeroToNullptrConversion(), DiagRecursiveConstraintEval(), DiagUninitUse(), clang::interp::DoBitCastPtr(), doRewriteToUTF8StringBoxedExpressionHelper(), clang::CIRGen::ConstantEmitter::emitAbstract(), clang::CIRGen::CIRGenFunction::emitAggExprToLValue(), emitAndFixInvalidAsmCastLValue(), clang::CIRGen::CIRGenFunction::emitAnyExpr(), clang::CIRGen::CIRGenFunction::emitAnyExprToTemp(), clang::CIRGen::CIRGenFunction::emitArraySubscriptExpr(), clang::CIRGen::CIRGenFunction::emitArrayToPointerDecay(), emitAtomicCmpXchg(), emitAtomicCmpXchgFailureSet(), clang::CIRGen::CIRGenFunction::emitAtomicExpr(), clang::CIRGen::CIRGenFunction::emitAtomicInit(), clang::CIRGen::CIRGenFunction::emitAutoVarInit(), clang::CIRGen::CIRGenFunction::emitBinaryOperatorLValue(), emitBody(), emitBug(), emitBuiltinAlloca(), emitBuiltinBitOp(), clang::CIRGen::CIRGenFunction::emitBuiltinExpr(), clang::CIRGen::CIRGenFunction::emitBuiltinObjectSize(), clang::CIRGen::CIRGenFunction::emitCall(), clang::CIRGen::CIRGenFunction::emitCallArg(), clang::CIRGen::CIRGenFunction::emitCallExpr(), clang::CIRGen::CIRGenFunction::emitCallExprLValue(), clang::CIRGen::CIRGenFunction::emitCastLValue(), clang::CIRGen::CIRGenFunction::emitCheckedArgForAssume(), clang::CIRGen::CIRGenFunction::emitCompoundLiteralLValue(), clang::CodeGen::CodeGenFunction::EmitCompoundStmt(), clang::CIRGen::CIRGenFunction::emitConditionalBlocks(), clang::CIRGen::CIRGenFunction::emitCXXAggrConstructorCall(), clang::CIRGen::CIRGenFunction::emitCXXConstructExpr(), clang::CIRGen::CIRGenFunction::emitCXXDeleteExpr(), clang::CodeGen::CodeGenFunction::EmitCXXForRangeStmt(), clang::CIRGen::CIRGenFunction::emitCXXMemberCallExpr(), clang::CIRGen::CIRGenFunction::emitCXXMemberOrOperatorMemberCallExpr(), clang::CIRGen::CIRGenFunction::emitDeclRefLValue(), EmitDiagnosticForLogicalAndInLogicalOr(), clang::CodeGen::CodeGenFunction::EmitDoStmt(), clang::CIRGen::CIRGenFunction::emitDynamicCast(), clang::CIRGen::CIRGenFunction::emitExprAsInit(), clang::CIRGen::CIRGenFunction::emitExtVectorElementExpr(), clang::CodeGen::CodeGenFunction::EmitForStmt(), emitFunctionDeclLValue(), emitGlobalVarDeclLValue(), clang::CIRGen::CIRGenFunction::emitIfOnBoolExpr(), clang::CodeGen::CodeGenFunction::EmitIfStmt(), clang::CodeGen::CodeGenFunction::emitImplicitAssignmentOperatorBody(), clang::EmitIncompleteCountedByPointeeNotes(), clang::CIRGen::CIRGenFunction::emitLValue(), clang::CIRGen::CIRGenFunction::emitMaterializeTemporaryExpr(), clang::CIRGen::CIRGenFunction::emitMemberExpr(), clang::CIRGen::CIRGenFunction::emitNewArrayInitializer(), clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), emitObjectDelete(), clang::CIRGen::CIRGenFunction::emitPredefinedLValue(), clang::CIRGen::CIRGenFunction::emitReturnStmt(), clang::CIRGen::CIRGenFunction::emitRotate(), clang::CIRGen::CIRGenFunction::emitScalarConstant(), clang::CIRGen::CIRGenFunction::emitScalarInit(), clang::CIRGen::CIRGenFunction::emitScalarOrConstFoldImmArg(), clang::CIRGen::CIRGenFunction::emitStringLiteralLValue(), emitSuspendExpr(), emitValToTemp(), clang::CodeGen::CodeGenFunction::EmitWhileStmt(), errorBuiltinNYI(), clang::CodeGen::CodeGenModule::ErrorUnsupported(), EvaluateArrayTypeTrait(), clang::Sema::EvaluateConvertedConstantExpression(), clang::CIRGen::CIRGenFunction::evaluateExprAsBool(), clang::CIRGen::CIRGenFunction::evaluateOrEmitBuiltinObjectSize(), EvaluateStmt(), clang::Sema::FinalizeDeclaration(), clang::SemaObjC::FindCompositeObjCPointerType(), FindConditionalOverload(), clang::findRetainCycleOwner(), findSubobject(), findTemplateParameterInType(), finishContextualImplicitConversion(), fixUPCAddressofArraySubscriptWithSpan(), clang::CIRGen::CIRGenFunction::generateCode(), clang::ento::CallEvent::getArgSourceRange(), clang::CIRGen::CIRGenModule::getConstantArrayFromStringLiteral(), clang::ParmVarDecl::getDefaultArgRange(), clang::Sema::getExprRange(), getLengthOnSingleLine(), clang::CountAttributedTypeLoc::getLocalSourceRange(), getNumThreads(), clang::CIRGen::OpenACCRecipeBuilder< RecipeTy >::getOrCreateRecipe(), clang::Sema::getPrintable(), getPrivateItem(), clang::ObjCMessageExpr::getReceiverRange(), clang::CIRGen::CIRGenFunction::ConstantEmission::getReferenceLValue(), clang::CapturedStmt::getSourceRange(), clang::ento::CallEvent::getSourceRange(), clang::ento::ObjCMethodCall::getSourceRange(), clang::SYCLKernelCallStmt::getSourceRange(), clang::TemplateArgumentLoc::getSourceRange(), GetUnreachableLoc(), handleCallbackAttr(), HandleConstructorCall(), clang::SemaObjC::HandleExprPropertyRefExpr(), handleFormatArgAttr(), handleFormatAttr(), handleFormatAttrCommon(), handleFormatMatchesAttr(), HandleFunctionCall(), handleInitPriorityAttr(), clang::SemaM68k::handleInterruptAttr(), clang::SemaMSP430::handleInterruptAttr(), handleIntIntBinOp(), handleLayoutVersion(), handleNonNullAttr(), handleOpenCLUnrollHint(), handleOwnershipAttr(), handlePassObjectSizeAttr(), handleSentinelAttr(), clang::SemaOpenCL::handleSubGroupSize(), handleWorkGroupSize(), clang::Expr::IgnoreUnlessSpelledInSource(), clang::Sema::ImpCastExprToType(), clang::interp::IncDecHelper(), clang::interp::interp__builtin_is_constant_evaluated(), clang::Sema::InvalidLogicalVectorOperands(), clang::interp::InvalidNewDeleteExpr(), clang::Sema::InvalidOperands(), isConfigurationValue(), isNonNegativeIntegerValue(), isNullPointerValueTemplateArgument(), clang::Expr::isUnusedResultAWarning(), LookupMemberExpr(), LookupMemberExprInRecord(), makeAttributeArgExpr(), makeClusterDimsArgExpr(), makeLaunchBoundsArgExpr(), clang::Sema::MaybeEmitAmbiguousAtomicConstraintsDiagnostic(), maybePutParensOnReceiver(), clang::interp::Neg(), clang::sema::nextPathEntryRange(), objectifyExpr(), OpenCLArithmeticConversions(), clang::Parser::ParseConstraintLogicalAndExpression(), clang::SemaObjC::ParseObjCStringLiteral(), clang::ento::ConditionBRVisitor::patternMatch(), clang::InitializationSequence::Perform(), clang::Sema::PerformContextualImplicitConversion(), clang::Sema::PerformContextuallyConvertToBool(), clang::Sema::PerformImplicitConversion(), clang::Sema::PerformImplicitConversion(), clang::Sema::PerformImplicitObjectArgumentInitialization(), clang::Sema::PerformObjectMemberConversion(), PointerAuthStringDiscriminator(), populateExecutedLinesWithFunctionSignature(), populateExecutedLinesWithStmt(), printExprAsWritten(), printIndicesOfElementsToConstructJson(), printPendingInitLoopJson(), clang::processConstant32BitIntArgument(), pushTemporaryCleanup(), clang::tooling::reallyIgnoreImplicit(), recordConversion(), clang::tooling::replaceStmtWithStmt(), clang::tooling::replaceStmtWithText(), clang::Sema::ResolveAndFixSingleFunctionTemplateSpecialization(), resolveBuiltinNewDeleteOverload(), clang::edit::rewriteObjCRedundantCallWithLiteral(), rewriteToArrayLiteral(), rewriteToArraySubscriptSet(), rewriteToBoolLiteral(), rewriteToCharLiteral(), rewriteToDictionaryLiteral(), rewriteToDictionarySubscriptSet(), rewriteToNumberLiteral(), rewriteToNumericBoxedExpression(), rewriteToSubscriptGetCommon(), sharedGetConstructorDestructorAttrExpr(), storeAnyExprIntoOneUnit(), clang::Sema::SubstDefaultArgument(), clang::TreeTransform< Derived >::TransformExprs(), tryDiagnoseOverloadedCast(), TryOrBuildParenListInitialization(), TryReinterpretCast(), clang::ConversionFixItGenerator::tryToFixConversion(), clang::Sema::tryToRecoverWithCall(), clang::Sema::ValueIsRunOfOnes(), clang::Sema::VerifyBitField(), clang::Sema::VerifyIntegerConstantExpression(), clang::SemaOpenMP::VerifyPositiveIntegerConstantInClause(), clang::JSONNodeDumper::Visit(), clang::TextNodeDumper::Visit(), WalkUpFromCallExpr(), and clang::Sema::WarnOnPendingNoDerefs().
Definition at line 1472 of file Stmt.h.
References StmtBits.
Referenced by areEqualIntegers(), BuildParentMap(), clang::Sema::canThrow(), CheckConstexprFunctionStmt(), checkFormatStringExpr(), CheckICE(), clang::SemaObjC::CheckLiteralKind(), children(), ClassifyInternal(), clang::ArrayInitIndexExpr::classof(), clang::ArrayInitLoopExpr::classof(), clang::BinaryOperator::classof(), clang::CompoundAssignOperator::classof(), clang::CXXStdInitializerListExpr::classof(), clang::OpenACCConstructStmt::classof(), clang::UserDefinedLiteral::classof(), clang::RecursiveASTVisitor< Derived >::dataTraverseNode(), DiagUninitUse(), clang::CodeGen::CodeGenFunction::EmitCaseStmt(), clang::CIRGen::CIRGenFunction::emitLValue(), clang::CodeGen::CodeGenFunction::EmitSimpleStmt(), clang::CodeGen::CodeGenFunction::EmitStmt(), EvaluateStmt(), FindTypeTagExpr(), getBaseAlignmentAndOffsetFromLValue(), getBaseAlignmentAndOffsetFromPtr(), getBeginLoc(), clang::CXXNamedCastExpr::getCastName(), clang::ento::SValBuilder::getConstantVal(), getEnclosingParent(), getEndLoc(), clang::Expr::getExprLoc(), clang::ASTNodeKind::getFromNode(), clang::ento::ObjCMethodCall::getMessageKind(), getPrimaryDecl(), clang::threadSafety::getSourceLiteralString(), getSourceRange(), clang::ento::Environment::getSVal(), clang::CastExpr::getTrailingFPFeatures(), GetUnreachableLoc(), clang::Expr::HasSideEffects(), ignoreTransparentExprs(), isConditionForTerminator(), isConfigurationValue(), clang::Expr::isConstantInitializer(), clang::ParentMap::isConsumedExpr(), IsGlobalLValue(), isInLoop(), isInLoopBody(), isLoop(), clang::Expr::isOBJCGCCandidate(), isObjCObjectLiteral(), isSafeSpanTwoParamConstruct(), clang::Expr::isSameComparisonOperand(), clang::Expr::isUnusedResultAWarning(), rebuildPotentialResultsAsNonOdrUsed(), requiresParensToAddCast(), clang::CodeGen::CodeGenFunction::StartFunction(), clang::Sema::SubstConceptTemplateArguments(), clang::TreeTransform< Derived >::TransformCXXNamedCastExpr(), clang::TreeTransform< Derived >::TransformExpr(), clang::TreeTransform< Derived >::TransformStmt(), clang::threadSafety::SExprBuilder::translate(), updatePreInits(), clang::ento::ExprEngine::Visit(), clang::StmtVisitorBase< Ptr, ImplClass, RetTy, ParamTys >::Visit(), clang::ASTNodeImporter::VisitExplicitCastExpr(), clang::interp::Compiler< Emitter >::visitStmt(), clang::ento::ConditionBRVisitor::VisitTerminator(), and clang::ento::ConditionBRVisitor::VisitTrueTest().
Definition at line 87 of file Stmt.cpp.
References getStmtInfoTableEntry(), StmtClassNameTable::Name, and StmtBits.
Referenced by dump(), clang::CIRGen::CIRGenFunction::emitLValue(), llvm::DOTGraphTraits< const Stmt * >::getNodeLabel(), print_elem(), printIndicesOfElementsToConstructJson(), clang::ento::Environment::printJson(), clang::ProgramPoint::printJson(), printPendingInitLoopJson(), clang::JSONNodeDumper::Visit(), clang::TextNodeDumper::Visit(), clang::ASTNodeImporter::VisitExpr(), and clang::ASTNodeImporter::VisitStmt().
Skip no-op (attributed, compound) container stmts and skip captured stmt at the top, if IgnoreCaptured is true.
Definition at line 205 of file Stmt.cpp.
References Stmt().
Referenced by clang::SemaOpenMP::ActOnOpenMPTargetDirective(), checkOpenMPLoop(), emitBody(), getNestedDistributeDirective(), clang::CodeGen::CGOpenMPRuntime::getNumTeamsExprForTargetDirective(), clang::CodeGen::CGOpenMPRuntime::getSingleCompoundChild(), and IgnoreContainers().
Definition at line 1545 of file Stmt.h.
References false, IgnoreContainers(), and Stmt().
Pretty-prints in JSON format.
Definition at line 2959 of file StmtPrinter.cpp.
References clang::JsonFormat(), and printPretty().
Referenced by clang::ento::Environment::printJson(), and clang::ProgramPoint::printJson().
Definition at line 2944 of file StmtPrinter.cpp.
References Stmt().
Referenced by clang::Sema::BoundsSafetyCheckUseOfCountAttrPtr(), checkPreviousOMPAllocateAttribute(), clang::Sema::DiagnoseAlwaysNonNullPointer(), dumpPretty(), clang::SemaHLSL::emitLogicalOperatorFixIt(), clang::Sema::findFailedBooleanCondition(), clang::FormatASTNodeDiagnosticArgument(), clang::CIRGen::CIRGenFunction::getOpenACCDataOperandInfo(), clang::TemplateArgument::print(), print_block(), print_initializer(), printExplicitSpecifier(), printJson(), and clang::APValue::printPretty().
Definition at line 2951 of file StmtPrinter.cpp.
References Stmt().
Definition at line 109 of file Stmt.cpp.
References getStmtInfoTableEntry(), and StmtClassInfo.
Referenced by clang::ParseAST().
Calculate a unique representation for a statement that is stable across compiler invocations.
Definition at line 2917 of file StmtProfile.cpp.
Referenced by clang::ODRHash::AddStmt().
Produce a unique representation of the given statement.
Definition at line 2911 of file StmtProfile.cpp.
Referenced by actOnOMPReductionKindClause(), clang::SemaOpenMP::ActOnOpenMPAtomicDirective(), clang::Sema::AreConstraintExpressionsEqual(), checkDeducedTemplateArguments(), clang::CheckEquivalentExceptionSpecImpl(), checkPreviousOMPAllocateAttribute(), DiagRecursiveConstraintEval(), getAllocatorKind(), clang::ASTContext::hasSameExpr(), clang::ASTContext::isSameConstraintExpr(), clang::ASTContext::isSameDefaultTemplateArgument(), clang::ASTContext::isSameTemplateArgument(), clang::Sema::MaybeEmitAmbiguousAtomicConstraintsDiagnostic(), clang::ConstantArrayType::Profile(), clang::DependentBitIntType::Profile(), clang::DependentSizedArrayType::Profile(), clang::DependentTypeOfExprType::Profile(), and clang::TemplateArgument::Profile().
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 20 of file StmtViz.cpp.
Definition at line 1332 of file Stmt.h.
Referenced by clang::ArraySubscriptExpr::ArraySubscriptExpr(), clang::ArraySubscriptExpr::getRBracketLoc(), clang::MatrixSubscriptExpr::getRBracketLoc(), clang::MatrixSubscriptExpr::MatrixSubscriptExpr(), clang::ArraySubscriptExpr::setRBracketLoc(), and clang::MatrixSubscriptExpr::setRBracketLoc().
Definition at line 1374 of file Stmt.h.
Referenced by clang::ArrayTypeTraitExpr::ArrayTypeTraitExpr(), clang::ArrayTypeTraitExpr::ArrayTypeTraitExpr(), and clang::ArrayTypeTraitExpr::getTrait().
Definition at line 1311 of file Stmt.h.
Referenced by clang::AttributedStmt::ASTStmtReader, clang::AttributedStmt::getAttrLoc(), and clang::AttributedStmt::getAttrs().
Definition at line 1336 of file Stmt.h.
Referenced by clang::BinaryOperator::BinaryOperator(), clang::BinaryOperator::BinaryOperator(), clang::BinaryOperator::BinaryOperator(), clang::BinaryOperator::BinaryOperator(), clang::BinaryOperator::getFPFeatures(), clang::BinaryOperator::getFPFeaturesInEffect(), clang::BinaryOperator::getOpcode(), clang::BinaryOperator::getOperatorLoc(), clang::BinaryOperator::getTrailingFPFeatures(), clang::BinaryOperator::getTrailingFPFeatures(), clang::BinaryOperator::hasExcludedOverflowPattern(), clang::BinaryOperator::hasStoredFPFeatures(), clang::BinaryOperator::offsetOfTrailingStorage(), clang::BinaryOperator::setExcludedOverflowPattern(), clang::BinaryOperator::setHasStoredFPFeatures(), clang::BinaryOperator::setOpcode(), clang::BinaryOperator::setOperatorLoc(), and clang::BinaryOperator::setStoredFPFeatures().
Definition at line 1333 of file Stmt.h.
Referenced by clang::CallExpr::ASTStmtReader, clang::CallExpr::CallExpr(), clang::CallExpr::CallExpr(), clang::CallExpr::getADLCallKind(), clang::CallExpr::getBeginLoc(), clang::CallExpr::getNumPreArgs(), clang::CallExpr::hasStoredFPFeatures(), clang::CallExpr::isCoroElideSafe(), clang::CallExpr::setADLCallKind(), clang::CallExpr::setCoroElideSafe(), clang::CallExpr::setUsesMemberSyntax(), and clang::CallExpr::usesMemberSyntax().
Definition at line 1335 of file Stmt.h.
Referenced by clang::CastExpr::CastExpr(), clang::CastExpr::CastExpr(), clang::CastExpr::getCastKind(), clang::CastExpr::hasStoredFPFeatures(), clang::ImplicitCastExpr::isPartOfExplicitCast(), clang::CastExpr::path_size(), clang::CastExpr::setCastKind(), and clang::ImplicitCastExpr::setIsPartOfExplicitCast().
Definition at line 1329 of file Stmt.h.
Referenced by clang::CharacterLiteral::CharacterLiteral(), clang::CharacterLiteral::getKind(), and clang::CharacterLiteral::setKind().
Definition at line 1347 of file Stmt.h.
Referenced by clang::ChooseExpr::ChooseExpr(), clang::ChooseExpr::isConditionTrue(), and clang::ChooseExpr::setIsConditionTrue().
Definition at line 1380 of file Stmt.h.
Referenced by clang::CoawaitExpr::CoawaitExpr(), clang::CoawaitExpr::CoawaitExpr(), clang::CoawaitExpr::isImplicit(), and clang::CoawaitExpr::setIsImplicit().
Definition at line 1309 of file Stmt.h.
Referenced by clang::CompoundStmt::body_empty(), clang::CompoundStmt::CompoundStmt(), clang::CompoundStmt::hasStoredFPFeatures(), and clang::CompoundStmt::size().
Definition at line 1324 of file Stmt.h.
Referenced by clang::ConstantExpr::getAPValueResult(), clang::ConstantExpr::getResultAPValueKind(), clang::ConstantExpr::getResultAsAPSInt(), clang::ConstantExpr::getResultStorageKind(), clang::ConstantExpr::hasAPValueResult(), clang::ConstantExpr::isImmediateInvocation(), and clang::ConstantExpr::MoveIntoResult().
Definition at line 1387 of file Stmt.h.
Referenced by clang::ConvertVectorExpr::ASTStmtReader, clang::ConvertVectorExpr::getFPFeaturesInEffect(), clang::ConvertVectorExpr::getFPOptionsOverride(), and clang::ConvertVectorExpr::hasStoredFPFeatures().
Definition at line 1352 of file Stmt.h.
Referenced by clang::CXXBoolLiteralExpr::CXXBoolLiteralExpr(), clang::CXXBoolLiteralExpr::getLocation(), clang::CXXBoolLiteralExpr::getValue(), clang::CXXBoolLiteralExpr::setLocation(), and clang::CXXBoolLiteralExpr::setValue().
Definition at line 1363 of file Stmt.h.
Referenced by clang::CXXConstructExpr::CXXConstructExpr(), clang::CXXConstructExpr::getConstructionKind(), clang::CXXConstructExpr::getLocation(), clang::CXXConstructExpr::hadMultipleCandidates(), clang::CXXConstructExpr::isElidable(), clang::CXXConstructExpr::isImmediateEscalating(), clang::CXXConstructExpr::isListInitialization(), clang::CXXConstructExpr::isStdInitListInitialization(), clang::CXXConstructExpr::requiresZeroInitialization(), clang::CXXConstructExpr::setConstructionKind(), clang::CXXConstructExpr::setElidable(), clang::CXXConstructExpr::setHadMultipleCandidates(), clang::CXXConstructExpr::setIsImmediateEscalating(), clang::CXXConstructExpr::setListInitialization(), clang::CXXConstructExpr::setLocation(), clang::CXXConstructExpr::setRequiresZeroInitialization(), and clang::CXXConstructExpr::setStdInitListInitialization().
Definition at line 1356 of file Stmt.h.
Referenced by clang::CXXDefaultArgExpr::ASTReader, clang::CXXDefaultArgExpr::getExpr(), clang::CXXDefaultArgExpr::getUsedLocation(), and clang::CXXDefaultArgExpr::hasRewrittenInit().
Definition at line 1357 of file Stmt.h.
Referenced by clang::CXXDefaultInitExpr::ASTReader, clang::CXXDefaultInitExpr::getBeginLoc(), clang::CXXDefaultInitExpr::getEndLoc(), and clang::CXXDefaultInitExpr::hasRewrittenInit().
Definition at line 1360 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().
Definition at line 1366 of file Stmt.h.
Referenced by clang::CXXDependentScopeMemberExpr::ASTStmtWriter, clang::CXXDependentScopeMemberExpr::getOperatorLoc(), and clang::CXXDependentScopeMemberExpr::isArrow().
Definition at line 1376 of file Stmt.h.
Referenced by clang::CXXFoldExpr::CXXFoldExpr(), and clang::CXXFoldExpr::getOperator().
Definition at line 1359 of file Stmt.h.
Referenced by clang::CXXNewExpr::doesUsualArrayDeleteWantSize(), clang::CXXNewExpr::getInitializationStyle(), clang::CXXNewExpr::getNumPlacementArgs(), clang::CXXNewExpr::hasInitializer(), clang::CXXNewExpr::implicitAllocationParameters(), clang::CXXNewExpr::isArray(), clang::CXXNewExpr::isGlobalNew(), clang::CXXNewExpr::isParenTypeId(), and clang::CXXNewExpr::passAlignment().
Definition at line 1370 of file Stmt.h.
Referenced by clang::CXXNoexceptExpr::CXXNoexceptExpr(), and clang::CXXNoexceptExpr::getValue().
Definition at line 1353 of file Stmt.h.
Referenced by clang::CXXNullPtrLiteralExpr::CXXNullPtrLiteralExpr(), clang::CXXNullPtrLiteralExpr::getLocation(), and clang::CXXNullPtrLiteralExpr::setLocation().
Definition at line 1350 of file Stmt.h.
Referenced by clang::CXXOperatorCallExpr::getOperator().
Definition at line 1351 of file Stmt.h.
Referenced by clang::CXXRewrittenBinaryOperator::CXXRewrittenBinaryOperator(), and clang::CXXRewrittenBinaryOperator::isReversed().
Definition at line 1358 of file Stmt.h.
Referenced by clang::CXXScalarValueInitExpr::CXXScalarValueInitExpr(), and clang::CXXScalarValueInitExpr::getRParenLoc().
Definition at line 1354 of file Stmt.h.
Referenced by clang::CXXThisExpr::getLocation(), clang::CXXThisExpr::isCapturedByCopyInLambdaWithExplicitObjectParameter(), clang::CXXThisExpr::isImplicit(), clang::CXXThisExpr::setCapturedByCopyInLambdaWithExplicitObjectParameter(), clang::CXXThisExpr::setImplicit(), and clang::CXXThisExpr::setLocation().
Definition at line 1355 of file Stmt.h.
Referenced by clang::CXXThrowExpr::CXXThrowExpr(), clang::CXXThrowExpr::getThrowLoc(), and clang::CXXThrowExpr::isThrownVariableInScope().
Definition at line 1365 of file Stmt.h.
Referenced by clang::CXXUnresolvedConstructExpr::ASTStmtReader, and clang::CXXUnresolvedConstructExpr::getNumArgs().
Definition at line 1326 of file Stmt.h.
Referenced by clang::DeclRefExpr::DeclRefExpr(), clang::DeclRefExpr::getBeginLoc(), clang::DeclRefExpr::getLocation(), clang::DeclRefExpr::hadMultipleCandidates(), clang::DeclRefExpr::hasQualifier(), clang::DeclRefExpr::hasTemplateKWAndArgsInfo(), clang::DeclRefExpr::isCapturedByCopyInLambdaWithExplicitObjectParameter(), clang::DeclRefExpr::isImmediateEscalating(), clang::DeclRefExpr::isNonOdrUse(), clang::DeclRefExpr::refersToEnclosingVariableOrCapture(), clang::DeclRefExpr::setCapturedByCopyInLambdaWithExplicitObjectParameter(), clang::DeclRefExpr::setHadMultipleCandidates(), clang::DeclRefExpr::setIsImmediateEscalating(), and clang::DeclRefExpr::setLocation().
Definition at line 1315 of file Stmt.h.
Referenced by clang::DoStmt::getDoLoc(), and clang::DoStmt::setDoLoc().
Definition at line 1323 of file Stmt.h.
Referenced by clang::Expr::Expr(), clang::Expr::getDependence(), clang::Expr::getObjectKind(), clang::Expr::getValueKind(), clang::Expr::setDependence(), clang::Expr::setObjectKind(), and clang::Expr::setValueKind().
Definition at line 1375 of file Stmt.h.
Referenced by clang::ExpressionTraitExpr::ExpressionTraitExpr(), clang::ExpressionTraitExpr::ExpressionTraitExpr(), clang::ExpressionTraitExpr::getTrait(), and clang::ExpressionTraitExpr::getValue().
Definition at line 1364 of file Stmt.h.
Referenced by clang::ExprWithCleanups::cleanupsHaveSideEffects(), and clang::ExprWithCleanups::getNumObjects().
Definition at line 1327 of file Stmt.h.
Referenced by clang::FloatingLiteral::getRawSemantics(), clang::FloatingLiteral::getSemantics(), clang::FloatingLiteral::isExact(), clang::FloatingLiteral::setExact(), clang::FloatingLiteral::setRawSemantics(), and clang::FloatingLiteral::setSemantics().
Definition at line 1316 of file Stmt.h.
Referenced by clang::ForStmt::ForStmt(), clang::ForStmt::getForLoc(), and clang::ForStmt::setForLoc().
Definition at line 1339 of file Stmt.h.
Referenced by clang::GenericSelectionExpr::getGenericLoc().
Definition at line 1317 of file Stmt.h.
Referenced by clang::GotoStmt::getGotoLoc(), clang::IndirectGotoStmt::getGotoLoc(), clang::GotoStmt::setGotoLoc(), and clang::IndirectGotoStmt::setGotoLoc().
Definition at line 1312 of file Stmt.h.
Referenced by clang::IfStmt::getIfLoc(), clang::IfStmt::getStatementKind(), clang::IfStmt::hasElseStorage(), clang::IfStmt::hasInitStorage(), clang::IfStmt::hasVarStorage(), clang::IfStmt::setIfLoc(), and clang::IfStmt::setStatementKind().
Definition at line 1337 of file Stmt.h.
Referenced by clang::InitListExpr::hadArrayRangeDesignator(), and clang::InitListExpr::sawArrayRangeDesignator().
Definition at line 1310 of file Stmt.h.
Referenced by clang::LabelStmt::getIdentLoc(), and clang::LabelStmt::setIdentLoc().
Definition at line 1372 of file Stmt.h.
Referenced by clang::LambdaExpr::capture_size(), clang::LambdaExpr::getCaptureDefault(), clang::LambdaExpr::hasExplicitParameters(), and clang::LambdaExpr::hasExplicitResultType().
Definition at line 1318 of file Stmt.h.
Referenced by clang::LoopControlStmt::getKwLoc(), and clang::LoopControlStmt::setKwLoc().
Definition at line 1334 of file Stmt.h.
Referenced by clang::MemberExpr::getOperatorLoc(), clang::MemberExpr::hadMultipleCandidates(), clang::MemberExpr::hasQualifier(), clang::MemberExpr::isArrow(), clang::MemberExpr::isNonOdrUse(), clang::MemberExpr::setArrow(), and clang::MemberExpr::setHadMultipleCandidates().
Definition at line 1308 of file Stmt.h.
Referenced by clang::NullStmt::getSemiLoc(), clang::NullStmt::hasLeadingEmptyMacro(), clang::NullStmt::NullStmt(), and clang::NullStmt::setSemiLoc().
Definition at line 1383 of file Stmt.h.
Referenced by clang::ObjCIndirectCopyRestoreExpr::shouldCopy().
Definition at line 1386 of file Stmt.h.
Referenced by clang::OpaqueValueExpr::getLocation(), clang::OpaqueValueExpr::isUnique(), clang::OpaqueValueExpr::OpaqueValueExpr(), and clang::OpaqueValueExpr::setIsUnique().
Definition at line 1367 of file Stmt.h.
Referenced by clang::OverloadExpr::getNumDecls(), clang::OverloadExpr::hasTemplateKWAndArgsInfo(), clang::OverloadExpr::OverloadExpr(), and clang::OverloadExpr::OverloadExpr().
Definition at line 1377 of file Stmt.h.
Referenced by clang::PackIndexingExpr::expandsToEmptyPack(), clang::PackIndexingExpr::getExpressions(), and clang::PackIndexingExpr::isFullySubstituted().
Definition at line 1342 of file Stmt.h.
Referenced by clang::ParenExpr::isProducedByFoldExpansion(), clang::ParenExpr::ParenExpr(), and clang::ParenExpr::setIsProducedByFoldExpansion().
Definition at line 1338 of file Stmt.h.
Referenced by clang::ParenListExpr::getNumExprs().
Definition at line 1325 of file Stmt.h.
Referenced by clang::PredefinedExpr::ASTStmtReader, clang::PredefinedExpr::getIdentKind(), clang::PredefinedExpr::getLocation(), clang::PredefinedExpr::isTransparent(), and clang::PredefinedExpr::setLocation().
Definition at line 1340 of file Stmt.h.
Referenced by clang::PseudoObjectExpr::getResultExpr(), and clang::PseudoObjectExpr::getResultExprIndex().
Definition at line 1373 of file Stmt.h.
Referenced by clang::RequiresExpr::getBeginLoc(), clang::RequiresExpr::getRequiresKWLoc(), clang::RequiresExpr::isSatisfied(), and clang::RequiresExpr::setSatisfied().
Definition at line 1319 of file Stmt.h.
Referenced by clang::ReturnStmt::getReturnLoc(), and clang::ReturnStmt::setReturnLoc().
Definition at line 1343 of file Stmt.h.
Referenced by clang::ShuffleVectorExpr::children(), clang::ShuffleVectorExpr::children(), clang::ShuffleVectorExpr::getExpr(), clang::ShuffleVectorExpr::getExpr(), clang::ShuffleVectorExpr::getNumSubExprs(), clang::ShuffleVectorExpr::getShuffleMaskIdx(), clang::ShuffleVectorExpr::setExprs(), and clang::ShuffleVectorExpr::ShuffleVectorExpr().
Definition at line 1341 of file Stmt.h.
Referenced by clang::SourceLocExpr::getIdentKind(), and clang::SourceLocExpr::SourceLocExpr().
Definition at line 1307 of file Stmt.h.
Referenced by getStmtClass(), getStmtClassName(), and Stmt().
Definition at line 1346 of file Stmt.h.
Referenced by clang::StmtExpr::getTemplateDepth(), and clang::StmtExpr::StmtExpr().
Definition at line 1328 of file Stmt.h.
Referenced by clang::StringLiteral::getCharByteWidth(), clang::StringLiteral::getKind(), clang::StringLiteral::getNumConcatenated(), and clang::StringLiteral::isPascal().
Definition at line 1371 of file Stmt.h.
Referenced by clang::SubstNonTypeTemplateParmExpr::getNameLoc(), and clang::SubstNonTypeTemplateParmExpr::SubstNonTypeTemplateParmExpr().
Definition at line 1320 of file Stmt.h.
Referenced by clang::CaseStmt::caseStmtIsGNURange(), clang::SwitchCase::getKeywordLoc(), and clang::SwitchCase::setKeywordLoc().
Definition at line 1313 of file Stmt.h.
Referenced by clang::SwitchStmt::getSwitchLoc(), clang::SwitchStmt::hasInitStorage(), clang::SwitchStmt::hasVarStorage(), clang::SwitchStmt::isAllEnumCasesCovered(), clang::SwitchStmt::setAllEnumCasesCovered(), and clang::SwitchStmt::setSwitchLoc().
Definition at line 1361 of file Stmt.h.
Referenced by clang::TypeTraitExpr::getAPValue(), clang::TypeTraitExpr::getBoolValue(), clang::TypeTraitExpr::getNumArgs(), clang::TypeTraitExpr::getTrait(), and clang::TypeTraitExpr::isStoredAsBoolean().
Definition at line 1331 of file Stmt.h.
Referenced by clang::UnaryExprOrTypeTraitExpr::getKind(), clang::UnaryExprOrTypeTraitExpr::isArgumentType(), clang::UnaryExprOrTypeTraitExpr::setArgument(), clang::UnaryExprOrTypeTraitExpr::setArgument(), clang::UnaryExprOrTypeTraitExpr::setKind(), clang::UnaryExprOrTypeTraitExpr::UnaryExprOrTypeTraitExpr(), and clang::UnaryExprOrTypeTraitExpr::UnaryExprOrTypeTraitExpr().
Definition at line 1330 of file Stmt.h.
Referenced by clang::UnaryOperator::canOverflow(), clang::UnaryOperator::getFPFeaturesInEffect(), clang::UnaryOperator::getFPOptionsOverride(), clang::UnaryOperator::getOpcode(), clang::UnaryOperator::getOperatorLoc(), clang::UnaryOperator::hasStoredFPFeatures(), clang::UnaryOperator::setCanOverflow(), clang::UnaryOperator::setOpcode(), clang::UnaryOperator::setOperatorLoc(), clang::UnaryOperator::UnaryOperator(), and clang::UnaryOperator::UnaryOperator().
Definition at line 1368 of file Stmt.h.
Referenced by clang::UnresolvedLookupExpr::requiresADL().
Definition at line 1369 of file Stmt.h.
Referenced by clang::UnresolvedMemberExpr::hasUnresolvedUsing(), and clang::UnresolvedMemberExpr::isArrow().
Definition at line 1314 of file Stmt.h.
Referenced by clang::WhileStmt::getWhileLoc(), clang::WhileStmt::hasVarStorage(), and clang::WhileStmt::setWhileLoc().