LLVM 20.0.0git
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::DILineInfoSpecifier Struct Reference

Controls which fields of DILineInfo container should be filled with data. More...

#include "llvm/DebugInfo/DIContext.h"

Public Types

enum class  FileLineInfoKind {
  None , RawValue , BaseNameOnly , RelativeFilePath ,
  AbsoluteFilePath
}
 
using FunctionNameKind = DINameKind
 

Public Member Functions

 DILineInfoSpecifier (FileLineInfoKind FLIKind=FileLineInfoKind::RawValue, FunctionNameKind FNKind=FunctionNameKind::None, bool ApproximateLine=false)
 
bool operator== (const DILineInfoSpecifier &RHS) const
 

Public Attributes

FileLineInfoKind FLIKind
 
FunctionNameKind FNKind
 
bool ApproximateLine
 

Detailed Description

Controls which fields of DILineInfo container should be filled with data.

Definition at line 146 of file DIContext.h.

Member Typedef Documentation

◆ FunctionNameKind

Definition at line 157 of file DIContext.h.

Member Enumeration Documentation

◆ FileLineInfoKind

Enumerator
None 
RawValue 
BaseNameOnly 
RelativeFilePath 
AbsoluteFilePath 

Definition at line 147 of file DIContext.h.

Constructor & Destructor Documentation

◆ DILineInfoSpecifier()

llvm::DILineInfoSpecifier::DILineInfoSpecifier ( FileLineInfoKind  FLIKind = FileLineInfoKind::RawValue,
FunctionNameKind  FNKind = FunctionNameKind::None,
bool  ApproximateLine = false 
)
inline

Definition at line 162 of file DIContext.h.

Member Function Documentation

◆ operator==()

bool llvm::DILineInfoSpecifier::operator== ( const DILineInfoSpecifier RHS) const
inline

Definition at line 167 of file DIContext.h.

References FLIKind, FNKind, and RHS.

Member Data Documentation

◆ ApproximateLine

bool llvm::DILineInfoSpecifier::ApproximateLine

Definition at line 160 of file DIContext.h.

◆ FLIKind

FileLineInfoKind llvm::DILineInfoSpecifier::FLIKind

◆ FNKind

FunctionNameKind llvm::DILineInfoSpecifier::FNKind

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