LLVM 20.0.0git
Functions
LLVMRemarkStreamer.cpp File Reference
#include "llvm/IR/LLVMRemarkStreamer.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/Remarks/RemarkStreamer.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/ToolOutputFile.h"
#include <optional>

Go to the source code of this file.

Functions

static remarks::Type toRemarkType (enum DiagnosticKind Kind)
 DiagnosticKind -> remarks::Type.
 
static std::optional< remarks::RemarkLocationtoRemarkLocation (const DiagnosticLocation &DL)
 DiagnosticLocation -> remarks::RemarkLocation.
 

Function Documentation

◆ toRemarkLocation()

static std::optional< remarks::RemarkLocation > toRemarkLocation ( const DiagnosticLocation DL)
static

DiagnosticLocation -> remarks::RemarkLocation.

Definition at line 50 of file LLVMRemarkStreamer.cpp.

References DL.

◆ toRemarkType()

static remarks::Type toRemarkType ( enum DiagnosticKind  Kind)
static