class CompoundScopeInfo

Declaration

class CompoundScopeInfo { /* full declaration omitted */ };

Description

Contains information about the compound statement currently being parsed.

Declared at: clang/include/clang/Sema/ScopeInfo.h:67

Member Variables

public bool HasEmptyLoopBodies = false
Whether this compound stamement contains `for' or `while' loops with empty bodies.
public bool IsStmtExpr
Whether this compound statement corresponds to a GNU statement expression.
public clang::FPOptions InitialFPFeatures
FP options at the beginning of the compound statement, prior to any pragma.

Method Overview

Methods

CompoundScopeInfo(bool IsStmtExpr,
                  clang::FPOptions FPO)

Declared at: clang/include/clang/Sema/ScopeInfo.h:81

Parameters

bool IsStmtExpr
clang::FPOptions FPO

void setHasEmptyLoopBodies()

Declared at: clang/include/clang/Sema/ScopeInfo.h:84