LLVM API Documentation

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

Diagnostic information for optimization failures. More...

#include <DiagnosticInfo.h>

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

List of all members.

Public Member Functions

 DiagnosticInfoOptimizationFailure (const Function &Fn, const DebugLoc &DLoc, const Twine &Msg)
bool isEnabled () const override

Static Public Member Functions

static bool classof (const DiagnosticInfo *DI)

Detailed Description

Diagnostic information for optimization failures.

Definition at line 417 of file DiagnosticInfo.h.


Constructor & Destructor Documentation

Fn is the function where the diagnostic is being emitted. DLoc is the location information to use in the diagnostic. If line table information is available, the diagnostic will include the source code location. Msg is the message to show. Note that this class does not copy this message, so this reference must be valid for the whole life time of the diagnostic.

Definition at line 426 of file DiagnosticInfo.h.


Member Function Documentation

bool DiagnosticInfoOptimizationFailure::isEnabled ( ) const [override, virtual]

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