clang 17.0.0git
|
Stmt - This represents one statement. More...
#include "clang/AST/Stmt.h"
Public Types | |
enum | StmtClass { NoStmtClass = 0 } |
enum | Likelihood { LH_Unlikely = -1 , LH_None , LH_Likely } |
The likelihood of a branch being taken. More... | |
using | child_iterator = StmtIterator |
Child Iterators: All subclasses must implement 'children' to permit easy iteration over the substatements/subexpressions of an AST node. | |
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 ()=delete | |
Stmt (const Stmt &)=delete | |
Stmt (Stmt &&)=delete | |
Stmt & | operator= (const Stmt &)=delete |
Stmt & | operator= (Stmt &&)=delete |
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. | |
SourceLocation | getBeginLoc () const LLVM_READONLY |
SourceLocation | getEndLoc () const LLVM_READONLY |
void | dump () const |
Dumps the specified AST fragment and all subtrees to llvm::errs() . | |
void | dump (raw_ostream &OS, const ASTContext &Context) const |
int64_t | getID (const ASTContext &Context) const |
void | dumpColor () const |
dumpColor - same as dump(), but forces color highlighting. | |
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. | |
void | printPretty (raw_ostream &OS, PrinterHelper *Helper, const PrintingPolicy &Policy, unsigned Indentation=0, StringRef NewlineSymbol="\n", const ASTContext *Context=nullptr) const |
void | printPrettyControlled (raw_ostream &OS, PrinterHelper *Helper, const PrintingPolicy &Policy, unsigned Indentation=0, StringRef NewlineSymbol="\n", const ASTContext *Context=nullptr) const |
void | printJson (raw_ostream &Out, PrinterHelper *Helper, const PrintingPolicy &Policy, bool AddQuotes) const |
Pretty-prints in JSON format. | |
void | viewAST () const |
viewAST - Visualize an AST rooted at this Stmt* using GraphViz. | |
Stmt * | IgnoreContainers (bool IgnoreCaptured=false) |
Skip no-op (attributed, compound) container stmts and skip captured stmt at the top, if IgnoreCaptured is true. | |
const Stmt * | IgnoreContainers (bool IgnoreCaptured=false) const |
const Stmt * | stripLabelLikeStatements () const |
Strip off all label-like statements. | |
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. | |
void | ProcessODRHash (llvm::FoldingSetNodeID &ID, ODRHash &Hash) const |
Calculate a unique representation for a statement that is stable across compiler invocations. | |
Static Public Member Functions | |
static void | addStmtClass (const StmtClass s) |
static void | EnableStatistics () |
static void | PrintStats () |
static Likelihood | getLikelihood (ArrayRef< const Attr * > Attrs) |
static Likelihood | getLikelihood (const Stmt *S) |
static const Attr * | getLikelihoodAttr (const Stmt *S) |
static Likelihood | getLikelihood (const Stmt *Then, const Stmt *Else) |
static std::tuple< bool, const Attr *, const Attr * > | determineLikelihoodConflict (const Stmt *Then, const Stmt *Else) |
Protected Types | |
enum | { NumStmtBits = 8 } |
enum | { NumExprBits = NumStmtBits + 5 + llvm::BitWidth<ExprDependence> } |
enum | { NumCallExprBits = 32 } |
enum | { NumOverloadExprBits = NumExprBits + 1 } |
template<typename T > | |
using | ConstCastIterator = CastIterator< T, const T *const, const Stmt *const > |
Const iterator for iterating over Stmt * arrays that contain only T *. | |
using | ExprIterator = CastIterator< Expr > |
using | ConstExprIterator = ConstCastIterator< Expr > |
Protected Member Functions | |
void * | operator new (size_t bytes) noexcept |
void | operator delete (void *data) noexcept |
Stmt (StmtClass SC, EmptyShell) | |
Construct an empty statement. | |
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 |
|
protected |
|
protected |
|
inlineexplicitprotected |
|
delete |
|
delete |
|
delete |
|
inline |
Definition at line 1172 of file Stmt.h.
References addStmtClass(), and StmtBits.
|
static |
Definition at line 125 of file Stmt.cpp.
References StmtClassNameTable::Counter, getStmtInfoTableEntry(), and s.
Referenced by Stmt().
|
inline |
Definition at line 1280 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(), isIdenticalStmt(), and clang::DesignatedInitExpr::setInit().
|
inline |
Definition at line 1283 of file Stmt.h.
References children().
|
inline |
Definition at line 1281 of file Stmt.h.
References children().
Referenced by llvm::GraphTraits< clang::Stmt * >::child_end(), llvm::GraphTraits< const clang::Stmt * >::child_end(), isAncestorDeclContextOf(), and isIdenticalStmt().
|
inline |
Definition at line 1284 of file Stmt.h.
References children().
Stmt::child_range Stmt::children | ( | ) |
Definition at line 286 of file Stmt.cpp.
References getStmtClass(), and NoStmtClass.
Referenced by clang::Sema::ActOnFinishFunctionBody(), AnalyzeImplicitConversions(), clang::MinComplexityConstraint::calculateStmtComplexity(), CheckConstexprFunctionBody(), CheckNakedParmReference(), checkNoThrow(), child_begin(), child_end(), children(), clang::Expr::HasSideEffects(), isCapturedBy(), IsStructurallyEquivalent(), isSupportedByOpenMPIRBuilder(), and clang::ento::retaincountchecker::RetainCountChecker::processObjCLiterals().
|
inline |
Definition at line 1275 of file Stmt.h.
References children().
|
static |
true
there's a conflict and the Attr's are the conflicting attributes of the Then and Else Stmt. Definition at line 184 of file Stmt.cpp.
References getLikelihood(), and LH_None.
Referenced by clang::Sema::ActOnIfStmt().
LLVM_DUMP_METHOD void Stmt::dump | ( | ) | const |
Dumps the specified AST fragment and all subtrees to llvm::errs()
.
Definition at line 276 of file ASTDumper.cpp.
References P.
Referenced by clang::Sema::ActOnPragmaDump(), and clang::AnyCall::dump().
LLVM_DUMP_METHOD void Stmt::dump | ( | raw_ostream & | OS, |
const ASTContext & | Context | ||
) | const |
Definition at line 281 of file ASTDumper.cpp.
References clang::ASTContext::getDiagnostics(), clang::DiagnosticsEngine::getShowColors(), and P.
LLVM_DUMP_METHOD void Stmt::dumpColor | ( | ) | const |
dumpColor - same as dump(), but forces color highlighting.
Definition at line 287 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 2741 of file StmtPrinter.cpp.
References clang::ASTContext::getLangOpts(), and printPretty().
|
static |
Definition at line 130 of file Stmt.cpp.
Referenced by clang::ParseAST().
SourceLocation Stmt::getBeginLoc | ( | ) | const |
Definition at line 337 of file Stmt.cpp.
References getStmtClass(), and NoStmtClass.
Referenced by clang::Sema::ActOnArraySubscriptExpr(), clang::Sema::ActOnCondition(), clang::Sema::ActOnCXXDelete(), clang::Sema::ActOnCXXForRangeStmt(), clang::Sema::ActOnFinishSwitchStmt(), clang::Sema::ActOnGCCAsmStmt(), clang::Sema::ActOnIfStmt(), clang::Sema::ActOnMSAsmStmt(), clang::Sema::ActOnNoexceptSpec(), clang::Sema::ActOnOpenMPAtomicDirective(), clang::Sema::ActOnOpenMPDispatchDirective(), clang::Sema::ActOnOpenMPDistScheduleClause(), clang::Sema::ActOnOpenMPLinearClause(), clang::Sema::ActOnOpenMPMessageClause(), clang::Sema::ActOnOpenMPOrderedDirective(), clang::Sema::ActOnOpenMPParallelSectionsDirective(), clang::Sema::ActOnOpenMPScheduleClause(), clang::Sema::ActOnOpenMPSectionsDirective(), clang::Sema::ActOnOpenMPTileDirective(), clang::Sema::ActOnOpenMPUnrollDirective(), clang::Sema::ActOnStmtExprResult(), clang::Sema::AddAllocAlignAttr(), clang::Sema::AddConversionCandidate(), adornObjCBoolConversionDiagWithTernaryFixit(), AnalyzeAssignment(), AnalyzeBitFieldAssignment(), AnalyzeImplicitConversions(), clang::Sema::BuildArrayType(), clang::Sema::BuildAtomicExpr(), clang::Sema::BuildBuiltinOffsetOf(), clang::Sema::BuildCallExpr(), clang::Sema::BuildCallToMemberFunction(), buildCaptureDecl(), clang::Sema::BuildCXXDefaultArgExpr(), clang::Sema::BuildCXXNew(), clang::Sema::BuildCXXThrow(), clang::Sema::BuildCXXTypeConstructExpr(), clang::Sema::BuildInstanceMessage(), BuildNonArrayForRange(), clang::Sema::BuildOverloadedCallExpr(), clang::Sema::buildOverloadedCallSet(), clang::Sema::BuildResolvedCallExpr(), clang::Sema::BuildReturnStmt(), clang::Sema::BuildStaticAssertDeclaration(), clang::Sema::BuildVAArgExpr(), calculateConstraintSatisfaction(), clang::Sema::canCalleeThrow(), clang::Sema::CanPerformCopyInitialization(), castForMoving(), CastForMoving(), clang::Sema::CheckAddressOfOperand(), checkArithmeticOrEnumeralThreeWayCompare(), clang::Sema::CheckAssignmentConstraints(), clang::Sema::CheckAssignmentOperands(), clang::Sema::CheckConditionalOperands(), CheckConstexprFunctionBody(), clang::Sema::CheckConversionToObjCLiteral(), CheckConvertedConstantExpression(), clang::Sema::checkDeclIsAllowedInOpenMPTarget(), checkDirectCallValidity(), CheckEvalInICE(), checkExprMemoryConstraintCompat(), CheckFallThroughForBody(), CheckFoldOperand(), clang::Sema::CheckFunctionDeclaration(), CheckICE(), clang::Sema::CheckImplementationIvars(), clang::Sema::CheckMemberPointerConversion(), CheckMoveOnConstruction(), CheckNakedParmReference(), CheckNonTypeTemplatePartialSpecializationArgs(), clang::Sema::CheckObjCBridgeRelatedConversions(), CheckObjCCollectionLiteralElement(), checkObjCCollectionLiteralElement(), checkOpenCLEnqueueIntType(), checkOpenCLPipeArg(), clang::Sema::checkOpenMPDeclareVariantFunction(), checkOpenMPLoop(), checkParamIsIntegerType(), clang::Sema::CheckPlaceholderExpr(), clang::Sema::CheckPointerToMemberOperands(), checkRecursiveFunction(), clang::Sema::CheckSingleAssignmentConstraints(), CheckStmtInlineAttr(), CheckStringInit(), clang::Sema::checkStringLiteralArgumentAttr(), clang::Sema::CheckTemplateArgument(), CheckTemplateArgumentAddressOfObjectOrFunction(), CheckTemplateArgumentIsCompatibleWithParameter(), CheckTemplateArgumentPointerToMember(), checkThreeWayNarrowingConversion(), clang::Sema::checkVariadicArgument(), checkVAStartABI(), checkVAStartIsInVariadicFunction(), clang::Sema::ConstantFoldAttrArgs(), ConvertForConditional(), clang::Sema::ConvertMemberDefaultInitExpression(), clang::Sema::CreateBuiltinArraySubscriptExpr(), clang::Sema::CreateBuiltinBinOp(), clang::Sema::CreateBuiltinMatrixSubscriptExpr(), clang::Sema::CreateGenericSelectionExpr(), CreateIfFixit(), CreateNewFunctionDecl(), clang::Sema::DefaultVariadicArgumentPromotion(), clang::InitializationSequence::Diagnose(), clang::Sema::DiagnoseAlwaysNonNullPointer(), clang::Sema::DiagnoseAssignmentAsCondition(), DiagnoseBitwisePrecedence(), DiagnoseCastQual(), clang::Sema::DiagnoseCommaOperator(), DiagnoseConditionalPrecedence(), clang::Sema::DiagnoseEmptyLoopBody(), DiagnoseIndirectOrAsmJumpStmt(), diagnoseLogicalNotOnLHSofCheck(), clang::ODRDiagsEmitter::diagnoseMismatch(), clang::Sema::DiagnoseMultipleUserDefinedConversion(), DiagnoseNarrowingInInitList(), diagnoseNoViableConversion(), diagnoseObjCLiteralComparison(), diagnoseRepeatedUseOfWeak(), DiagnoseShiftCompare(), diagnoseStringPlusChar(), diagnoseStringPlusInt(), diagnoseTautologicalComparison(), clang::Sema::DiagnoseUnexpandedParameterPack(), DiagnoseUninitializedConstRefUse(), diagnoseUnsatisfiedRequirement(), diagnoseWellFormedUnsatisfiedConstraintExpr(), clang::Sema::diagnoseZeroToNullptrConversion(), DiagUninitUse(), emitAndFixInvalidAsmCastLValue(), emitOutlinedFunctionPrologue(), evaluateVarDeclInit(), findOpenParen(), FinishOverloadedCallExpr(), clang::Sema::GatherArgumentsForCall(), getAndVerifyMatrixDimension(), clang::StmtSequence::getBeginLoc(), clang::UserDefinedLiteral::getBeginLoc(), clang::MSPropertyRefExpr::getBeginLoc(), clang::OMPCanonicalLoop::getBeginLoc(), clang::ConstantExpr::getBeginLoc(), clang::OpaqueValueExpr::getBeginLoc(), clang::ImaginaryLiteral::getBeginLoc(), clang::ArraySubscriptExpr::getBeginLoc(), clang::MatrixSubscriptExpr::getBeginLoc(), clang::CallExpr::getBeginLoc(), clang::MemberExpr::getBeginLoc(), clang::ImplicitCastExpr::getBeginLoc(), clang::BinaryOperator::getBeginLoc(), clang::ConditionalOperator::getBeginLoc(), clang::BinaryConditionalOperator::getBeginLoc(), clang::DesignatedInitUpdateExpr::getBeginLoc(), clang::ExtVectorElementExpr::getBeginLoc(), clang::PseudoObjectExpr::getBeginLoc(), clang::CXXRewrittenBinaryOperator::getBeginLoc(), clang::CXXStdInitializerListExpr::getBeginLoc(), clang::MSPropertySubscriptExpr::getBeginLoc(), clang::CXXBindTemporaryExpr::getBeginLoc(), clang::ExprWithCleanups::getBeginLoc(), clang::PackExpansionExpr::getBeginLoc(), clang::MaterializeTemporaryExpr::getBeginLoc(), clang::CXXFoldExpr::getBeginLoc(), clang::ObjCIvarRefExpr::getBeginLoc(), clang::ObjCPropertyRefExpr::getBeginLoc(), clang::ObjCSubscriptRefExpr::getBeginLoc(), clang::ObjCIsaExpr::getBeginLoc(), clang::OMPArraySectionExpr::getBeginLoc(), clang::CapturedStmt::getBeginLoc(), getExprText(), DerefSimplePtrArithFixableGadget::getFixits(), UPCPreIncrementGadget::getFixits(), clang::CXXRewrittenBinaryOperator::getSourceRange(), clang::ento::PathDiagnosticLocation::getValidSourceLocation(), handleAlwaysInlineAttr(), handleDiagnoseAsBuiltinAttr(), handleDiagnoseIfAttr(), handleFallThroughAttr(), handleLoopHintAttr(), handleNoInlineAttr(), handleNoMergeAttr(), handleNSErrorDomain(), handlePassObjectSizeAttr(), handlePatchableFunctionEntryAttr(), clang::Sema::ImpCastExprToType(), clang::AnalysisDeclContext::isBodyAutosynthesizedFromModelFile(), IsEnumConstOrFromMacro(), IsInitializerListConstructorConversion(), clang::Sema::IsIntegralPromotion(), clang::Sema::IsMemberPointerConversion(), isNullPointerValueTemplateArgument(), clang::Sema::IsPointerConversion(), clang::Expr::isUnusedResultAWarning(), IsUserDefinedConversion(), IsVectorConversion(), MatchTemplateParameterKind(), maybeDiagnoseAssignmentToFunction(), clang::Sema::MaybeEmitAmbiguousAtomicConstraintsDiagnostic(), clang::Parser::ParseConstraintLogicalAndExpression(), clang::ento::ConditionBRVisitor::patternMatch(), clang::InitializationSequence::Perform(), clang::Sema::PerformContextuallyConvertToBool(), clang::Sema::PerformCopyInitialization(), clang::Sema::PerformImplicitConversion(), clang::Sema::PerformObjectArgumentInitialization(), clang::ProgramPoint::printJson(), clang::ento::ExprEngine::ProcessStmt(), ProcessStmtAttribute(), removePunyEdges(), clang::Sema::ResolveAndFixSingleFunctionTemplateSpecialization(), rewriteToArrayLiteral(), rewriteToDictionaryLiteral(), clang::CodeGen::CGOpenMPRuntime::scanForTargetRegionsFunctions(), SemaBuiltinAnnotation(), SemaBuiltinDumpStruct(), SemaBuiltinOverflow(), clang::Sema::SemaBuiltinShuffleVector(), SemaOpenCLBuiltinEnqueueKernel(), SemaOpenCLBuiltinKernelWorkGroupSize(), SemaOpenCLBuiltinNDRangeAndBlock(), clang::Sema::SubstDefaultArgument(), clang::Sema::TemplateParameterListsAreEqual(), TryClassUnification(), clang::Sema::tryConvertExprToType(), TryCopyInitialization(), TryImplicitConversion(), TryLValueToRValueCast(), TryOrBuildParenListInitialization(), TryTypoCorrectionForCall(), TryUserDefinedConversion(), clang::Sema::VerifyIntegerConstantExpression(), clang::TemplateDeclInstantiator::VisitCXXMethodDecl(), clang::ASTNodeImporter::VisitExpr(), clang::TemplateDeclInstantiator::VisitFunctionDecl(), and clang::ento::SuppressInlineDefensiveChecksVisitor::VisitNode().
SourceLocation Stmt::getEndLoc | ( | ) | const |
Definition at line 349 of file Stmt.cpp.
References getStmtClass(), and NoStmtClass.
Referenced by clang::Sema::ActOnCondition(), clang::Sema::ActOnFinishSwitchStmt(), clang::Sema::ActOnLambdaExpr(), clang::Sema::ActOnOpenMPTileDirective(), clang::Sema::ActOnOpenMPUnrollDirective(), addBlockPointerConversion(), addFunctionPointerConversion(), adornObjCBoolConversionDiagWithTernaryFixit(), clang::Sema::BuildCStyleCastExpr(), clang::Sema::BuildCXXFunctionalCastExpr(), clang::Sema::BuildReturnStmt(), CheckFallThroughForBody(), CheckFoldOperand(), clang::Sema::CheckLogicalOperands(), clang::Sema::CheckObjCBridgeRelatedConversions(), clang::Sema::CheckPointerToMemberOperands(), clang::Sema::ConvertMemberDefaultInitExpression(), clang::Sema::CreateBuiltinBinOp(), CreateIfFixit(), clang::ento::CXXDestructorCall::CXXDestructorCall(), clang::Sema::DefaultVariadicArgumentPromotion(), clang::Sema::DiagnoseAlwaysNonNullPointer(), DiagnoseBitwisePrecedence(), clang::Sema::DiagnoseCommaOperator(), DiagnoseConditionalPrecedence(), DiagnoseDirectIsaAccess(), diagnoseLogicalNotOnLHSofCheck(), DiagnoseNarrowingInInitList(), diagnoseNoViableConversion(), diagnoseObjCLiteralComparison(), clang::Sema::DiagnoseSentinelCalls(), DiagnoseShiftCompare(), diagnoseStringPlusChar(), diagnoseStringPlusInt(), clang::CodeGen::CGObjCRuntime::EmitTryCatchStmt(), clang::ObjCIsaExpr::getBaseLocEnd(), clang::StmtSequence::getEndLoc(), clang::ForStmt::getEndLoc(), clang::SEHTryStmt::getEndLoc(), clang::CXXTryStmt::getEndLoc(), clang::OMPCanonicalLoop::getEndLoc(), clang::ConstantExpr::getEndLoc(), clang::OpaqueValueExpr::getEndLoc(), clang::ImaginaryLiteral::getEndLoc(), clang::CallExpr::getEndLoc(), clang::MemberExpr::getEndLoc(), clang::ImplicitCastExpr::getEndLoc(), clang::CStyleCastExpr::getEndLoc(), clang::BinaryOperator::getEndLoc(), clang::ConditionalOperator::getEndLoc(), clang::BinaryConditionalOperator::getEndLoc(), clang::DesignatedInitExpr::getEndLoc(), clang::DesignatedInitUpdateExpr::getEndLoc(), clang::BlockExpr::getEndLoc(), clang::PseudoObjectExpr::getEndLoc(), clang::CXXRewrittenBinaryOperator::getEndLoc(), clang::CXXStdInitializerListExpr::getEndLoc(), clang::CXXThrowExpr::getEndLoc(), clang::CXXBindTemporaryExpr::getEndLoc(), clang::CXXConstructExpr::getEndLoc(), clang::CXXFunctionalCastExpr::getEndLoc(), clang::CXXTemporaryObjectExpr::getEndLoc(), clang::CXXDeleteExpr::getEndLoc(), clang::ExprWithCleanups::getEndLoc(), clang::CXXUnresolvedConstructExpr::getEndLoc(), clang::MaterializeTemporaryExpr::getEndLoc(), clang::CXXFoldExpr::getEndLoc(), clang::CoroutineSuspendExpr::getEndLoc(), clang::DependentCoawaitExpr::getEndLoc(), clang::ObjCStringLiteral::getEndLoc(), clang::ObjCBridgedCastExpr::getEndLoc(), clang::OMPArrayShapingExpr::getEndLoc(), clang::CaseStmt::getEndLoc(), clang::DefaultStmt::getEndLoc(), clang::LabelStmt::getEndLoc(), clang::AttributedStmt::getEndLoc(), clang::IfStmt::getEndLoc(), clang::SwitchStmt::getEndLoc(), clang::WhileStmt::getEndLoc(), clang::ReturnStmt::getEndLoc(), clang::CapturedStmt::getEndLoc(), clang::CXXCatchStmt::getEndLoc(), clang::CXXForRangeStmt::getEndLoc(), clang::MSDependentExistsStmt::getEndLoc(), clang::CoreturnStmt::getEndLoc(), clang::ObjCForCollectionStmt::getEndLoc(), clang::ObjCAtCatchStmt::getEndLoc(), clang::ObjCAtFinallyStmt::getEndLoc(), clang::ObjCAtTryStmt::getEndLoc(), clang::ObjCAtThrowStmt::getEndLoc(), clang::ObjCAutoreleasePoolStmt::getEndLoc(), clang::CXXRewrittenBinaryOperator::getSourceRange(), clang::FieldDecl::getSourceRange(), clang::EnumConstantDecl::getSourceRange(), clang::TopLevelStmtDecl::getSourceRange(), clang::BlockDecl::getSourceRange(), clang::ConceptDecl::getSourceRange(), isNullPointerValueTemplateArgument(), clang::Expr::isUnusedResultAWarning(), clang::Parser::ParseConstraintLogicalAndExpression(), clang::ento::ConditionBRVisitor::patternMatch(), rewriteToArrayLiteral(), rewriteToDictionaryLiteral(), clang::consumed::ConsumedAnalyzer::run(), SemaBuiltinDumpStruct(), clang::Sema::SemaBuiltinShuffleVector(), clang::FunctionDecl::setBody(), clang::Declarator::setTrailingRequiresClause(), TryOrBuildParenListInitialization(), clang::TemplateDeclInstantiator::VisitCXXMethodDecl(), and clang::TemplateDeclInstantiator::VisitFunctionDecl().
int64_t Stmt::getID | ( | const ASTContext & | Context | ) | const |
Definition at line 361 of file Stmt.cpp.
References clang::ASTContext::getAllocator().
Referenced by clang::ento::AllocaRegion::dumpToStream(), clang::ento::CompoundLiteralRegion::dumpToStream(), clang::ento::CXXTempObjectRegion::dumpToStream(), clang::ento::SymbolConjured::dumpToStream(), printIndicesOfElementsToConstructJson(), and printPendingInitLoopJson().
|
static |
Definition at line 154 of file Stmt.cpp.
Referenced by determineLikelihoodConflict(), and getLikelihood().
|
static |
|
static |
Definition at line 166 of file Stmt.cpp.
References getLikelihood(), LH_Likely, LH_None, and LH_Unlikely.
Definition at line 162 of file Stmt.cpp.
Referenced by clang::Sema::ActOnIfStmt().
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 325 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::ActOnFinishSwitchStmt(), clang::Sema::ActOnGCCAsmStmt(), clang::Sema::ActOnMSAsmStmt(), clang::Sema::ActOnObjCAtSynchronizedOperand(), clang::Sema::ActOnOMPArraySectionExpr(), clang::Sema::ActOnOMPIteratorExpr(), clang::Sema::ActOnOpenMPAllocateDirective(), clang::Sema::ActOnOpenMPAtomicDirective(), clang::Sema::ActOnOpenMPDeclareSimdDirective(), clang::Sema::ActOnOpenMPDependClause(), clang::Sema::ActOnOpenMPDepobjClause(), clang::Sema::ActOnOpenMPDetachClause(), clang::Sema::ActOnOpenMPDistScheduleClause(), clang::Sema::ActOnOpenMPHasDeviceAddrClause(), clang::Sema::ActOnOpenMPIsDevicePtrClause(), clang::Sema::ActOnOpenMPScheduleClause(), clang::Sema::ActOnOpenMPUsesAllocatorClause(), clang::Sema::ActOnParamDefaultArgument(), clang::Sema::ActOnStartLinkageSpecification(), clang::Sema::ActOnStartOfSwitchStmt(), clang::Sema::AddAlignedAttr(), clang::Sema::AddAlignValueAttr(), clang::Sema::AddAssumeAlignedAttr(), addFixitForObjCARCConversion(), clang::Sema::AddInitializerToDecl(), AnalyzeBitFieldAssignment(), AnalyzeComparison(), AnalyzeImplicitConversions(), applyCocoaAPICheck(), BuildAddressSpaceIndex(), clang::Sema::BuildArrayType(), clang::Sema::BuildAsTypeExpr(), clang::Sema::BuildAtomicExpr(), clang::Sema::BuildBuiltinOffsetOf(), clang::Sema::BuildCallToMemberFunction(), buildCoawaitCalls(), clang::Sema::BuildCompoundLiteralExpr(), clang::Sema::BuildCXXNew(), clang::Sema::BuildCXXTypeConstructExpr(), clang::Sema::BuildDeclaratorGroup(), clang::Sema::BuildExtVectorType(), clang::Sema::BuildInstanceMessage(), clang::Sema::BuildMatrixType(), clang::Sema::BuildMemberReferenceExpr(), clang::Sema::BuildNestedRequirement(), clang::Sema::BuildObjCAtThrowStmt(), clang::Sema::BuildObjCBoxedExpr(), clang::Sema::BuildObjCBridgedCast(), clang::Sema::BuildObjCNumericLiteral(), clang::Sema::BuildResolvedCallExpr(), clang::Sema::BuildReturnStmt(), clang::Sema::BuildStaticAssertDeclaration(), clang::Sema::BuildVAArgExpr(), clang::Sema::BuildVectorLiteral(), clang::Sema::BuildVectorType(), calculateConstraintSatisfaction(), castForMoving(), CastForMoving(), clang::Sema::CheckAddressOfMemberAccess(), clang::Sema::CheckAddressOfOperand(), CheckAlignOfExpr(), checkAllocateClauses(), checkArithmeticBinOpPointerOperands(), checkArithmeticNull(), checkArithmeticOnObjCPointer(), clang::Sema::CheckBooleanCondition(), CheckBuiltinTargetInSupported(), CheckBuiltinTargetNotInUnsupported(), clang::Sema::CheckCallReturnType(), clang::Sema::CheckCastAlign(), clang::Sema::CheckCompareOperands(), clang::Sema::CheckCompleteVariableDeclaration(), checkCondition(), checkConditionalBlockPointerCompatibility(), clang::Sema::CheckConditionalOperands(), checkConditionalPointerCompatibility(), clang::Sema::CheckConstraintExpression(), CheckConvertedConstantExpression(), CheckCXX98CompatAccessibleCopy(), clang::Sema::CheckCXXThrowOperand(), clang::Sema::checkDeclIsAllowedInOpenMPTarget(), checkEnumArithmeticConversions(), clang::Sema::CheckEnumConstant(), checkEnumTypesInSwitchStmt(), clang::Sema::CheckExceptionSpecCompatibility(), checkExprMemoryConstraintCompat(), clang::Sema::CheckExtraCXXDefaultArguments(), clang::Sema::CheckFloatComparison(), CheckFoldOperand(), clang::Sema::CheckForConstantInitializer(), CheckFormatString(), CheckForModifiableLvalue(), checkFunctionOrMethodParameterIndex(), CheckImplicitConversion(), CheckIncrementDecrementOperand(), checkIndirectCopyRestoreSource(), CheckIndirectionOperand(), CheckKeyForObjCARCConversion(), clang::Sema::CheckLogicalOperands(), checkMapClauseExpressionBase(), checkMapConflicts(), checkMappableExpressionList(), clang::Sema::CheckMemberOperatorAccess(), clang::Sema::CheckMemberPointerConversion(), clang::Sema::CheckMessageArgumentTypes(), CheckNonNullArgument(), CheckObjCCollectionLiteralElement(), checkObjCCollectionLiteralElement(), clang::Sema::CheckObjCForCollectionOperand(), checkObjCPointerIntrospection(), checkOpenCLConditionVector(), checkOpenCLPipeArg(), checkOpenCLPipePacketType(), clang::Sema::checkOpenMPDeclareVariantFunction(), checkOpenMPIterationSpace(), checkOpenMPLoop(), clang::Sema::CheckPackExpansion(), clang::Sema::CheckPointerConversion(), checkPointerIntegerMismatch(), clang::Sema::CheckPointerToMemberOperands(), checkPreviousOMPAllocateAttribute(), clang::Sema::CheckRegparmAttr(), checkSimdlenSafelenSpecified(), clang::Sema::CheckSingleAssignmentConstraints(), clang::Sema::CheckSizelessVectorOperands(), checkSizelessVectorShift(), clang::Sema::CheckStaticArrayArgument(), CheckStringInit(), clang::Sema::CheckSubtractionOperands(), clang::Sema::CheckSwitchCondition(), CheckTautologicalComparison(), clang::Sema::CheckTemplateArgument(), CheckTemplateArgumentAddressOfObjectOrFunction(), CheckTemplateArgumentIsCompatibleWithParameter(), CheckTemplateArgumentPointerToMember(), clang::Sema::CheckTemplateIdType(), clang::Sema::CheckTypenameType(), checkUInt32Argument(), clang::Sema::CheckUnaryExprOrTypeTraitOperand(), clang::Sema::CheckUnresolvedLookupAccess(), clang::Sema::CheckUnresolvedMemberAccess(), checkUnsafeAssignLiteral(), checkUnsafeAssignObject(), clang::Sema::checkUnsafeExprAssigns(), clang::Sema::CheckVariableDeclarationType(), clang::Sema::CheckVectorOperands(), checkVectorShift(), constructDebugPieceForTrackedCondition(), clang::Sema::ConvertArgumentsForCall(), CopyObject(), clang::Sema::CreateBuiltinArraySubscriptExpr(), clang::Sema::CreateBuiltinUnaryOp(), clang::Sema::CreateGenericSelectionExpr(), CreateIfFixit(), CreateNewFunctionDecl(), clang::Sema::CreateOverloadedBinOp(), clang::Sema::CreateOverloadedUnaryOp(), 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(), DiagnoseImpCast(), clang::ODRDiagsEmitter::diagnoseMismatch(), clang::Sema::DiagnoseMultipleUserDefinedConversion(), DiagnoseNarrowingInInitList(), DiagnoseNullConversion(), diagnosePointerIncompatibility(), DiagnoseRecursiveConstFields(), diagnoseRepeatedUseOfWeak(), diagnoseRetainCycle(), DiagnoseSelfAssignment(), clang::Sema::DiagnoseSelfMove(), DiagnoseShiftCompare(), diagnoseTautologicalComparison(), DiagnoseUninitializedConstRefUse(), diagnoseUnknownAnyExpr(), DiagnoseUnusedComparison(), diagnoseWellFormedUnsatisfiedConstraintExpr(), clang::Sema::diagnoseZeroToNullptrConversion(), DiagRecursiveConstraintEval(), DiagUninitUse(), doRewriteToUTF8StringBoxedExpressionHelper(), emitAndFixInvalidAsmCastLValue(), emitBug(), EmitDiagnosticForLogicalAndInLogicalOr(), clang::CodeGen::CGOpenMPRuntime::emitIfClause(), EvaluateArrayTypeTrait(), clang::Sema::FinalizeDeclaration(), clang::Sema::FindCompositeObjCPointerType(), FindConditionalOverload(), findRetainCycleOwner(), findTemplateParameterInType(), finishContextualImplicitConversion(), FinishOverloadedCallExpr(), clang::ento::CallEvent::getArgSourceRange(), clang::ParmVarDecl::getDefaultArgRange(), clang::NonTypeTemplateParmDecl::getDefaultArgumentLoc(), clang::syntax::TreeBuilder::getExprRange(), clang::Sema::getExprRange(), getNumThreads(), clang::Sema::getPrintable(), getPrivateItem(), clang::ObjCMessageExpr::getReceiverRange(), clang::ento::CallEvent::getSourceRange(), clang::CXXStdInitializerListExpr::getSourceRange(), clang::CapturedStmt::getSourceRange(), clang::TemplateArgumentLoc::getSourceRange(), clang::ento::ObjCMethodCall::getSourceRange(), GetUnreachableLoc(), handleCallbackAttr(), clang::Sema::HandleExprPropertyRefExpr(), handleFormatArgAttr(), handleFormatAttr(), handleInitPriorityAttr(), handleLayoutVersion(), handleM68kInterruptAttr(), handleMSP430InterruptAttr(), handleNonNullAttr(), handleOpenCLUnrollHint(), handleOwnershipAttr(), handlePassObjectSizeAttr(), handleSentinelAttr(), handleSubGroupSize(), handleWorkGroupSize(), clang::Expr::IgnoreUnlessSpelledInSource(), clang::Sema::ImpCastExprToType(), clang::Sema::InvalidLogicalVectorOperands(), clang::Sema::InvalidOperands(), isConfigurationValue(), isNonNegativeIntegerValue(), isNullPointerValueTemplateArgument(), clang::Expr::isUnusedResultAWarning(), LookupMemberExpr(), LookupMemberExprInRecord(), makeLaunchBoundsArgExpr(), clang::Sema::MaybeEmitAmbiguousAtomicConstraintsDiagnostic(), maybePutParensOnReceiver(), nextPathEntryRange(), objectifyExpr(), OpenCLArithmeticConversions(), clang::Parser::ParseConstraintLogicalAndExpression(), clang::ento::ConditionBRVisitor::patternMatch(), clang::InitializationSequence::Perform(), clang::Sema::PerformContextualImplicitConversion(), clang::Sema::PerformContextuallyConvertToBool(), clang::Sema::PerformImplicitConversion(), clang::Sema::PerformObjectArgumentInitialization(), clang::Sema::PerformObjectMemberConversion(), populateExecutedLinesWithFunctionSignature(), printExprAsWritten(), printIndicesOfElementsToConstructJson(), printPendingInitLoopJson(), 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(), SemaBuiltinAnnotation(), SemaBuiltinCallWithStaticChain(), SemaBuiltinCpuIs(), SemaBuiltinCpuSupports(), SemaBuiltinFunctionStart(), SemaBuiltinLaunder(), SemaBuiltinMSVCAnnotation(), SemaBuiltinOverflow(), SemaBuiltinRWPipe(), clang::Sema::SemaBuiltinShuffleVector(), clang::Sema::SemaConvertVectorExpr(), clang::TreeTransform< Derived >::TransformExprs(), tryDiagnoseOverloadedCast(), TryOrBuildParenListInitialization(), TryReinterpretCast(), clang::ConversionFixItGenerator::tryToFixConversion(), clang::Sema::tryToRecoverWithCall(), clang::Sema::VerifyBitField(), clang::Sema::VerifyIntegerConstantExpression(), and clang::Sema::WarnOnPendingNoDerefs().
|
inline |
Definition at line 1181 of file Stmt.h.
References StmtBits.
Referenced by checkFormatStringExpr(), CheckICE(), clang::Sema::CheckLiteralKind(), children(), ClassifyInternal(), clang::Expr::classof(), clang::FullExpr::classof(), clang::ConstantExpr::classof(), clang::OpaqueValueExpr::classof(), clang::DeclRefExpr::classof(), clang::IntegerLiteral::classof(), clang::FixedPointLiteral::classof(), clang::CharacterLiteral::classof(), clang::FloatingLiteral::classof(), clang::ImaginaryLiteral::classof(), clang::StringLiteral::classof(), clang::PredefinedExpr::classof(), clang::SYCLUniqueStableNameExpr::classof(), clang::ParenExpr::classof(), clang::UnaryOperator::classof(), clang::OffsetOfExpr::classof(), clang::UnaryExprOrTypeTraitExpr::classof(), clang::ArraySubscriptExpr::classof(), clang::MatrixSubscriptExpr::classof(), clang::CallExpr::classof(), clang::MemberExpr::classof(), clang::CompoundLiteralExpr::classof(), clang::CastExpr::classof(), clang::ImplicitCastExpr::classof(), clang::ExplicitCastExpr::classof(), clang::CStyleCastExpr::classof(), clang::AbstractConditionalOperator::classof(), clang::ConditionalOperator::classof(), clang::BinaryConditionalOperator::classof(), clang::AddrLabelExpr::classof(), clang::StmtExpr::classof(), clang::ShuffleVectorExpr::classof(), clang::ConvertVectorExpr::classof(), clang::ChooseExpr::classof(), clang::GNUNullExpr::classof(), clang::VAArgExpr::classof(), clang::SourceLocExpr::classof(), clang::NoInitExpr::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::RecoveryExpr::classof(), clang::ConceptSpecializationExpr::classof(), clang::RequiresExpr::classof(), clang::CXXOperatorCallExpr::classof(), clang::CXXMemberCallExpr::classof(), clang::CUDAKernelCallExpr::classof(), clang::CXXRewrittenBinaryOperator::classof(), clang::CXXNamedCastExpr::classof(), clang::CXXStaticCastExpr::classof(), clang::CXXDynamicCastExpr::classof(), clang::CXXReinterpretCastExpr::classof(), clang::CXXConstCastExpr::classof(), clang::CXXAddrspaceCastExpr::classof(), clang::CXXBoolLiteralExpr::classof(), clang::CXXNullPtrLiteralExpr::classof(), clang::CXXTypeidExpr::classof(), clang::MSPropertyRefExpr::classof(), clang::MSPropertySubscriptExpr::classof(), clang::CXXUuidofExpr::classof(), clang::CXXThisExpr::classof(), clang::CXXThrowExpr::classof(), clang::CXXDefaultArgExpr::classof(), clang::CXXDefaultInitExpr::classof(), clang::CXXBindTemporaryExpr::classof(), clang::CXXConstructExpr::classof(), clang::CXXInheritedCtorInitExpr::classof(), clang::LambdaExpr::classof(), clang::CXXScalarValueInitExpr::classof(), clang::CXXNewExpr::classof(), clang::CXXDeleteExpr::classof(), clang::TypeTraitExpr::classof(), clang::ArrayTypeTraitExpr::classof(), clang::ExpressionTraitExpr::classof(), clang::OverloadExpr::classof(), clang::UnresolvedLookupExpr::classof(), clang::DependentScopeDeclRefExpr::classof(), clang::ExprWithCleanups::classof(), clang::CXXUnresolvedConstructExpr::classof(), clang::CXXDependentScopeMemberExpr::classof(), clang::UnresolvedMemberExpr::classof(), clang::CXXNoexceptExpr::classof(), clang::PackExpansionExpr::classof(), clang::SizeOfPackExpr::classof(), clang::SubstNonTypeTemplateParmPackExpr::classof(), clang::FunctionParmPackExpr::classof(), clang::MaterializeTemporaryExpr::classof(), clang::CXXFoldExpr::classof(), clang::CXXParenListInitExpr::classof(), clang::CoroutineSuspendExpr::classof(), clang::CoawaitExpr::classof(), clang::DependentCoawaitExpr::classof(), clang::CoyieldExpr::classof(), clang::BuiltinBitCastExpr::classof(), clang::ObjCStringLiteral::classof(), clang::ObjCBoolLiteralExpr::classof(), clang::ObjCBoxedExpr::classof(), clang::ObjCArrayLiteral::classof(), clang::ObjCDictionaryLiteral::classof(), clang::ObjCEncodeExpr::classof(), clang::ObjCSelectorExpr::classof(), clang::ObjCProtocolExpr::classof(), clang::ObjCIvarRefExpr::classof(), clang::ObjCPropertyRefExpr::classof(), clang::ObjCSubscriptRefExpr::classof(), clang::ObjCMessageExpr::classof(), clang::ObjCIsaExpr::classof(), clang::ObjCBridgedCastExpr::classof(), clang::ObjCAvailabilityCheckExpr::classof(), clang::OMPArraySectionExpr::classof(), clang::OMPArrayShapingExpr::classof(), clang::OMPIteratorExpr::classof(), clang::DeclStmt::classof(), clang::NullStmt::classof(), clang::CompoundStmt::classof(), clang::CaseStmt::classof(), clang::DefaultStmt::classof(), clang::ValueStmt::classof(), clang::LabelStmt::classof(), clang::AttributedStmt::classof(), clang::IfStmt::classof(), clang::SwitchStmt::classof(), clang::WhileStmt::classof(), clang::DoStmt::classof(), clang::ForStmt::classof(), clang::GotoStmt::classof(), clang::IndirectGotoStmt::classof(), clang::ContinueStmt::classof(), clang::BreakStmt::classof(), clang::ReturnStmt::classof(), clang::AsmStmt::classof(), clang::GCCAsmStmt::classof(), clang::MSAsmStmt::classof(), clang::SEHExceptStmt::classof(), clang::SEHFinallyStmt::classof(), clang::SEHTryStmt::classof(), clang::SEHLeaveStmt::classof(), clang::CapturedStmt::classof(), clang::CXXCatchStmt::classof(), clang::CXXTryStmt::classof(), clang::CXXForRangeStmt::classof(), clang::MSDependentExistsStmt::classof(), clang::CoroutineBodyStmt::classof(), clang::CoreturnStmt::classof(), clang::ObjCForCollectionStmt::classof(), clang::ObjCAtCatchStmt::classof(), clang::ObjCAtFinallyStmt::classof(), clang::ObjCAtSynchronizedStmt::classof(), clang::ObjCAtThrowStmt::classof(), clang::ObjCAutoreleasePoolStmt::classof(), clang::OMPParallelDirective::classof(), clang::OMPLoopTransformationDirective::classof(), clang::OMPLoopDirective::classof(), clang::OMPSimdDirective::classof(), clang::OMPForDirective::classof(), clang::OMPForSimdDirective::classof(), clang::OMPSectionsDirective::classof(), clang::OMPSectionDirective::classof(), clang::OMPSingleDirective::classof(), clang::OMPMasterDirective::classof(), clang::OMPCriticalDirective::classof(), clang::OMPParallelForDirective::classof(), clang::OMPParallelForSimdDirective::classof(), clang::OMPParallelMasterDirective::classof(), clang::OMPParallelMaskedDirective::classof(), clang::OMPParallelSectionsDirective::classof(), clang::OMPTaskDirective::classof(), clang::OMPTaskyieldDirective::classof(), clang::OMPBarrierDirective::classof(), clang::OMPTaskwaitDirective::classof(), clang::OMPTaskgroupDirective::classof(), clang::OMPFlushDirective::classof(), clang::OMPDepobjDirective::classof(), clang::OMPOrderedDirective::classof(), clang::OMPAtomicDirective::classof(), clang::OMPTargetDirective::classof(), clang::OMPTargetDataDirective::classof(), clang::OMPTargetEnterDataDirective::classof(), clang::OMPTargetExitDataDirective::classof(), clang::OMPTargetParallelDirective::classof(), clang::OMPTargetParallelForDirective::classof(), clang::OMPTeamsDirective::classof(), clang::OMPCancellationPointDirective::classof(), clang::OMPCancelDirective::classof(), clang::OMPTaskLoopDirective::classof(), clang::OMPTaskLoopSimdDirective::classof(), clang::OMPMasterTaskLoopDirective::classof(), clang::OMPMaskedTaskLoopDirective::classof(), clang::OMPMasterTaskLoopSimdDirective::classof(), clang::OMPMaskedTaskLoopSimdDirective::classof(), clang::OMPParallelMasterTaskLoopDirective::classof(), clang::OMPParallelMaskedTaskLoopDirective::classof(), clang::OMPParallelMasterTaskLoopSimdDirective::classof(), clang::OMPParallelMaskedTaskLoopSimdDirective::classof(), clang::OMPDistributeDirective::classof(), clang::OMPTargetUpdateDirective::classof(), clang::OMPDistributeParallelForDirective::classof(), clang::OMPDistributeParallelForSimdDirective::classof(), clang::OMPDistributeSimdDirective::classof(), clang::OMPTargetParallelForSimdDirective::classof(), clang::OMPTargetSimdDirective::classof(), clang::OMPTeamsDistributeDirective::classof(), clang::OMPTeamsDistributeSimdDirective::classof(), clang::OMPTeamsDistributeParallelForSimdDirective::classof(), clang::OMPTeamsDistributeParallelForDirective::classof(), clang::OMPTargetTeamsDirective::classof(), clang::OMPTargetTeamsDistributeDirective::classof(), clang::OMPTargetTeamsDistributeParallelForDirective::classof(), clang::OMPTargetTeamsDistributeParallelForSimdDirective::classof(), clang::OMPTargetTeamsDistributeSimdDirective::classof(), clang::OMPTileDirective::classof(), clang::OMPUnrollDirective::classof(), clang::OMPScanDirective::classof(), clang::OMPInteropDirective::classof(), clang::OMPDispatchDirective::classof(), clang::OMPMaskedDirective::classof(), clang::OMPMetaDirective::classof(), clang::OMPGenericLoopDirective::classof(), clang::OMPTeamsGenericLoopDirective::classof(), clang::OMPTargetTeamsGenericLoopDirective::classof(), clang::OMPParallelGenericLoopDirective::classof(), clang::OMPTargetParallelGenericLoopDirective::classof(), clang::OMPErrorDirective::classof(), DiagUninitUse(), FindTypeTagExpr(), getBaseAlignmentAndOffsetFromLValue(), getBaseAlignmentAndOffsetFromPtr(), getBeginLoc(), clang::CXXNamedCastExpr::getCastName(), clang::ento::SValBuilder::getConstantVal(), getEndLoc(), clang::Expr::getExprLoc(), getLoopCondition(), clang::ento::ObjCMethodCall::getMessageKind(), clang::OMPLoopTransformationDirective::getPreInits(), getPrimaryDecl(), clang::threadSafety::getSourceLiteralString(), getSourceRange(), clang::CastExpr::getTrailingFPFeatures(), clang::OMPLoopTransformationDirective::getTransformedStmt(), clang::Expr::HasSideEffects(), ignoreTransparentExprs(), clang::Expr::isConstantInitializer(), IsGlobalLValue(), isIdenticalStmt(), isInLoopBody(), isLoop(), clang::Expr::isOBJCGCCandidate(), isObjCObjectLiteral(), clang::Expr::isSameComparisonOperand(), clang::Expr::isUnusedResultAWarning(), rebuildPotentialResultsAsNonOdrUsed(), requiresParensToAddCast(), clang::TreeTransform< Derived >::TransformCXXNamedCastExpr(), clang::TreeTransform< Derived >::TransformExpr(), clang::ASTNodeImporter::VisitExplicitCastExpr(), clang::ento::ConditionBRVisitor::VisitTerminator(), and clang::ento::ConditionBRVisitor::VisitTrueTest().
const char * Stmt::getStmtClassName | ( | ) | const |
Definition at line 78 of file Stmt.cpp.
References getStmtInfoTableEntry(), StmtClassNameTable::Name, and StmtBits.
Referenced by print_elem(), printIndicesOfElementsToConstructJson(), printPendingInitLoopJson(), 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 196 of file Stmt.cpp.
Referenced by clang::Sema::ActOnOpenMPTargetDirective(), checkOpenMPLoop(), clang::OMPLoopBasedDirective::doForAllLoops(), getDistributeLastprivateVars(), getNestedDistributeDirective(), clang::CodeGen::CGOpenMPRuntime::getNumTeamsExprForTargetDirective(), clang::CodeGen::CGOpenMPRuntime::getSingleCompoundChild(), hasNestedSPMDDirective(), IgnoreContainers(), and clang::OMPLoopBasedDirective::tryToFindNextInnerLoop().
Definition at line 1254 of file Stmt.h.
References IgnoreContainers().
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlineprotectednoexcept |
|
inlineprotectednoexcept |
void * Stmt::operator new | ( | size_t | bytes, |
const ASTContext & | C, | ||
unsigned | alignment = 8 |
||
) |
|
inline |
|
inlinenoexcept |
void Stmt::printJson | ( | raw_ostream & | Out, |
PrinterHelper * | Helper, | ||
const PrintingPolicy & | Policy, | ||
bool | AddQuotes | ||
) | const |
Pretty-prints in JSON format.
Definition at line 2760 of file StmtPrinter.cpp.
References clang::JsonFormat(), and printPretty().
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 2745 of file StmtPrinter.cpp.
References P.
Referenced by clang::Sema::DiagnoseAlwaysNonNullPointer(), DiagTemplateArg(), dumpPretty(), clang::ento::StringRegion::dumpToStream(), clang::ento::ObjCStringRegion::dumpToStream(), clang::Sema::findFailedBooleanCondition(), clang::TemplateArgument::print(), print_block(), clang::FunctionProtoType::printExceptionSpecification(), printExplicitSpecifier(), printJson(), and clang::APValue::printPretty().
void Stmt::printPrettyControlled | ( | raw_ostream & | OS, |
PrinterHelper * | Helper, | ||
const PrintingPolicy & | Policy, | ||
unsigned | Indentation = 0 , |
||
StringRef | NewlineSymbol = "\n" , |
||
const ASTContext * | Context = nullptr |
||
) | const |
Definition at line 2752 of file StmtPrinter.cpp.
References P.
|
static |
Definition at line 100 of file Stmt.cpp.
References StmtClassNameTable::Counter, getStmtInfoTableEntry(), StmtClassNameTable::Name, StmtClassNameTable::Size, and StmtClassInfo.
Referenced by clang::ParseAST().
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 2396 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 2390 of file StmtProfile.cpp.
Referenced by actOnOMPReductionKindClause(), clang::Sema::ActOnOpenMPAtomicDirective(), clang::Sema::AreConstraintExpressionsEqual(), checkDeducedTemplateArguments(), clang::CheckEquivalentExceptionSpecImpl(), checkPreviousOMPAllocateAttribute(), DiagRecursiveConstraintEval(), getAllocatorKind(), clang::ASTContext::hasSameExpr(), clang::ASTContext::isSameConstraintExpr(), clang::ASTContext::isSameDefaultTemplateArgument(), clang::ASTContext::isSameEntity(), isSameTemplateArg(), clang::Sema::MaybeEmitAmbiguousAtomicConstraintsDiagnostic(), clang::TemplateArgument::Profile(), clang::DependentBitIntType::Profile(), clang::DependentDecltypeType::Profile(), clang::DependentTypeOfExprType::Profile(), clang::DependentVectorType::Profile(), clang::DependentSizedMatrixType::Profile(), clang::DependentSizedExtVectorType::Profile(), clang::DependentSizedArrayType::Profile(), clang::DependentAddressSpaceType::Profile(), and clang::ConstantArrayType::Profile().
|
inline |
Definition at line 1259 of file Stmt.h.
References stripLabelLikeStatements().
const Stmt * Stmt::stripLabelLikeStatements | ( | ) | const |
Strip off all label-like statements.
This will strip off label statements, case statements, attributed statements and default statements recursively.
Definition at line 218 of file Stmt.cpp.
Referenced by stripLabelLikeStatements().
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 20 of file StmtViz.cpp.
|
friend |
|
friend |
union { ... } clang::Stmt::@83 |
ArrayOrMatrixSubscriptExprBitfields clang::Stmt::ArrayOrMatrixSubscriptExprBits |
Definition at line 1049 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().
AttributedStmtBitfields clang::Stmt::AttributedStmtBits |
Definition at line 1027 of file Stmt.h.
Referenced by clang::AttributedStmt::getAttrLoc(), and clang::AttributedStmt::getAttrs().
BinaryOperatorBitfields clang::Stmt::BinaryOperatorBits |
Definition at line 1053 of file Stmt.h.
Referenced by clang::BinaryOperator::BinaryOperator(), clang::BinaryOperator::getFPFeatures(), clang::BinaryOperator::getFPFeaturesInEffect(), clang::BinaryOperator::getOpcode(), clang::BinaryOperator::getOperatorLoc(), clang::BinaryOperator::getTrailingFPFeatures(), clang::BinaryOperator::hasStoredFPFeatures(), clang::BinaryOperator::offsetOfTrailingStorage(), clang::BinaryOperator::setHasStoredFPFeatures(), clang::BinaryOperator::setOpcode(), clang::BinaryOperator::setOperatorLoc(), and clang::BinaryOperator::setStoredFPFeatures().
BreakStmtBitfields clang::Stmt::BreakStmtBits |
Definition at line 1035 of file Stmt.h.
Referenced by clang::BreakStmt::getBreakLoc(), and clang::BreakStmt::setBreakLoc().
CallExprBitfields clang::Stmt::CallExprBits |
Definition at line 1050 of file Stmt.h.
Referenced by clang::CallExpr::CallExpr(), clang::CallExpr::getADLCallKind(), clang::CallExpr::getNumPreArgs(), clang::CallExpr::getTrailingFPFeatures(), clang::CallExpr::hasStoredFPFeatures(), and clang::CallExpr::setADLCallKind().
CastExprBitfields clang::Stmt::CastExprBits |
Definition at line 1052 of file Stmt.h.
Referenced by clang::CastExpr::CastExpr(), clang::CastExpr::getCastKind(), clang::CastExpr::hasStoredFPFeatures(), clang::ImplicitCastExpr::isPartOfExplicitCast(), clang::CastExpr::path_size(), clang::CastExpr::setCastKind(), and clang::ImplicitCastExpr::setIsPartOfExplicitCast().
CharacterLiteralBitfields clang::Stmt::CharacterLiteralBits |
Definition at line 1046 of file Stmt.h.
Referenced by clang::CharacterLiteral::CharacterLiteral(), clang::CharacterLiteral::getKind(), and clang::CharacterLiteral::setKind().
CoawaitExprBitfields clang::Stmt::CoawaitBits |
Definition at line 1090 of file Stmt.h.
Referenced by clang::CoawaitExpr::CoawaitExpr(), clang::CoawaitExpr::isImplicit(), and clang::CoawaitExpr::setIsImplicit().
CompoundStmtBitfields clang::Stmt::CompoundStmtBits |
Definition at line 1025 of file Stmt.h.
Referenced by clang::CompoundStmt::body_empty(), clang::CompoundStmt::CompoundStmt(), clang::CompoundStmt::CreateEmpty(), clang::CompoundStmt::hasStoredFPFeatures(), and clang::CompoundStmt::size().
ConstantExprBitfields clang::Stmt::ConstantExprBits |
Definition at line 1041 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().
ContinueStmtBitfields clang::Stmt::ContinueStmtBits |
Definition at line 1034 of file Stmt.h.
Referenced by clang::ContinueStmt::getContinueLoc(), and clang::ContinueStmt::setContinueLoc().
CXXBoolLiteralExprBitfields clang::Stmt::CXXBoolLiteralExprBits |
Definition at line 1066 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 1077 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 1070 of file Stmt.h.
Referenced by clang::CXXDefaultArgExpr::getExpr(), clang::CXXDefaultArgExpr::getUsedLocation(), and clang::CXXDefaultArgExpr::hasRewrittenInit().
CXXDefaultInitExprBitfields clang::Stmt::CXXDefaultInitExprBits |
Definition at line 1071 of file Stmt.h.
Referenced by clang::CXXDefaultInitExpr::getBeginLoc(), clang::CXXDefaultInitExpr::getEndLoc(), and clang::CXXDefaultInitExpr::hasRewrittenInit().
CXXDeleteExprBitfields clang::Stmt::CXXDeleteExprBits |
Definition at line 1074 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 1080 of file Stmt.h.
Referenced by clang::CXXDependentScopeMemberExpr::getOperatorLoc(), and clang::CXXDependentScopeMemberExpr::isArrow().
CXXNewExprBitfields clang::Stmt::CXXNewExprBits |
Definition at line 1073 of file Stmt.h.
Referenced by clang::CXXNewExpr::doesUsualArrayDeleteWantSize(), 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 1084 of file Stmt.h.
Referenced by clang::CXXNoexceptExpr::CXXNoexceptExpr(), and clang::CXXNoexceptExpr::getValue().
CXXNullPtrLiteralExprBitfields clang::Stmt::CXXNullPtrLiteralExprBits |
Definition at line 1067 of file Stmt.h.
Referenced by clang::CXXNullPtrLiteralExpr::CXXNullPtrLiteralExpr(), clang::CXXNullPtrLiteralExpr::getLocation(), and clang::CXXNullPtrLiteralExpr::setLocation().
CXXOperatorCallExprBitfields clang::Stmt::CXXOperatorCallExprBits |
Definition at line 1064 of file Stmt.h.
Referenced by clang::CXXOperatorCallExpr::getOperator().
CXXRewrittenBinaryOperatorBitfields clang::Stmt::CXXRewrittenBinaryOperatorBits |
Definition at line 1065 of file Stmt.h.
Referenced by clang::CXXRewrittenBinaryOperator::CXXRewrittenBinaryOperator(), and clang::CXXRewrittenBinaryOperator::isReversed().
CXXScalarValueInitExprBitfields clang::Stmt::CXXScalarValueInitExprBits |
Definition at line 1072 of file Stmt.h.
Referenced by clang::CXXScalarValueInitExpr::CXXScalarValueInitExpr(), and clang::CXXScalarValueInitExpr::getRParenLoc().
CXXThisExprBitfields clang::Stmt::CXXThisExprBits |
Definition at line 1068 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 1069 of file Stmt.h.
Referenced by clang::CXXThrowExpr::CXXThrowExpr(), clang::CXXThrowExpr::getThrowLoc(), and clang::CXXThrowExpr::isThrownVariableInScope().
CXXUnresolvedConstructExprBitfields clang::Stmt::CXXUnresolvedConstructExprBits |
Definition at line 1079 of file Stmt.h.
Referenced by clang::CXXUnresolvedConstructExpr::getNumArgs().
DeclRefExprBitfields clang::Stmt::DeclRefExprBits |
Definition at line 1043 of file Stmt.h.
Referenced by clang::DeclRefExpr::DeclRefExpr(), clang::DeclRefExpr::getLocation(), clang::DeclRefExpr::hadMultipleCandidates(), clang::DeclRefExpr::hasQualifier(), clang::DeclRefExpr::hasTemplateKWAndArgsInfo(), clang::DeclRefExpr::isNonOdrUse(), clang::DeclRefExpr::refersToEnclosingVariableOrCapture(), clang::DeclRefExpr::setHadMultipleCandidates(), and clang::DeclRefExpr::setLocation().
DependentScopeDeclRefExprBitfields clang::Stmt::DependentScopeDeclRefExprBits |
Definition at line 1076 of file Stmt.h.
Referenced by clang::DependentScopeDeclRefExpr::CreateEmpty().
DoStmtBitfields clang::Stmt::DoStmtBits |
Definition at line 1031 of file Stmt.h.
Referenced by clang::DoStmt::getDoLoc(), and clang::DoStmt::setDoLoc().
ExprBitfields clang::Stmt::ExprBits |
Definition at line 1040 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().
ExprWithCleanupsBitfields clang::Stmt::ExprWithCleanupsBits |
Definition at line 1078 of file Stmt.h.
Referenced by clang::ExprWithCleanups::cleanupsHaveSideEffects(), and clang::ExprWithCleanups::getNumObjects().
FloatingLiteralBitfields clang::Stmt::FloatingLiteralBits |
Definition at line 1044 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().
ForStmtBitfields clang::Stmt::ForStmtBits |
Definition at line 1032 of file Stmt.h.
Referenced by clang::ForStmt::ForStmt(), clang::ForStmt::getForLoc(), and clang::ForStmt::setForLoc().
GenericSelectionExprBitfields clang::Stmt::GenericSelectionExprBits |
Definition at line 1056 of file Stmt.h.
Referenced by clang::GenericSelectionExpr::getGenericLoc().
GotoStmtBitfields clang::Stmt::GotoStmtBits |
Definition at line 1033 of file Stmt.h.
Referenced by clang::GotoStmt::getGotoLoc(), clang::IndirectGotoStmt::getGotoLoc(), clang::GotoStmt::setGotoLoc(), and clang::IndirectGotoStmt::setGotoLoc().
IfStmtBitfields clang::Stmt::IfStmtBits |
Definition at line 1028 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().
InitListExprBitfields clang::Stmt::InitListExprBits |
Definition at line 1054 of file Stmt.h.
Referenced by clang::InitListExpr::hadArrayRangeDesignator(), and clang::InitListExpr::sawArrayRangeDesignator().
LabelStmtBitfields clang::Stmt::LabelStmtBits |
Definition at line 1026 of file Stmt.h.
Referenced by clang::LabelStmt::getIdentLoc(), and clang::LabelStmt::setIdentLoc().
LambdaExprBitfields clang::Stmt::LambdaExprBits |
Definition at line 1086 of file Stmt.h.
Referenced by clang::LambdaExpr::capture_size(), clang::LambdaExpr::getCaptureDefault(), clang::LambdaExpr::hasExplicitParameters(), and clang::LambdaExpr::hasExplicitResultType().
MemberExprBitfields clang::Stmt::MemberExprBits |
Definition at line 1051 of file Stmt.h.
Referenced by clang::MemberExpr::Create(), clang::MemberExpr::getOperatorLoc(), clang::MemberExpr::hadMultipleCandidates(), clang::MemberExpr::isArrow(), clang::MemberExpr::isNonOdrUse(), clang::MemberExpr::setArrow(), and clang::MemberExpr::setHadMultipleCandidates().
NullStmtBitfields clang::Stmt::NullStmtBits |
Definition at line 1024 of file Stmt.h.
Referenced by clang::NullStmt::getSemiLoc(), clang::NullStmt::hasLeadingEmptyMacro(), clang::NullStmt::NullStmt(), and clang::NullStmt::setSemiLoc().
ObjCIndirectCopyRestoreExprBitfields clang::Stmt::ObjCIndirectCopyRestoreExprBits |
Definition at line 1093 of file Stmt.h.
Referenced by clang::ObjCIndirectCopyRestoreExpr::shouldCopy().
OpaqueValueExprBitfields clang::Stmt::OpaqueValueExprBits |
Definition at line 1096 of file Stmt.h.
Referenced by clang::OpaqueValueExpr::getLocation(), clang::OpaqueValueExpr::isUnique(), clang::OpaqueValueExpr::OpaqueValueExpr(), and clang::OpaqueValueExpr::setIsUnique().
OverloadExprBitfields clang::Stmt::OverloadExprBits |
Definition at line 1081 of file Stmt.h.
Referenced by clang::OverloadExpr::getNumDecls(), clang::OverloadExpr::hasTemplateKWAndArgsInfo(), and clang::OverloadExpr::OverloadExpr().
ParenListExprBitfields clang::Stmt::ParenListExprBits |
Definition at line 1055 of file Stmt.h.
Referenced by clang::ParenListExpr::getNumExprs().
PredefinedExprBitfields clang::Stmt::PredefinedExprBits |
Definition at line 1042 of file Stmt.h.
Referenced by clang::PredefinedExpr::getIdentKind(), clang::PredefinedExpr::getLocation(), clang::PredefinedExpr::isTransparent(), and clang::PredefinedExpr::setLocation().
PseudoObjectExprBitfields clang::Stmt::PseudoObjectExprBits |
Definition at line 1057 of file Stmt.h.
Referenced by clang::PseudoObjectExpr::getResultExpr(), and clang::PseudoObjectExpr::getResultExprIndex().
RequiresExprBitfields clang::Stmt::RequiresExprBits |
Definition at line 1087 of file Stmt.h.
Referenced by clang::RequiresExpr::getBeginLoc(), clang::RequiresExpr::getRequiresKWLoc(), clang::RequiresExpr::isSatisfied(), and clang::RequiresExpr::setSatisfied().
ReturnStmtBitfields clang::Stmt::ReturnStmtBits |
Definition at line 1036 of file Stmt.h.
Referenced by clang::ReturnStmt::getReturnLoc(), and clang::ReturnStmt::setReturnLoc().
SourceLocExprBitfields clang::Stmt::SourceLocExprBits |
Definition at line 1058 of file Stmt.h.
Referenced by clang::SourceLocExpr::getIdentKind(), and clang::SourceLocExpr::SourceLocExpr().
StmtBitfields clang::Stmt::StmtBits |
Definition at line 1023 of file Stmt.h.
Referenced by getStmtClass(), getStmtClassName(), and Stmt().
StmtExprBitfields clang::Stmt::StmtExprBits |
Definition at line 1061 of file Stmt.h.
Referenced by clang::StmtExpr::getTemplateDepth(), and clang::StmtExpr::StmtExpr().
StringLiteralBitfields clang::Stmt::StringLiteralBits |
Definition at line 1045 of file Stmt.h.
Referenced by clang::StringLiteral::getCharByteWidth(), clang::StringLiteral::getKind(), clang::StringLiteral::getNumConcatenated(), and clang::StringLiteral::isPascal().
SubstNonTypeTemplateParmExprBitfields clang::Stmt::SubstNonTypeTemplateParmExprBits |
Definition at line 1085 of file Stmt.h.
Referenced by clang::SubstNonTypeTemplateParmExpr::getNameLoc(), and clang::SubstNonTypeTemplateParmExpr::SubstNonTypeTemplateParmExpr().
SwitchCaseBitfields clang::Stmt::SwitchCaseBits |
Definition at line 1037 of file Stmt.h.
Referenced by clang::CaseStmt::caseStmtIsGNURange(), clang::SwitchCase::getKeywordLoc(), and clang::SwitchCase::setKeywordLoc().
SwitchStmtBitfields clang::Stmt::SwitchStmtBits |
Definition at line 1029 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().
TypeTraitExprBitfields clang::Stmt::TypeTraitExprBits |
Definition at line 1075 of file Stmt.h.
Referenced by clang::TypeTraitExpr::getNumArgs(), clang::TypeTraitExpr::getTrait(), and clang::TypeTraitExpr::getValue().
UnaryExprOrTypeTraitExprBitfields clang::Stmt::UnaryExprOrTypeTraitExprBits |
Definition at line 1048 of file Stmt.h.
Referenced by clang::UnaryExprOrTypeTraitExpr::getKind(), clang::UnaryExprOrTypeTraitExpr::isArgumentType(), clang::UnaryExprOrTypeTraitExpr::setArgument(), clang::UnaryExprOrTypeTraitExpr::setKind(), and clang::UnaryExprOrTypeTraitExpr::UnaryExprOrTypeTraitExpr().
UnaryOperatorBitfields clang::Stmt::UnaryOperatorBits |
Definition at line 1047 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(), and clang::UnaryOperator::UnaryOperator().
UnresolvedLookupExprBitfields clang::Stmt::UnresolvedLookupExprBits |
Definition at line 1082 of file Stmt.h.
Referenced by clang::UnresolvedLookupExpr::isOverloaded(), and clang::UnresolvedLookupExpr::requiresADL().
UnresolvedMemberExprBitfields clang::Stmt::UnresolvedMemberExprBits |
Definition at line 1083 of file Stmt.h.
Referenced by clang::UnresolvedMemberExpr::hasUnresolvedUsing(), and clang::UnresolvedMemberExpr::isArrow().
WhileStmtBitfields clang::Stmt::WhileStmtBits |
Definition at line 1030 of file Stmt.h.
Referenced by clang::WhileStmt::getWhileLoc(), clang::WhileStmt::hasVarStorage(), and clang::WhileStmt::setWhileLoc().