clang 22.0.0git
Stmt.h File Reference
#include "clang/AST/APValue.h"
#include "clang/AST/DeclGroup.h"
#include "clang/AST/DependenceFlags.h"
#include "clang/AST/OperationKinds.h"
#include "clang/AST/StmtIterator.h"
#include "clang/Basic/CapturedStmt.h"
#include "clang/Basic/ExpressionTraits.h"
#include "clang/Basic/IdentifierTable.h"
#include "clang/Basic/LLVM.h"
#include "clang/Basic/Lambda.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/OperatorKinds.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/Specifiers.h"
#include "clang/Basic/TypeTraits.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/BitmaskEnum.h"
#include "llvm/ADT/PointerIntPair.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/iterator.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/ErrorHandling.h"
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <iterator>
#include <optional>
#include <string>
#include "clang/AST/StmtNodes.inc"

Go to the source code of this file.

Classes

class  clang::Stmt
 Stmt - This represents one statement. More...
class  clang::Stmt::StmtBitfields
class  clang::Stmt::NullStmtBitfields
class  clang::Stmt::CompoundStmtBitfields
class  clang::Stmt::LabelStmtBitfields
class  clang::Stmt::AttributedStmtBitfields
class  clang::Stmt::IfStmtBitfields
class  clang::Stmt::SwitchStmtBitfields
class  clang::Stmt::WhileStmtBitfields
class  clang::Stmt::DoStmtBitfields
class  clang::Stmt::ForStmtBitfields
class  clang::Stmt::GotoStmtBitfields
class  clang::Stmt::LoopControlStmtBitfields
class  clang::Stmt::ReturnStmtBitfields
class  clang::Stmt::SwitchCaseBitfields
class  clang::Stmt::ExprBitfields
class  clang::Stmt::ConstantExprBitfields
class  clang::Stmt::PredefinedExprBitfields
class  clang::Stmt::DeclRefExprBitfields
class  clang::Stmt::FloatingLiteralBitfields
class  clang::Stmt::StringLiteralBitfields
class  clang::Stmt::CharacterLiteralBitfields
class  clang::Stmt::UnaryOperatorBitfields
class  clang::Stmt::UnaryExprOrTypeTraitExprBitfields
class  clang::Stmt::ArrayOrMatrixSubscriptExprBitfields
class  clang::Stmt::CallExprBitfields
class  clang::Stmt::MemberExprBitfields
class  clang::Stmt::CastExprBitfields
class  clang::Stmt::BinaryOperatorBitfields
class  clang::Stmt::InitListExprBitfields
class  clang::Stmt::ParenListExprBitfields
class  clang::Stmt::GenericSelectionExprBitfields
class  clang::Stmt::PseudoObjectExprBitfields
class  clang::Stmt::SourceLocExprBitfields
class  clang::Stmt::ParenExprBitfields
class  clang::Stmt::ShuffleVectorExprBitfields
class  clang::Stmt::StmtExprBitfields
class  clang::Stmt::ChooseExprBitfields
class  clang::Stmt::CXXOperatorCallExprBitfields
class  clang::Stmt::CXXRewrittenBinaryOperatorBitfields
class  clang::Stmt::CXXBoolLiteralExprBitfields
class  clang::Stmt::CXXNullPtrLiteralExprBitfields
class  clang::Stmt::CXXThisExprBitfields
class  clang::Stmt::CXXThrowExprBitfields
class  clang::Stmt::CXXDefaultArgExprBitfields
class  clang::Stmt::CXXDefaultInitExprBitfields
class  clang::Stmt::CXXScalarValueInitExprBitfields
class  clang::Stmt::CXXNewExprBitfields
class  clang::Stmt::CXXDeleteExprBitfields
class  clang::Stmt::TypeTraitExprBitfields
class  clang::Stmt::DependentScopeDeclRefExprBitfields
class  clang::Stmt::CXXConstructExprBitfields
class  clang::Stmt::ExprWithCleanupsBitfields
class  clang::Stmt::CXXUnresolvedConstructExprBitfields
class  clang::Stmt::CXXDependentScopeMemberExprBitfields
class  clang::Stmt::OverloadExprBitfields
class  clang::Stmt::UnresolvedLookupExprBitfields
class  clang::Stmt::UnresolvedMemberExprBitfields
class  clang::Stmt::CXXNoexceptExprBitfields
class  clang::Stmt::SubstNonTypeTemplateParmExprBitfields
class  clang::Stmt::LambdaExprBitfields
class  clang::Stmt::RequiresExprBitfields
class  clang::Stmt::ArrayTypeTraitExprBitfields
class  clang::Stmt::ExpressionTraitExprBitfields
class  clang::Stmt::CXXFoldExprBitfields
class  clang::Stmt::PackIndexingExprBitfields
class  clang::Stmt::CoawaitExprBitfields
class  clang::Stmt::ObjCIndirectCopyRestoreExprBitfields
class  clang::Stmt::OpaqueValueExprBitfields
class  clang::Stmt::ConvertVectorExprBitfields
struct  clang::Stmt::EmptyShell
 A placeholder type used to construct an empty shell of a type, that will be filled in later (e.g., by some de-serialization). More...
