LLVM 19.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::remarks::RemarkLocation Struct Reference

The debug location used to track a remark back to the source file. More...

#include "llvm/Remarks/Remark.h"

Public Member Functions

void print (raw_ostream &OS) const
 Implement operator<< on RemarkLocation.
 

Public Attributes

StringRef SourceFilePath
 Absolute path of the source file corresponding to this remark.
 
unsigned SourceLine = 0
 
unsigned SourceColumn = 0
 

Detailed Description

The debug location used to track a remark back to the source file.

Definition at line 31 of file Remark.h.

Member Function Documentation

◆ print()

void RemarkLocation::print ( raw_ostream OS) const

Implement operator<< on RemarkLocation.

Definition at line 39 of file Remark.cpp.

References OS, SourceColumn, SourceFilePath, and SourceLine.

Referenced by llvm::remarks::operator<<().

Member Data Documentation

◆ SourceColumn

unsigned llvm::remarks::RemarkLocation::SourceColumn = 0

Definition at line 35 of file Remark.h.

Referenced by llvm::yaml::MappingTraits< RemarkLocation >::mapping(), and print().

◆ SourceFilePath

StringRef llvm::remarks::RemarkLocation::SourceFilePath

Absolute path of the source file corresponding to this remark.

Definition at line 33 of file Remark.h.

Referenced by llvm::yaml::MappingTraits< RemarkLocation >::mapping(), and print().

◆ SourceLine

unsigned llvm::remarks::RemarkLocation::SourceLine = 0

Definition at line 34 of file Remark.h.

Referenced by llvm::yaml::MappingTraits< RemarkLocation >::mapping(), and print().


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