|
LLVM
3.7.0
|
Diagnostic information for stack size reporting. More...
#include <DiagnosticInfo.h>
Public Member Functions | |
| DiagnosticInfoStackSize (const Function &Fn, unsigned StackSize, DiagnosticSeverity Severity=DS_Warning) | |
The function that is concerned by this stack size diagnostic. More... | |
| const Function & | getFunction () const |
| unsigned | getStackSize () const |
| void | print (DiagnosticPrinter &DP) const override |
Public Member Functions inherited from llvm::DiagnosticInfo | |
| DiagnosticInfo (int Kind, DiagnosticSeverity Severity) | |
| virtual | ~DiagnosticInfo () |
| int | getKind () const |
| DiagnosticSeverity | getSeverity () const |
Static Public Member Functions | |
| static bool | classof (const DiagnosticInfo *DI) |
Diagnostic information for stack size reporting.
This is basically a function and a size.
Definition at line 157 of file DiagnosticInfo.h.
|
inline |
The function that is concerned by this stack size diagnostic.
The computed stack size.
Definition at line 167 of file DiagnosticInfo.h.
|
inlinestatic |
Definition at line 177 of file DiagnosticInfo.h.
References llvm::DK_StackSize, and llvm::DiagnosticInfo::getKind().
Definition at line 171 of file DiagnosticInfo.h.
Referenced by print().
|
inline |
Definition at line 172 of file DiagnosticInfo.h.
Referenced by print().
|
overridevirtual |
Implements llvm::DiagnosticInfo.
Definition at line 113 of file DiagnosticInfo.cpp.
References getFunction(), and getStackSize().
1.8.6