struct  clang::Stmt::CastIterator< T, TPtr, StmtPtr >
 Iterator for iterating over Stmt * arrays that contain only T *. More...
class  clang::DeclStmt
 DeclStmt - Adaptor class for mixing declarations with statements and expressions. More...
class  clang::NullStmt
 NullStmt - This is the null statement ";": C99 6.8.3p3. More...
class  clang::CompoundStmt
 CompoundStmt - This represents a group of statements like { stmt stmt }. More...
class  clang::SwitchCase
class  clang::CaseStmt
 CaseStmt - Represent a case statement. More...
class  clang::DefaultStmt
class  clang::ValueStmt
 Represents a statement that could possibly have a value and type. More...
class  clang::LabelStmt
 LabelStmt - Represents a label, which has a substatement. More...
class  clang::AttributedStmt
 Represents an attribute applied to a statement. More...
class  clang::IfStmt
 IfStmt - This represents an if/then/else. More...
class  clang::SwitchStmt
 SwitchStmt - This represents a 'switch' stmt. More...
class  clang::WhileStmt
 WhileStmt - This represents a 'while' stmt. More...
class  clang::DoStmt
 DoStmt - This represents a 'do/while' stmt. More...
class  clang::ForStmt
 ForStmt - This represents a 'for (init;cond;inc)' stmt. More...
class  clang::GotoStmt
 GotoStmt - This represents a direct goto. More...
class  clang::IndirectGotoStmt
 IndirectGotoStmt - This represents an indirect goto. More...
class  clang::LoopControlStmt
 Base class for BreakStmt and ContinueStmt. More...
class  clang::ContinueStmt
 ContinueStmt - This represents a continue. More...
class  clang::BreakStmt
 BreakStmt - This represents a break. More...
class  clang::ReturnStmt
 ReturnStmt - This represents a return, optionally of an expression: return; return 4;. More...
class  clang::AsmStmt
 AsmStmt is the base class for GCCAsmStmt and MSAsmStmt. More...
class  clang::GCCAsmStmt
 This represents a GCC inline-assembly statement extension. More...
class  clang::GCCAsmStmt::AsmStringPiece
 AsmStringPiece - this is part of a decomposed asm string specification (for use with the AnalyzeAsmString function below). More...
class  clang::MSAsmStmt
 This represents a Microsoft inline-assembly statement extension. More...
class  clang::SEHExceptStmt
class  clang::SEHFinallyStmt
class  clang::SEHTryStmt
class  clang::SEHLeaveStmt
 Represents a __leave statement. More...
class  clang::CapturedStmt
 This captures a statement into a function. More...
class  clang::CapturedStmt::Capture
 Describes the capture of either a variable, or 'this', or variable-length array type. More...

Namespaces

namespace  llvm
 Diagnostic wrappers for TextAPI types for error reporting.
namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.

Macros

#define STMT(CLASS, PARENT)
#define STMT_RANGE(BASE, FIRST, LAST)
#define LAST_STMT_RANGE(BASE, FIRST, LAST)
#define ABSTRACT_STMT(STMT)
#define NumStmtBits   9

Macro Definition Documentation

◆ ABSTRACT_STMT

#define ABSTRACT_STMT ( STMT)

Definition at line 94 of file Stmt.h.

◆ LAST_STMT_RANGE

#define LAST_STMT_RANGE ( BASE,
FIRST,
LAST )
Value:
first##BASE##Constant=FIRST##Class, last##BASE##Constant=LAST##Class

Definition at line 92 of file Stmt.h.

◆ NumStmtBits

◆ STMT

#define STMT ( CLASS,
PARENT )
Value:
CLASS##Class,

Definition at line 89 of file Stmt.h.

◆ STMT_RANGE

#define STMT_RANGE ( BASE,
FIRST,
LAST )
Value:
first##BASE##Constant=FIRST##Class, last##BASE##Constant=LAST##Class,

Definition at line 90 of file Stmt.h.