LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::DiagnosticInfoStackSize Class Reference

#include <DiagnosticInfo.h>

Inheritance diagram for llvm::DiagnosticInfoStackSize:
Inheritance graph
[legend]
Collaboration diagram for llvm::DiagnosticInfoStackSize:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DiagnosticInfoStackSize (const Function &Fn, unsigned StackSize, DiagnosticSeverity Severity=DS_Warning)
const FunctiongetFunction () const
unsigned getStackSize () const
void print (DiagnosticPrinter &DP) const override

Static Public Member Functions

static bool classof (const DiagnosticInfo *DI)

Detailed Description

Diagnostic information for stack size reporting. This is basically a function and a size.

Definition at line 150 of file DiagnosticInfo.h.


Constructor & Destructor Documentation

The function that is concerned by this stack size diagnostic. The computed stack size.

Definition at line 160 of file DiagnosticInfo.h.


Member Function Documentation

Definition at line 170 of file DiagnosticInfo.h.

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

Definition at line 164 of file DiagnosticInfo.h.

Referenced by print().

Definition at line 165 of file DiagnosticInfo.h.

Referenced by print().

void DiagnosticInfoStackSize::print ( DiagnosticPrinter DP) const [override, virtual]
See also:
DiagnosticInfo::print.

Implements llvm::DiagnosticInfo.

Definition at line 112 of file DiagnosticInfo.cpp.

References getFunction(), and getStackSize().


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