LLVM  12.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::DiagnosticInfoStackSize Class Reference

#include "llvm/IR/DiagnosticInfo.h"

Inheritance diagram for llvm::DiagnosticInfoStackSize:
Inheritance graph
Collaboration diagram for llvm::DiagnosticInfoStackSize:
Collaboration graph

Public Member Functions

 DiagnosticInfoStackSize (const Function &Fn, uint64_t StackSize, DiagnosticSeverity Severity=DS_Warning, uint64_t StackLimit=0)
uint64_t getStackSize () const
uint64_t getStackLimit () const
- Public Member Functions inherited from llvm::DiagnosticInfoResourceLimit
 DiagnosticInfoResourceLimit (const Function &Fn, const char *ResourceName, uint64_t ResourceSize, DiagnosticSeverity Severity=DS_Warning, DiagnosticKind Kind=DK_ResourceLimit, uint64_t ResourceLimit=0)
 The function that is concerned by this stack size diagnostic. More...
const FunctiongetFunction () const
const chargetResourceName () const
uint64_t getResourceSize () const
uint64_t getResourceLimit () const
void print (DiagnosticPrinter &DP) const override
- Public Member Functions inherited from llvm::DiagnosticInfo
 DiagnosticInfo (int Kind, DiagnosticSeverity Severity)
virtual ~DiagnosticInfo ()=default
int getKind () const
DiagnosticSeverity getSeverity () const

Static Public Member Functions

static bool classof (const DiagnosticInfo *DI)
- Static Public Member Functions inherited from llvm::DiagnosticInfoResourceLimit
static bool classof (const DiagnosticInfo *DI)

Detailed Description

Definition at line 215 of file DiagnosticInfo.h.

Constructor & Destructor Documentation

◆ DiagnosticInfoStackSize()

llvm::DiagnosticInfoStackSize::DiagnosticInfoStackSize ( const Function Fn,
uint64_t  StackSize,
DiagnosticSeverity  Severity = DS_Warning,
uint64_t  StackLimit = 0 

Definition at line 218 of file DiagnosticInfo.h.

Member Function Documentation

◆ classof()

static bool llvm::DiagnosticInfoStackSize::classof ( const DiagnosticInfo DI)

Definition at line 227 of file DiagnosticInfo.h.

References llvm::DK_StackSize, and llvm::DiagnosticInfo::getKind().

◆ getStackLimit()

uint64_t llvm::DiagnosticInfoStackSize::getStackLimit ( ) const

Definition at line 225 of file DiagnosticInfo.h.

◆ getStackSize()

uint64_t llvm::DiagnosticInfoStackSize::getStackSize ( ) const

Definition at line 224 of file DiagnosticInfo.h.

The documentation for this class was generated from the following files: