clang 23.0.0git
clang::sema::FunctionScopeInfo::SwitchInfo Struct Reference

A SwitchStmt, along with a flag indicating if its list of case statements is incomplete (because we dropped an invalid one while parsing), as well as the DeclContext containing the statement. More...

#include "clang/Sema/ScopeInfo.h"

Inheritance diagram for clang::sema::FunctionScopeInfo::SwitchInfo:
[legend]

Public Member Functions

 SwitchInfo (SwitchStmt *Switch, DeclContext *DC)

Public Attributes

DeclContextEnclosingDC

Detailed Description

A SwitchStmt, along with a flag indicating if its list of case statements is incomplete (because we dropped an invalid one while parsing), as well as the DeclContext containing the statement.

Definition at line 206 of file ScopeInfo.h.

Constructor & Destructor Documentation

◆ SwitchInfo()

clang::sema::FunctionScopeInfo::SwitchInfo::SwitchInfo ( SwitchStmt * Switch,
DeclContext * DC )
inline

Definition at line 208 of file ScopeInfo.h.

References EnclosingDC, false, and clang::Switch.

Member Data Documentation

◆ EnclosingDC

DeclContext* clang::sema::FunctionScopeInfo::SwitchInfo::EnclosingDC

Definition at line 207 of file ScopeInfo.h.

Referenced by SwitchInfo().


The documentation for this struct was generated from the following file: